:root {
  --supplier-ink: #101b2c;
  --supplier-night: #081321;
  --supplier-cream: #fbfaf6;
  --supplier-card: #f2eee7;
  --supplier-brass: #b08a5d;
  --supplier-brass-deep: #8a6940;
  --supplier-muted: #616774;
  --supplier-hairline: rgba(16, 27, 44, 0.08);
}

html {
  background: var(--supplier-cream);
}

body.supplier-portal-page {
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--supplier-cream);
  color: var(--supplier-ink);
}

.supplier-stage {
  min-height: 100svh;
  background: #f7f3ed;
}

.supplier-page {
  display: block;
  min-height: 100svh;
}

.supplier-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: 278px;
  height: 100svh;
  flex-direction: column;
  overflow-y: auto;
  padding: 34px 24px 28px;
  background: var(--supplier-ink);
  color: var(--supplier-cream);
}

.supplier-sidebar-brand,
.supplier-brand {
  display: flex;
  align-items: baseline;
  font-size: 24px;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}

.supplier-sidebar-brand span:first-child,
.supplier-brand span:first-child {
  font-weight: 700;
}

.supplier-sidebar-brand span:last-child,
.supplier-brand span:last-child {
  color: var(--supplier-brass);
  font-weight: 400;
}

.supplier-sidebar-brand span + span,
.supplier-brand span + span {
  margin-left: 0.18em;
}

.supplier-connect-brand {
  align-items: center;
  letter-spacing: 0;
}

.supplier-connect-brand img {
  display: block;
  width: min(100%, 190px);
  height: auto;
  object-fit: contain;
}

/* Scoped to welcome.html only - the sidebar logo is shared with
   supplier-portal.html and supplier-pending.html, which weren't asked
   to change. */
.supplier-welcome-page .supplier-connect-brand img {
  width: min(100%, 150px);
}

.supplier-sidebar-nav {
  display: grid;
  gap: 8px;
  margin-top: 46px;
}

.supplier-sidebar-nav a {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(251, 250, 246, 0.7);
  font-size: 14px;
  font-weight: 800;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.supplier-sidebar-nav a:hover,
.supplier-sidebar-nav a:focus-visible,
.supplier-sidebar-nav a.is-active {
  background: rgba(251, 250, 246, 0.1);
  color: var(--supplier-cream);
}

.supplier-manager {
  margin-top: auto;
  padding: 20px;
  border: 1px solid rgba(176, 138, 93, 0.22);
  border-radius: 14px;
  background: rgba(251, 250, 246, 0.08);
}

.supplier-manager span {
  display: block;
  color: var(--supplier-brass);
  font-family: var(--f-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.supplier-manager strong {
  display: block;
  margin-top: 8px;
  color: var(--supplier-cream);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.12;
}

.supplier-manager a {
  display: flex;
  width: fit-content;
  margin-top: 18px;
  padding: 0;
  border: 0;
  color: rgba(251, 250, 246, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.supplier-manager a + a {
  margin-top: 10px;
}

.supplier-auth-page,
.supplier-welcome-page {
  background:
    radial-gradient(circle at 18% 10%, rgba(176, 138, 93, 0.14), rgba(176, 138, 93, 0) 34%),
    var(--supplier-cream);
}

.supplier-auth-shell,
.supplier-welcome-shell {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
}

.supplier-auth-panel {
  display: grid;
  width: min(100%, 1040px);
  min-height: 620px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  overflow: hidden;
  border: 1px solid rgba(16, 27, 44, 0.08);
  border-radius: 18px;
  background: var(--supplier-cream);
  box-shadow: 0 34px 90px rgba(16, 27, 44, 0.14);
}

.supplier-auth-brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 5vw, 58px);
  background:
    radial-gradient(circle at 78% 20%, rgba(176, 138, 93, 0.28), rgba(176, 138, 93, 0) 32%),
    linear-gradient(135deg, rgba(16, 27, 44, 0.98), rgba(8, 19, 33, 0.98)),
    var(--supplier-ink);
  color: var(--supplier-cream);
}

.supplier-auth-brand-panel .supplier-sidebar-brand {
  color: var(--supplier-cream);
}

.supplier-auth-brand-panel .supplier-sidebar-brand img {
  display: block;
  width: auto;
  height: 24px;
  max-width: 100%;
}

.supplier-auth-kicker {
  color: var(--supplier-brass);
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.supplier-welcome-card h1 {
  margin-top: 12px;
  color: var(--supplier-cream);
  font-size: clamp(36px, 2.4vw + 24px, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.supplier-auth-brand-panel h1 {
  margin-top: 0;
  color: var(--supplier-cream);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}


.supplier-auth-brand-panel p:last-child {
  max-width: 460px;
  margin-top: 22px;
  color: rgba(251, 250, 246, 0.72);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
}

.supplier-auth-card {
  display: grid;
  align-items: center;
  padding: clamp(32px, 5vw, 58px);
  background: var(--supplier-card);
}

.supplier-auth-form {
  display: grid;
  gap: 18px;
}

.supplier-auth-field {
  display: grid;
  gap: 8px;
}

.supplier-auth-field label {
  color: var(--supplier-muted);
  font-size: 13px;
  font-weight: 800;
}

.supplier-auth-field input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(16, 27, 44, 0.1);
  border-radius: 10px;
  background: var(--supplier-cream);
  color: var(--supplier-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.supplier-auth-field input:focus {
  border-color: rgba(176, 138, 93, 0.62);
  box-shadow: 0 0 0 4px rgba(176, 138, 93, 0.12);
}

.supplier-auth-error {
  min-height: 18px;
  color: #9d3b28;
  font-size: 13px;
  font-weight: 800;
}

.supplier-auth-submit,
.supplier-welcome-link {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: var(--supplier-ink);
  color: var(--supplier-cream);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.supplier-auth-submit:hover,
.supplier-auth-submit:focus-visible,
.supplier-welcome-link:hover,
.supplier-welcome-link:focus-visible {
  background: var(--supplier-brass);
  color: var(--supplier-night);
  transform: translateY(-1px);
}

.supplier-auth-note {
  color: var(--supplier-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.supplier-auth-partner {
  display: grid;
  gap: 12px;
  margin-top: 2px;
  padding-top: 20px;
  border-top: 1px solid var(--supplier-hairline);
  text-align: left;
}

.supplier-auth-partner p,
.supplier-auth-partner span {
  margin: 0;
  color: var(--supplier-muted);
  font-weight: 400;
  line-height: 1.5;
}

.supplier-auth-partner p {
  font-size: 13px;
}

.supplier-auth-partner a {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid var(--supplier-hairline);
  border-radius: 10px;
  background: var(--supplier-cream);
  color: var(--supplier-ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.supplier-auth-partner a:hover,
.supplier-auth-partner a:focus-visible {
  border-color: rgba(176, 138, 93, 0.42);
  background: var(--supplier-brass);
  color: var(--supplier-night);
  transform: translateY(-1px);
}

.supplier-auth-partner span {
  font-size: 12px;
}

.supplier-pending-panel {
  min-height: 540px;
}

.supplier-pending-card {
  align-content: center;
  gap: 22px;
}

.supplier-pending-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  padding: 18px;
  border: 1px solid rgba(16, 27, 44, 0.08);
  border-radius: 12px;
  background: var(--supplier-cream);
}

.supplier-pending-details span {
  color: var(--supplier-muted);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.supplier-pending-details strong {
  color: var(--supplier-ink);
  font-size: 14px;
  font-weight: 800;
}

.supplier-pending-note {
  max-width: 420px;
  margin: 0;
  color: var(--supplier-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

body.supplier-welcome-page {
  background:
    radial-gradient(circle at 80% 18%, rgba(176, 138, 93, 0.24), rgba(176, 138, 93, 0) 30%),
    radial-gradient(circle at 14% 86%, rgba(176, 138, 93, 0.1), rgba(176, 138, 93, 0) 30%),
    linear-gradient(135deg, #06101d, var(--supplier-night) 42%, var(--supplier-ink));
  color: var(--supplier-cream);
}

.supplier-welcome-shell {
  padding: clamp(18px, 3vw, 38px);
  opacity: 1;
  transform: none;
}

body.supplier-welcome-page {
  transition: opacity 0.62s ease;
}

body.supplier-welcome-page.supplier-welcome-leaving {
  opacity: 0;
}

.supplier-welcome-page .supplier-sidebar,
.supplier-welcome-page .supplier-menu-toggle {
  display: none;
}

.supplier-welcome-card {
  display: grid;
  width: min(1180px, 100%);
  gap: 16px;
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(251, 250, 246, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 12%, rgba(176, 138, 93, 0.14), rgba(176, 138, 93, 0) 28%),
    linear-gradient(140deg, #111f32, #071221 72%);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
  text-align: left;
  animation: supplierWelcomeIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.supplier-welcome-shell.is-leaving .supplier-welcome-card {
  animation: supplierWelcomeOut 0.62s cubic-bezier(0.7, 0, 0.84, 0) both;
}

.supplier-welcome-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  min-width: 0;
}

.supplier-welcome-monogram {
  width: 42px;
  height: 42px;
  color: var(--supplier-cream);
  opacity: 0;
  transform: translateX(-10px) rotate(-18deg) scale(0.82);
  animation: supplierWelcomeMarkIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.supplier-welcome-monogram svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.supplier-welcome-monogram-c {
  fill: none;
  stroke: currentColor;
  stroke-dasharray: 64;
  stroke-dashoffset: 64;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6.4;
  animation: supplierWelcomeMarkDraw 1.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.supplier-welcome-monogram-block {
  fill: var(--supplier-brass);
  opacity: 0;
  transform: scale(0.2);
  transform-box: fill-box;
  transform-origin: center;
  animation: supplierWelcomeMarkBlock 0.52s cubic-bezier(0.16, 1, 0.3, 1) 1.35s both;
}

.supplier-welcome-card .supplier-sidebar-brand {
  color: var(--supplier-cream);
  font-size: clamp(28px, 3vw, 42px);
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-8px);
  animation: supplierWelcomeWordmarkIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.supplier-welcome-connect-brand img {
  display: block;
  width: clamp(140px, 16vw, 190px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.supplier-welcome-card .supplier-kicker {
  flex-basis: 100%;
  margin: 8px 0 0;
  color: var(--supplier-brass);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.supplier-welcome-card h1 {
  flex-basis: 100%;
  max-width: 920px;
  margin: 2px 0 0;
  font-size: clamp(36px, 2.4vw + 24px, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.supplier-welcome-card h1 span:last-child {
  color: var(--supplier-brass);
}

.supplier-welcome-features {
  grid-column: 1 / -1;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.supplier-welcome-callout {
  display: grid;
  gap: 8px;
  min-height: 116px;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(251, 250, 246, 0.14);
  border-radius: 14px;
  background: #142438;
  text-align: left;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.supplier-welcome-callout:hover {
  border-color: rgba(176, 138, 93, 0.52);
  background: #182b42;
  transform: translateY(-2px);
}

.supplier-welcome-callout span {
  color: var(--supplier-brass);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1;
}

.supplier-welcome-callout h2 {
  margin: 0;
  color: var(--supplier-cream);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.12;
}

.supplier-welcome-callout p {
  margin: 0;
  color: rgba(251, 250, 246, 0.78);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.supplier-welcome-link {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 168px;
  margin-top: 8px;
  padding: 0 24px;
  background: var(--supplier-brass);
  color: var(--supplier-night);
}

.supplier-welcome-link:hover,
.supplier-welcome-link:focus-visible {
  background: var(--supplier-cream);
}

.supplier-welcome-timer {
  grid-column: 1 / -1;
  justify-self: center;
  margin: -4px 0 0;
  color: rgba(251, 250, 246, 0.54);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

@keyframes supplierWelcomeIn {
  from {
    opacity: 0;
    transform: translateY(42px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes supplierWelcomeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(-42px) scale(0.98);
  }
}

@keyframes supplierWelcomeMarkIn {
  to {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
  }
}

@keyframes supplierWelcomeMarkDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes supplierWelcomeMarkBlock {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes supplierWelcomeWordmarkIn {
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
  }
}

.supplier-screen {
  min-width: 0;
  min-height: 100svh;
  margin-left: 278px;
  background: #f7f3ed;
}

.supplier-hero {
  position: relative;
  isolation: isolate;
  min-height: 250px;
  overflow: hidden;
  padding:
    48px
    clamp(28px, 5vw, 68px)
    54px;
  background:
    radial-gradient(circle at 82% 24%, rgba(176, 138, 93, 0.2), rgba(176, 138, 93, 0) 31%),
    linear-gradient(135deg, rgba(16, 27, 44, 0.98), rgba(16, 27, 44, 0.92)),
    var(--supplier-ink);
  color: var(--supplier-cream);
}

.supplier-hero::before {
  content: none;
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: -1;
  height: 68px;
  background: #f7f3ed;
  clip-path: polygon(0 64%, 100% 10%, 100% 100%, 0 100%);
}

.supplier-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  gap: 24px;
  align-items: center;
  margin: 0;
}

.supplier-mobile-nav-row {
  display: none;
}

.supplier-menu-toggle {
  display: none;
}

.supplier-menu-close {
  display: none;
}

.supplier-kicker {
  color: var(--supplier-brass);
  font-family: var(--f-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}

.supplier-hero h1 {
  margin-top: 12px;
  color: var(--supplier-cream);
  font-size: clamp(36px, 2.4vw + 24px, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.supplier-bell {
  position: relative;
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(176, 138, 93, 0.24);
  border-radius: 50%;
  background: rgba(251, 250, 246, 0.12);
  color: var(--supplier-brass);
  cursor: pointer;
}

.supplier-bell svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.supplier-bell-count {
  position: absolute;
  top: -3px;
  right: -3px;
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--supplier-brass);
  color: var(--supplier-night);
  box-shadow: 0 0 0 2px rgba(16, 27, 44, 0.95);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.supplier-bell-count[hidden] {
  display: none;
}

.supplier-notification-wrap {
  position: relative;
  justify-self: end;
}

.supplier-notification-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 35;
  width: min(320px, calc(100vw - 48px));
  padding: 18px;
  border: 1px solid rgba(176, 138, 93, 0.26);
  border-radius: 18px;
  background: rgba(251, 250, 246, 0.98);
  box-shadow: 0 22px 48px rgba(8, 19, 33, 0.2);
  color: var(--supplier-ink);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  visibility: hidden;
}

.supplier-notification-panel:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.supplier-notification-panel strong {
  display: block;
  color: var(--supplier-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.supplier-notification-panel p {
  margin-top: 10px;
  color: var(--supplier-muted);
  font-size: 14px;
  line-height: 1.55;
}

.supplier-notification-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.supplier-notification-item {
  display: grid;
  width: 100%;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--supplier-hairline);
  border-radius: 12px;
  background: var(--supplier-cream);
  color: var(--supplier-ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.supplier-notification-item.is-unseen {
  border-color: var(--supplier-brass);
  background: var(--supplier-card);
}

.supplier-notification-item strong {
  color: var(--supplier-ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  text-transform: none;
}

.supplier-notification-item span,
.supplier-notification-item small {
  color: var(--supplier-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.supplier-notification-item small {
  color: var(--supplier-brass-deep);
}

.supplier-content {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 56px));
  margin: 30px auto 0;
  padding-bottom: 24px;
}

.quick-actions {
  padding: 0;
}

.quick-actions h2,
.activity-heading h2 {
  color: var(--supplier-muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.action-card {
  display: flex;
  min-height: 148px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 18px 18px;
  border: 1px solid rgba(16, 27, 44, 0.04);
  border-radius: 18px;
  background: var(--supplier-card);
  color: var(--supplier-ink);
  box-shadow:
    0 16px 34px rgba(16, 27, 44, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.action-card:hover,
.action-card:focus-visible {
  border-color: rgba(176, 138, 93, 0.36);
  box-shadow:
    0 22px 44px rgba(16, 27, 44, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: translateY(-3px);
}

.action-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: auto;
  fill: none;
  stroke: var(--supplier-brass);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.action-card strong {
  display: block;
  max-width: 170px;
  margin-top: 18px;
  color: var(--supplier-ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.96;
}

.action-card span {
  display: block;
  margin-top: 8px;
  color: var(--supplier-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.18;
}

.supplier-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

body.portal-activity-view .quick-actions,
body.portal-activity-view .portal-summary {
  display: none;
}

body.portal-activity-view .supplier-lower-grid {
  display: block;
  margin-top: 0;
}

body.portal-activity-view .latest-activity {
  min-height: calc(100svh - 246px);
}

body.portal-activity-view .activity-heading {
  align-items: center;
}

body.portal-activity-view .activity-heading a {
  max-width: none;
}

.latest-activity,
.follow-up-queue,
.portal-summary {
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(16, 27, 44, 0.05);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(16, 27, 44, 0.06);
}

.follow-up-queue {
  margin-top: 16px;
}

.supplier-follow-up-page .supplier-hero {
  display: none;
}

.supplier-follow-up-page .supplier-content {
  max-width: 1180px;
  margin-top: 0;
  padding-top: 24px;
}

.supplier-follow-up-page .follow-up-page-panel {
  margin-top: 0;
}

.follow-up-hero-copy {
  max-width: 580px;
  margin-top: 10px;
  color: var(--supplier-card);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.portal-page-strip {
  display: flex;
  min-height: 42px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 16px;
  border: 1px solid rgba(16, 27, 44, 0.05);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 27, 44, 0.045);
}

.portal-page-strip h1 {
  overflow: hidden;
  color: var(--supplier-brass-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-activity-strip {
  display: none;
}

body.portal-activity-view .portal-activity-strip {
  display: flex;
}

@media (min-width: 761px) {
  body.portal-activity-view .supplier-hero {
    display: none;
  }

  body.portal-activity-view .supplier-content {
    max-width: 1180px;
    margin-top: 0;
    padding-top: 24px;
  }
}

.activity-heading p {
  margin-top: 5px;
  color: var(--supplier-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

#followUpCount {
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--supplier-ink);
  color: var(--supplier-cream);
  font-size: 14px;
  font-weight: 900;
}

.follow-up-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.follow-up-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--supplier-hairline);
  border-radius: 16px;
  background: var(--supplier-cream);
}

.follow-up-copy {
  min-width: 0;
}

.follow-up-copy span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(176, 138, 93, 0.16);
  color: var(--supplier-brass-deep);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.follow-up-copy h3 {
  overflow: hidden;
  margin-top: 9px;
  color: var(--supplier-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.follow-up-copy p {
  margin-top: 5px;
  color: var(--supplier-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.follow-up-copy small {
  display: block;
  margin-top: 6px;
  color: rgba(113, 119, 131, 0.82);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.follow-up-timing {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.follow-up-timing small {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-top: 0;
  padding: 0 8px;
  border: 1px solid var(--supplier-hairline);
  border-radius: 999px;
  background: #fff;
  color: var(--supplier-muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.follow-up-copy .follow-up-reminder-meta {
  color: var(--supplier-brass-deep);
}

.follow-up-actions {
  display: grid;
  min-width: 170px;
  justify-items: stretch;
  gap: 8px;
}

.follow-up-primary,
.follow-up-secondary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 14px;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.follow-up-primary {
  border: 1px solid var(--supplier-ink);
  background: var(--supplier-ink);
  color: var(--supplier-cream);
}

.follow-up-secondary {
  border: 1px solid var(--supplier-hairline);
  background: #fff;
  color: var(--supplier-ink);
}

.follow-up-primary:hover,
.follow-up-primary:focus-visible,
.follow-up-secondary:hover,
.follow-up-secondary:focus-visible {
  border-color: var(--supplier-brass);
  background: var(--supplier-brass);
  color: var(--supplier-night);
  outline: none;
}

.follow-up-primary:disabled,
.follow-up-secondary:disabled {
  cursor: progress;
  opacity: 0.68;
}

.follow-up-action-status {
  min-height: 14px;
  color: var(--supplier-brass-deep);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-align: right;
}

.activity-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.activity-heading h2 {
  color: var(--supplier-ink);
  font-family: var(--f-sans);
  font-size: 19px;
  letter-spacing: 0;
  text-transform: none;
}

.activity-heading a {
  max-width: 48px;
  padding: 4px 0;
  color: var(--supplier-brass-deep);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.02;
  text-align: left;
}

.activity-list {
  margin-top: 22px;
}

.activity-tabs {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

body.portal-activity-view .activity-tabs {
  display: flex;
}

.activity-tabs button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--supplier-hairline);
  border-radius: 999px;
  background: var(--supplier-cream);
  color: var(--supplier-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 0 14px;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.activity-tabs button:hover,
.activity-tabs button:focus-visible,
.activity-tabs button.is-active {
  border-color: var(--supplier-brass);
  background: var(--supplier-brass);
  color: var(--supplier-night);
  outline: none;
}

.activity-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(160px, 0.52fr) auto;
  gap: 15px;
  align-items: center;
  min-height: 94px;
  padding: 12px 0;
  cursor: pointer;
}

.activity-item + .activity-item {
  border-top: 1px solid var(--supplier-hairline);
}

.activity-item:hover .activity-copy h3,
.activity-item:focus-visible .activity-copy h3 {
  color: var(--supplier-brass-deep);
}

.activity-item:focus-visible {
  outline: 2px solid rgba(176, 138, 93, 0.42);
  outline-offset: 4px;
}

.activity-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--supplier-card);
  color: var(--supplier-brass);
}

.activity-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.activity-copy {
  min-width: 0;
}

.activity-copy h3 {
  overflow: hidden;
  color: var(--supplier-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-copy p {
  overflow: hidden;
  margin-top: 5px;
  color: var(--supplier-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-copy .activity-status-line {
  color: var(--supplier-brass-deep);
  font-weight: 800;
}

.activity-copy .activity-value-line {
  color: var(--supplier-ink);
  font-size: 15px;
  font-weight: 800;
}

.activity-meta {
  min-width: 0;
  justify-self: stretch;
  text-align: right;
}

.activity-meta p {
  overflow: hidden;
  margin-top: 5px;
  color: var(--supplier-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-meta p:first-child {
  margin-top: 0;
}

.activity-meta .activity-equipment-line {
  color: var(--supplier-muted);
  font-weight: 800;
}

.activity-meta .activity-reference-line {
  color: rgba(113, 119, 131, 0.74);
  font-size: 12px;
}

.activity-action-wrap {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.activity-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--supplier-ink);
  border-radius: 999px;
  background: var(--supplier-ink);
  color: var(--supplier-cream);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.activity-action:hover,
.activity-action:focus-visible {
  border-color: var(--supplier-brass);
  background: var(--supplier-brass);
  color: var(--supplier-night);
  outline: none;
}

.activity-action:disabled {
  cursor: progress;
  opacity: 0.68;
}

.activity-error {
  color: #8c3d32;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.activity-empty {
  color: var(--supplier-muted);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 0;
}

.portal-setting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--supplier-hairline);
  border-radius: 18px;
  background: rgba(251, 250, 246, 0.64);
}

.portal-setting strong {
  display: block;
  color: var(--supplier-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.portal-setting span {
  display: block;
  margin-top: 6px;
  color: var(--supplier-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.portal-switch {
  position: relative;
  display: inline-flex;
  width: 56px;
  height: 32px;
  flex: 0 0 auto;
  align-items: center;
  cursor: pointer;
}

.portal-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.portal-switch span {
  position: absolute;
  inset: 0;
  margin: 0;
  border: 1px solid rgba(16, 27, 44, 0.16);
  border-radius: 999px;
  background: rgba(16, 27, 44, 0.14);
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.portal-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--supplier-cream);
  box-shadow: 0 4px 10px rgba(16, 27, 44, 0.18);
  transition: transform 0.18s ease;
}

.portal-switch input:checked + span {
  border-color: var(--supplier-brass);
  background: var(--supplier-brass);
}

.portal-switch input:checked + span::after {
  transform: translateX(24px);
}

.portal-switch input:focus-visible + span {
  outline: 2px solid rgba(176, 138, 93, 0.45);
  outline-offset: 3px;
}

.portal-switch input:disabled + span {
  cursor: not-allowed;
  opacity: 0.52;
}

.portal-switch em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.summary-grid article {
  display: flex;
  min-width: 0;
  min-height: 68px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--supplier-card);
}

.summary-grid span {
  min-width: 0;
  color: var(--supplier-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.summary-grid strong {
  display: block;
  flex: 0 1 auto;
  width: 100%;
  min-width: 0;
  margin-top: 0;
  color: var(--supplier-ink);
  overflow: hidden;
  font-size: clamp(22px, 1.85vw, 28px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.95;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deal-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 19, 33, 0.56);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
  visibility: hidden;
}

.deal-panel[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

body.deal-panel-open {
  overflow: hidden;
}

.deal-panel-shell {
  height: 100svh;
  overflow: auto;
  padding: 14px clamp(18px, 3vw, 36px) 18px;
  background: var(--supplier-card);
  color: var(--supplier-ink);
}

.deal-panel-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -14px calc(clamp(18px, 3vw, 36px) * -1) 12px;
  padding: 14px clamp(18px, 3vw, 36px) 16px;
  border-bottom: 0;
  background: var(--supplier-ink);
  box-shadow: 0 18px 36px rgba(8, 19, 33, 0.16);
  backdrop-filter: blur(14px);
  color: var(--supplier-cream);
}

.deal-panel-header::after {
  content: "";
  position: absolute;
  right: clamp(18px, 3vw, 36px);
  bottom: 0;
  left: clamp(18px, 3vw, 36px);
  height: 3px;
  border-radius: 999px;
  background: var(--supplier-brass);
}

.deal-panel-header .supplier-kicker {
  color: var(--supplier-brass);
}

.deal-panel-header h2 {
  max-width: 680px;
  margin-top: 4px;
  color: var(--supplier-cream);
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

.deal-panel-header p:last-child {
  margin-top: 5px;
  color: rgba(251, 250, 246, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.deal-panel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.deal-panel-close,
.deal-secondary-action,
.deal-primary-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--supplier-ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 0 16px;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.deal-primary-action {
  background: var(--supplier-ink);
  color: var(--supplier-cream);
}

.deal-secondary-action {
  border-color: var(--supplier-cream);
  background: var(--supplier-cream);
  color: var(--supplier-ink);
}

.deal-primary-action:hover,
.deal-primary-action:focus-visible,
.deal-secondary-action:hover,
.deal-secondary-action:focus-visible {
  border-color: var(--supplier-brass);
  background: var(--supplier-brass);
  color: var(--supplier-night);
  outline: none;
}

.deal-panel-close {
  position: relative;
  width: 42px;
  flex: 0 0 42px;
  padding: 0;
  border-color: rgba(251, 250, 246, 0.42);
  background: rgba(251, 250, 246, 0.08);
  color: var(--supplier-cream);
}

.deal-panel-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.deal-panel-close span:first-child {
  transform: rotate(45deg);
}

.deal-panel-close span:last-child {
  transform: rotate(-45deg);
}

.deal-panel-close:hover,
.deal-panel-close:focus-visible {
  border-color: var(--supplier-brass);
  background: var(--supplier-brass);
  color: var(--supplier-night);
  outline: none;
}

.deal-reference-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  max-width: 720px;
}

.deal-reference-bar article,
.deal-detail-card {
  min-width: 0;
  border: 1px solid var(--supplier-hairline);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 27, 44, 0.05);
}

.deal-reference-bar article {
  position: relative;
  flex: 0 1 270px;
  overflow: hidden;
  padding: 10px 14px 10px 16px;
}

.deal-reference-bar article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--supplier-brass);
}

.deal-reference-bar article:nth-child(2) {
  border-color: var(--supplier-ink);
  background: var(--supplier-ink);
  color: var(--supplier-cream);
}

.deal-reference-bar span,
.deal-definition-row dt,
.deal-card-heading span,
.deal-document-list span,
.deal-timeline span {
  color: var(--supplier-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.deal-reference-bar strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 4px;
  color: var(--supplier-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.18;
}

.deal-reference-bar article:nth-child(2) span {
  color: var(--supplier-brass);
}

.deal-reference-bar article:nth-child(2) strong {
  color: var(--supplier-cream);
}

.deal-status-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(76px, 1fr));
  gap: 0;
  margin-top: 10px;
  overflow-x: auto;
  padding: 10px 10px 9px;
  border: 1px solid var(--supplier-hairline);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 27, 44, 0.05);
}

.deal-status-track li {
  position: relative;
  display: grid;
  gap: 6px;
  justify-items: center;
  min-width: 76px;
  color: var(--supplier-muted);
  text-align: center;
}

.deal-status-track li::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 50%;
  left: -50%;
  height: 2px;
  background: var(--supplier-hairline);
}

.deal-status-track li:first-child::before {
  content: none;
}

.deal-status-track li.is-complete::before,
.deal-status-track li.is-current::before {
  background: var(--supplier-brass);
}

.deal-status-track span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--supplier-hairline);
  border-radius: 999px;
  background: #fff;
  color: var(--supplier-muted);
  font-size: 11px;
  font-weight: 900;
}

.deal-status-track strong {
  max-width: 92px;
  color: currentColor;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
}

.deal-status-track li.is-complete,
.deal-status-track li.is-current {
  color: var(--supplier-ink);
}

.deal-status-track li.is-complete span,
.deal-status-track li.is-current span {
  border-color: var(--supplier-brass);
  background: var(--supplier-brass);
  color: var(--supplier-night);
  box-shadow: 0 0 0 5px var(--supplier-card);
}

.deal-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 12px 14px;
  align-items: start;
  margin-top: 12px;
}

.deal-detail-card {
  padding: 14px;
}

.deal-summary-card {
  border-color: rgba(168, 133, 91, 0.36);
  background: #fff;
  color: var(--supplier-ink);
}

.deal-summary-card,
.deal-customer-card,
.deal-documents-card {
  grid-column: 1;
}

.deal-timeline-card {
  grid-column: 2;
  grid-row: 1 / span 3;
  min-height: min(620px, calc(100svh - 244px));
  padding: 18px;
}

.deal-card-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  list-style: none;
}

.deal-card-heading::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-right: 2px solid var(--supplier-ink);
  border-bottom: 2px solid var(--supplier-ink);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

details.deal-detail-card[open] > .deal-card-heading::after {
  transform: rotate(225deg);
}

details.deal-detail-card:not([open]) > .deal-card-heading {
  margin-bottom: 0;
}

.deal-detail-card summary.deal-card-heading::-webkit-details-marker,
.deal-detail-card summary.deal-card-heading::marker {
  display: none;
}

.deal-card-heading h3,
.deal-document-list h4 {
  color: var(--supplier-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.12;
}

.deal-summary-card .deal-card-heading h3 {
  color: var(--supplier-ink);
}

.deal-summary-card .deal-card-heading span {
  background: var(--supplier-brass);
  color: var(--supplier-night);
}

.deal-card-heading span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-left: auto;
  border-radius: 999px;
  background: var(--supplier-card);
  color: var(--supplier-brass-deep);
  padding: 0 12px;
}

.deal-definition-grid {
  display: grid;
  gap: 8px;
}

.deal-definition-row {
  display: grid;
  grid-template-columns: minmax(104px, 0.46fr) minmax(0, 1fr);
  gap: 14px;
  min-height: 30px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px solid var(--supplier-hairline);
}

.deal-definition-row dd {
  overflow-wrap: anywhere;
  color: var(--supplier-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
}

.deal-summary-card .deal-definition-row {
  border-color: var(--supplier-hairline);
}

.deal-summary-card .deal-definition-row dt {
  color: var(--supplier-muted);
}

.deal-summary-card .deal-definition-row dd {
  color: var(--supplier-ink);
  font-size: 14px;
}

.deal-condition-list ul,
.deal-timeline {
  display: grid;
  gap: 6px;
}

.deal-timeline {
  position: relative;
  gap: 0;
}

.deal-condition-list li,
.deal-timeline li,
.deal-document-list article {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid var(--supplier-hairline);
  border-radius: 12px;
  background: var(--supplier-cream);
}

.deal-timeline li {
  position: relative;
  gap: 4px;
  padding: 0 0 20px 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.deal-timeline li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 2px;
  z-index: 1;
  width: 11px;
  height: 11px;
  border: 2px solid var(--supplier-brass);
  border-radius: 999px;
  background: #fff;
}

.deal-timeline li::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 0;
  left: 7px;
  width: 1px;
  background: var(--supplier-hairline);
}

.deal-timeline li:last-child {
  padding-bottom: 0;
}

.deal-timeline li:last-child::after {
  content: none;
}

.deal-timeline li.is-latest::before {
  background: var(--supplier-brass);
  box-shadow: 0 0 0 5px var(--supplier-card);
}

.deal-condition-list li,
.deal-timeline strong,
.deal-document-list strong {
  color: var(--supplier-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.deal-timeline strong {
  font-size: 15px;
  line-height: 1.25;
}

.deal-timeline span {
  color: var(--supplier-muted);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.deal-muted-copy,
.deal-form-status {
  color: var(--supplier-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.deal-document-list {
  margin-top: 10px;
}

.deal-upload-form,
.deal-note-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.deal-upload-form .supplier-auth-field,
.deal-note-form .supplier-auth-field {
  margin: 0;
}

.deal-upload-dropzone {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px dashed var(--supplier-brass);
  border-radius: 16px;
  background: var(--supplier-cream);
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.deal-upload-dropzone:hover,
.deal-upload-dropzone:focus-within,
.deal-upload-dropzone.is-dragging {
  border-color: var(--supplier-brass-deep);
  background: var(--supplier-card);
  box-shadow: 0 0 0 4px rgba(176, 138, 93, 0.14);
}

.deal-upload-dropzone strong {
  color: var(--supplier-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.deal-upload-dropzone small {
  color: var(--supplier-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.deal-upload-form input,
.deal-note-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(16, 27, 44, 0.12);
  border-radius: 14px;
  background: var(--supplier-cream);
  color: var(--supplier-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  padding: 11px 12px;
}

.deal-upload-dropzone input {
  margin-top: 4px;
}

.deal-note-form textarea {
  min-height: 74px;
  resize: vertical;
}

.deal-upload-form input:focus,
.deal-note-form textarea:focus {
  border-color: var(--supplier-brass);
  box-shadow: 0 0 0 4px rgba(176, 138, 93, 0.14);
}

@media (min-width: 761px) {
  .supplier-hero {
    min-height: 188px;
    padding-top: 30px;
    padding-bottom: 32px;
  }

  .supplier-hero h1 {
    font-size: clamp(34px, 3vw, 42px);
    line-height: 1.1;
  }

  .supplier-bell {
    width: 54px;
    height: 54px;
  }

  .supplier-content {
    margin-top: 18px;
    padding-bottom: 16px;
  }

  .quick-actions h2,
  .activity-heading h2 {
    font-size: 13px;
  }

  .action-grid {
    gap: 9px;
    margin-top: 8px;
  }

  .action-card {
    min-height: 86px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .action-card svg {
    width: 20px;
    height: 20px;
  }

  .action-card strong {
    max-width: none;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1;
  }

  .action-card span {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.08;
  }

  .supplier-lower-grid {
    gap: 14px;
    margin-top: 14px;
  }

  .latest-activity,
  .follow-up-queue,
  .portal-summary {
    padding: 18px;
    border-radius: 20px;
  }

  .follow-up-queue {
    margin-top: 14px;
  }

  .follow-up-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .follow-up-item {
    padding: 12px;
  }

  .follow-up-copy h3 {
    font-size: 16px;
  }

  .activity-heading h2 {
    font-size: 17px;
  }

  .activity-heading a {
    font-size: 14px;
  }

  .activity-list {
    margin-top: 14px;
  }

  .activity-item {
    grid-template-columns: 36px minmax(0, 1fr) minmax(132px, 0.48fr) auto;
    min-height: 92px;
  }

  .activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .activity-icon svg {
    width: 18px;
    height: 18px;
  }

  .activity-copy h3 {
    font-size: 16px;
  }

  .activity-copy p {
    font-size: 13px;
  }

  .activity-meta p {
    font-size: 12px;
  }

  .activity-meta .activity-reference-line {
    font-size: 11px;
  }

  .summary-grid {
    gap: 8px;
    margin-top: 12px;
  }

  .summary-grid article {
    min-height: 62px;
    padding: 10px 12px;
  }

  .summary-grid span {
    font-size: 10px;
  }

  .summary-grid strong {
    font-size: 22px;
  }
}

@media (max-width: 1080px) {

  .supplier-auth-panel {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .supplier-auth-brand-panel {
    min-height: 340px;
  }

  .supplier-page {
    display: block;
  }

  .supplier-sidebar {
    width: 236px;
    padding: 28px 20px 24px;
  }

  .supplier-screen {
    margin-left: 236px;
  }

  .supplier-manager {
    display: none;
  }

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

  .supplier-lower-grid {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .deal-reference-bar {
    max-width: 100%;
  }

  .deal-detail-grid {
    grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {

  .supplier-auth-shell,
  .supplier-welcome-shell {
    align-items: start;
    min-height: 100dvh;
    padding: 12px;
  }

  .supplier-auth-page.supplier-auth-keyboard-open {
    overflow-y: auto;
  }

  .supplier-auth-page.supplier-auth-keyboard-open .supplier-auth-shell {
    min-height: 100dvh;
    place-items: start center;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .supplier-welcome-shell {
    padding: 14px;
  }

  .supplier-auth-panel {
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(16, 27, 44, 0.12);
  }

  .supplier-auth-brand-panel,
  .supplier-auth-card {
    padding: 22px;
  }

  .supplier-auth-card,
  .supplier-auth-field input {
    scroll-margin-top: 24px;
    scroll-margin-bottom: 24px;
  }

  .supplier-auth-brand-panel {
    min-height: 0;
    gap: 28px;
  }

  .supplier-welcome-card h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  .supplier-welcome-connect-brand img {
    width: min(150px, 46vw);
  }

  .supplier-auth-brand-panel h1 {
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.12;
  }

  .supplier-auth-kicker {
    display: none;
  }

  .supplier-welcome-card {
    gap: 8px;
    grid-template-columns: 1fr;
    padding: 16px 14px;
    border-radius: 18px;
    text-align: center;
  }

  .supplier-welcome-intro {
    justify-content: center;
    gap: 9px;
  }

  .supplier-welcome-card .supplier-sidebar-brand {
    font-size: 22px;
  }

  .supplier-welcome-connect-brand img {
    width: min(170px, 50vw);
  }

  .supplier-welcome-card .supplier-kicker {
    display: none;
  }

  .supplier-welcome-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
  }

  .supplier-welcome-callout {
    min-height: auto;
    gap: 5px;
    padding: 9px;
  }

  .supplier-welcome-callout h2 {
    font-size: 12px;
    line-height: 1.14;
  }

  .supplier-welcome-callout p {
    font-size: 10px;
    line-height: 1.28;
  }

  .supplier-welcome-timer {
    display: none;
  }

  .supplier-auth-brand-panel p:last-child {
    max-width: 100%;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.48;
  }

  .supplier-auth-card {
    align-items: start;
  }

  .supplier-auth-form {
    gap: 12px;
  }

  .supplier-auth-field {
    gap: 6px;
  }

  .supplier-auth-field label,
  .supplier-auth-note,
  .supplier-auth-partner p,
  .supplier-auth-partner span {
    font-size: 12px;
  }

  .supplier-auth-error {
    min-height: 14px;
    font-size: 12px;
  }

  .supplier-auth-field input,
  .supplier-auth-submit,
  .supplier-welcome-link {
    min-height: 50px;
  }

  .supplier-auth-field input {
    border-radius: 8px;
    font-size: 16px;
  }

  .supplier-auth-submit,
  .supplier-auth-partner a {
    border-radius: 8px;
    font-size: 14px;
  }

  .supplier-page {
    display: block;
    min-height: 100svh;
  }

  .supplier-screen {
    margin-left: 0;
  }

  .supplier-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(8, 19, 33, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  body.supplier-menu-open {
    overflow: hidden;
  }

  body.supplier-menu-open .supplier-page::before {
    opacity: 1;
    pointer-events: auto;
  }

  .supplier-sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 70;
    display: flex;
    width: min(82vw, 320px);
    height: 100svh;
    padding: 88px 24px calc(28px + env(safe-area-inset-bottom, 0px));
    background: rgba(16, 27, 44, 0.985);
    opacity: 0;
    pointer-events: none;
    transform: translateX(102%);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
    visibility: hidden;
  }

  body.supplier-menu-open .supplier-sidebar {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) !important;
    visibility: visible;
  }

  .supplier-sidebar-brand {
    font-size: 25px;
  }

  .supplier-menu-close {
    position: absolute;
    top: 28px;
    right: 24px;
    z-index: 64;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(251, 250, 246, 0.28);
    border-radius: 50%;
    background: rgba(251, 250, 246, 0.1);
    color: var(--supplier-cream);
    cursor: pointer;
  }

  .supplier-menu-close span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .supplier-menu-close span:first-child {
    transform: rotate(45deg);
  }

  .supplier-menu-close span:last-child {
    transform: rotate(-45deg);
  }

  .supplier-menu-close:hover,
  .supplier-menu-close:focus-visible {
    background: var(--supplier-cream);
    color: var(--supplier-ink);
    outline: none;
  }

  .supplier-sidebar-nav {
    gap: 4px;
    margin-top: 34px;
  }

  .supplier-sidebar-nav a {
    min-height: 52px;
    border-bottom: 1px solid rgba(251, 250, 246, 0.12);
    border-radius: 0;
    font-size: 20px;
  }

  .supplier-sidebar-nav a:hover,
  .supplier-sidebar-nav a:focus-visible,
  .supplier-sidebar-nav a.is-active {
    background: transparent;
    color: var(--supplier-cream);
  }

  .supplier-manager {
    display: block;
  }

  .supplier-screen {
    min-height: 100svh;
    padding-top: 0;
    background: var(--supplier-cream);
  }

  .supplier-hero {
    min-height: 278px;
    padding: 15px 28px 74px;
    background: var(--supplier-ink);
  }

  body.portal-activity-view .supplier-hero {
    min-height: auto;
    padding: 15px 28px;
  }

  body.portal-activity-view .supplier-hero-row,
  body.portal-activity-view .supplier-hero::before {
    display: none;
  }

  .supplier-follow-up-page .supplier-hero {
    display: block;
    min-height: auto;
    padding: 15px 28px;
  }

  .supplier-hero::before {
    content: "";
    height: 44px;
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
  }

  .supplier-follow-up-page .supplier-hero::before {
    content: none;
    display: none;
  }

  .supplier-mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 0;
  }

  .supplier-brand {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    font-size: 20px;
  }

  .supplier-menu-toggle {
    position: relative;
    z-index: 60;
    display: inline-flex;
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(251, 250, 246, 0.28);
    border-radius: 50%;
    background: rgba(251, 250, 246, 0.1);
    color: var(--supplier-cream);
    cursor: pointer;
  }

  .supplier-menu-toggle span {
    position: absolute;
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }

  .supplier-menu-toggle span:nth-child(1) {
    transform: translateY(-6px);
  }

  .supplier-menu-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  body.supplier-menu-open .supplier-menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  body.supplier-menu-open .supplier-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.supplier-menu-open .supplier-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .supplier-welcome-page .supplier-welcome-shell {
    position: relative;
  }

  .supplier-welcome-page .supplier-welcome-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(8, 19, 33, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  body.supplier-menu-open.supplier-welcome-page {
    overflow: hidden;
  }

  body.supplier-menu-open.supplier-welcome-page .supplier-welcome-shell::before {
    opacity: 1;
    pointer-events: auto;
  }

  .supplier-welcome-page .supplier-sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 70;
    display: flex;
    width: min(82vw, 320px);
    height: 100svh;
    padding: 88px 24px calc(28px + env(safe-area-inset-bottom, 0px));
    background: rgba(16, 27, 44, 0.985);
    opacity: 0;
    pointer-events: none;
    transform: translateX(102%);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
    visibility: hidden;
  }

  body.supplier-menu-open.supplier-welcome-page .supplier-sidebar {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) !important;
    visibility: visible;
  }

  .supplier-welcome-page .supplier-menu-toggle {
    position: fixed;
    top: calc(22px + env(safe-area-inset-top, 0px));
    right: 22px;
    z-index: 60;
    display: inline-flex;
  }

  .supplier-hero-row {
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 18px;
    margin-top: 32px;
  }

  .supplier-hero-row .supplier-kicker {
    display: none;
  }

  .supplier-hero h1 {
    margin-top: 9px;
    font-size: 32px;
    line-height: 1.1;
  }

  .supplier-bell {
    width: 52px;
    height: 52px;
  }

  .supplier-bell svg {
    width: 23px;
    height: 23px;
  }

  .supplier-bell-count {
    top: -3px;
    right: -3px;
  }

  /* On mobile the bell sits mid-hero, next to the first line of a
     two-line greeting. Anchoring the panel to that small wrapper (as on
     desktop) drops it right over the second line of the greeting and
     down into the Quick Actions cards below. Pin it to the viewport
     instead so it sits as a clean sheet under the header, independent of
     where the bell happens to fall. */
  .supplier-notification-panel {
    position: fixed;
    top: calc(84px + env(safe-area-inset-top, 0px));
    right: 16px;
    left: 16px;
    z-index: 55;
    width: auto;
    max-width: none;
    max-height: calc(100svh - 120px);
    overflow-y: auto;
    /* Fully opaque on mobile: the panel now sits over the dark hero
       (see setNotificationsOpen in the JS, which hoists it to <body>),
       and the desktop dropdown's subtle 0.98 translucency leaves a faint
       ghost of the white hero text showing through otherwise. */
    background: rgb(251, 250, 246);
  }

  .supplier-content {
    width: 100%;
    margin-top: -5px;
    padding: 31px 24px 0;
  }

  body.portal-activity-view .supplier-content {
    margin-top: 0;
    padding-top: 18px;
  }

  .supplier-follow-up-page .supplier-content {
    margin-top: 0;
    padding-top: 18px;
  }

  .portal-page-strip {
    min-height: 40px;
    margin-bottom: 14px;
    padding: 0 14px;
    border-radius: 13px;
  }

  .portal-page-strip h1 {
    font-size: 12px;
  }

  .quick-actions h2 {
    color: var(--supplier-muted);
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
  }

  .action-card {
    height: 118px;
    min-height: 118px;
    padding: 14px 14px 12px;
    border-radius: 17px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
    transform: none;
  }

  .action-card:hover,
  .action-card:focus-visible {
    transform: none;
  }

  .action-card svg {
    width: 22px;
    height: 22px;
  }

  .action-card strong {
    max-width: 118px;
    margin-top: 9px;
    font-size: 16px;
    line-height: 0.96;
  }

  .action-card span {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.08;
  }

  .supplier-lower-grid {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
  }

  .follow-up-queue {
    margin-top: 16px;
    padding: 18px;
    border-radius: 20px;
  }

  .follow-up-list {
    gap: 10px;
    margin-top: 14px;
  }

  .follow-up-item {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
    padding: 14px;
  }

  .follow-up-copy h3 {
    white-space: normal;
  }

  .follow-up-actions {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .follow-up-action-status {
    text-align: left;
  }

  .portal-summary {
    order: 1;
    padding: 16px;
    border-radius: 18px;
  }

  .portal-summary .activity-heading a {
    display: none;
  }

  .portal-summary .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .portal-setting {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
    padding: 14px;
  }

  .portal-summary .summary-grid article {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-height: 68px;
    padding: 12px;
  }

  .portal-summary .summary-grid span {
    font-size: 9.5px;
  }

  .portal-summary .summary-grid strong {
    font-size: 21px;
  }

  .latest-activity {
    order: 2;
    margin: 20px -24px 0;
    padding: 22px 24px calc(28px + env(safe-area-inset-bottom, 0px));
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -10px 28px rgba(16, 27, 44, 0.05);
  }

  .activity-heading h2 {
    font-size: 17px;
  }

  .activity-heading a {
    max-width: 42px;
  }

  .activity-item {
    grid-template-columns: 41px minmax(0, 1fr);
    gap: 10px 14px;
    min-height: 104px;
  }

  .activity-icon {
    width: 41px;
    height: 41px;
    border-radius: 11px;
  }

  .activity-copy h3 {
    font-size: 17px;
    white-space: normal;
  }

  .activity-copy p {
    white-space: normal;
  }

  .activity-meta {
    grid-column: 2;
    justify-self: stretch;
    max-width: 100%;
    text-align: left;
  }

  .activity-meta p {
    margin-top: 4px;
    white-space: normal;
  }

  .activity-tabs {
    gap: 7px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .activity-tabs button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 13px;
  }

  .activity-action {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .activity-action-wrap {
    grid-column: 2;
    justify-items: start;
    margin-top: -2px;
  }

  .deal-panel-shell {
    padding: 14px 16px 28px;
  }

  .deal-panel-header {
    display: grid;
    gap: 14px;
    margin: -14px -16px 14px;
    padding: 18px 16px 20px;
  }

  .deal-panel-header h2 {
    font-size: 25px;
    line-height: 1.04;
  }

  .deal-panel-actions {
    justify-content: space-between;
  }

  .deal-secondary-action {
    flex: 1 1 auto;
    padding: 0 14px;
  }

  .deal-reference-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .deal-detail-grid {
    grid-template-columns: 1fr;
  }

  .deal-summary-card,
  .deal-customer-card,
  .deal-documents-card,
  .deal-timeline-card {
    grid-column: auto;
    grid-row: auto;
  }

  .deal-timeline-card {
    order: 1;
  }

  .deal-summary-card {
    order: 2;
  }

  .deal-customer-card {
    order: 3;
  }

  .deal-documents-card {
    order: 4;
  }

  .deal-timeline-card {
    min-height: auto;
  }

  .deal-reference-bar {
    gap: 10px;
  }

  .deal-reference-bar article,
  .deal-detail-card {
    border-radius: 14px;
  }

  .deal-status-track {
    grid-template-columns: repeat(8, minmax(78px, 1fr));
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .deal-status-track li {
    min-width: 78px;
  }

  .deal-detail-card {
    padding: 14px;
  }

  .deal-definition-row {
    grid-template-columns: 1fr;
    gap: 2px;
    align-items: start;
  }

  .deal-definition-row dt {
    min-height: auto;
  }

  .deal-definition-row dd {
    min-height: auto;
    text-align: left;
  }

  .deal-status-track {
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  }
}

@media (max-width: 380px) {
  .supplier-auth-brand-panel,
  .supplier-auth-card {
    padding: 24px;
  }

  .supplier-hero {
    padding-right: 22px;
    padding-left: 22px;
  }

  .supplier-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .latest-activity {
    margin-right: -18px;
    margin-left: -18px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .action-grid {
    gap: 11px;
  }

  .action-card {
    height: 112px;
    min-height: 112px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .action-card strong {
    font-size: 15px;
  }

  .action-card span {
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .supplier-welcome-page,
  .supplier-welcome-shell,
  .supplier-welcome-card,
  .supplier-welcome-card .supplier-sidebar-brand,
  .supplier-welcome-monogram,
  .supplier-welcome-monogram-c,
  .supplier-welcome-monogram-block,
  .supplier-welcome-callout {
    animation: none;
    transition: none;
  }

  .supplier-welcome-shell,
  .supplier-welcome-card,
  .supplier-welcome-card .supplier-sidebar-brand,
  .supplier-welcome-monogram,
  .supplier-welcome-monogram-block,
  .supplier-welcome-callout {
    opacity: 1;
    clip-path: none;
    transform: none;
  }

  .supplier-welcome-monogram-c {
    stroke-dashoffset: 0;
  }
}
