/* Kaneka Brand Holder Portal (kaneka-brand-portal) — KANEKSOW36-32,
 * reworked by KANEKSOW36-37: the sign-in screens become a full-bleed 50/50
 * split (photo + navy gradient panel left, cream page gradient right) with
 * no portal bar, no site footer, a card head in the form card and a dashed
 * corner connector.
 * Hi-fi restyle per Ana's UI spec (Kaneke Ubiquinol Figma, 15 Oct 2026):
 * the teal wireframe pass becomes the Kaneka Ubiquinol blue system —
 * gradients from the new kaneka-ubiquinol theme, 2px-radius controls,
 * Lato UI type with Merriweather reserved for the sign-in panel heading.
 *
 * Values tagged in the spec: "site" = kaneka-ubiquinol WordPress theme,
 * "figma" = measured from the Figma frames, "portal" = portal-only calls.
 *
 *.Layer ladder: section 2 token keys live in the tenant theme JSON (applied
 * outside this repo); this file references them via var(--tenant-*) with
 * the spec values as fallbacks, so the stylesheet is correct before and
 * after the theme update.
 *
 * Hooks: app/[tenant]/portal/_views + _components (.st-portal-*), and
 * .st-portal-login-panel / .st-portal-login-form / .st-portal-login-card-head
 * / .st-portal-user-* from the KANEKSOW36-32/-37 markup work.
 */

[data-tenant="kaneka-brand-portal"] {
  --kbp-action: var(--tenant-red, #013ca6);
  --kbp-action-dark: var(--tenant-brand-dark, #012464);
  --kbp-focus: #007a86;

  /* Page: tan-to-white vertical gradient (site "Tan to White"). */
  --kbp-page: linear-gradient(180deg, #f1f1e9 0%, #fff 100%);
  /* Portal bar / dark panel: "Blue Dark" vertical gradient. */
  --kbp-bar: linear-gradient(180deg, #013085 0%, #012464 100%);
  /* Library thumbnail panel: "Blue to Teal", run horizontally so it reads
     #2658B1 at the left edge and #66C2CB at the right (figma). */
  --kbp-panel: linear-gradient(90deg, rgb(1 60 166 / 0.85) 0%, rgb(46 119 182 / 0.88) 40%, #51a6c3 75%, #66c2cb 100%);

  --kbp-ink: var(--tenant-ink, #202126);
  --kbp-slate: var(--tenant-slate, #686867);
  --kbp-muted: #474747; /* body copy on white (figma) */
  --kbp-faint: #949490; /* placeholders, disabled text */
  --kbp-tint: var(--tenant-tint, #dbe4f2);
  --kbp-line: var(--tenant-line, #d9d9d2);
  --kbp-bar-line: #99b1db; /* hairlines on the blue gradient */
  --kbp-field-line: #c2c2bb;
  --kbp-alert: #c23624;
  --kbp-alert-light: #ffefed;
  --kbp-chip: #f0f4ff;
  --kbp-ok: #49c67c;
  --kbp-ok-strong: #1cb85b;
  --kbp-warn-line: #f56957;
  /* Primary-button gradient, also the initials avatar fill. */
  --kbp-btn-grad: linear-gradient(90deg, #013ca6 0%, #3463b8 100%);

  display: flex;
  flex-direction: column;
  color: var(--kbp-ink);
}
/* Page background: the gradient laid over the mist token, no repeat. The
   wrapper paints --tenant-surface inline, so this goes on <main>, stretched
   so short pages don't show a white band. */
[data-tenant="kaneka-brand-portal"] > main {
  flex: 1 0 auto;
  background: var(--kbp-page) no-repeat;
  background-color: var(--tenant-mist);
}

/* ---------- Type: Lato everywhere, navy -> ink ---------- */
/* The site reserves Merriweather for h1/h2-level headings; the only one in
   the portal is the sign-in panel heading, so in-app titles stay Lato and
   read as ink, not brand navy (spec section 3). */
[data-tenant="kaneka-brand-portal"] .st-portal :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--tenant-font-body, Lato, sans-serif);
  letter-spacing: normal;
  color: var(--kbp-ink);
}
/* Sign-in panel heading: the one h1-level Merriweather element in the
   portal — 700 42px/52px, white on the gradient. */
[data-tenant="kaneka-brand-portal"] .st-portal-login-panel h1 {
  font-family: var(--tenant-font-heading, "Merriweather", Georgia, serif);
  font-size: 42px;
  line-height: 52px;
  font-weight: 700;
  color: #fff;
}
/* Page titles: library 36px, the other views 28px. */
[data-tenant="kaneka-brand-portal"] .st-portal h1 {
  font-size: 28px;
  line-height: 1.25;
}
[data-tenant="kaneka-brand-portal"] .st-portal-body > h1:first-child {
  font-size: 36px;
  line-height: 1.2;
}

/* ---------- Frame: the portal bar replaces the site header ---------- */
[data-tenant="kaneka-brand-portal"] :is(.st-header-desktop, .st-header-mobile) {
  display: none;
}
/* Bar: 80px tall, "Blue Dark" gradient, hairline top and bottom, sticky. */
[data-tenant="kaneka-brand-portal"] .st-portal-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-top: 1px solid var(--kbp-bar-line);
  border-bottom: 1px solid var(--kbp-bar-line);
  background: var(--kbp-bar);
}
[data-tenant="kaneka-brand-portal"] .st-portal-bar-inner {
  min-height: 80px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-bar,
[data-tenant="kaneka-brand-portal"] .st-portal-bar .st-portal-title {
  color: #fff;
}
[data-tenant="kaneka-brand-portal"] .st-portal-title {
  font-size: 24px;
  letter-spacing: normal;
}
/* Nav links: white 17px, 4px radius, transparent border so the active fill
   doesn't shift; hover fill is a portal-only call (spec). */
[data-tenant="kaneka-brand-portal"] .st-portal-nav-link {
  border-radius: 4px;
  border: 1px solid transparent;
  color: #fff;
  font-weight: 400;
  opacity: 1;
  padding: 8px 12px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-nav-link:hover {
  background: rgb(255 255 255 / 0.12);
}
/* Active: the site's on-dark button pattern — white fill, action-blue text,
   Lato 700 (decision, 15 Oct; overrides the Figma outlined pill). */
[data-tenant="kaneka-brand-portal"] .st-portal-nav-link[aria-current="page"] {
  background: #fff;
  color: var(--kbp-action);
  font-weight: 700;
  text-decoration: none;
}
/* User menu trigger: outlined box, initials avatar + name + brand
   (KANEKSOW36-32 markup). Chevron white, at the right. */
[data-tenant="kaneka-brand-portal"] .st-portal-user > summary {
  border: 1px solid var(--kbp-bar-line);
  border-radius: 4px;
  min-height: 64px;
  padding: 12px 16px;
  color: #fff;
  font-weight: 400;
}
[data-tenant="kaneka-brand-portal"] .st-portal-user > summary:hover,
[data-tenant="kaneka-brand-portal"] .st-portal-user[open] > summary {
  background: rgb(255 255 255 / 0.12);
}
[data-tenant="kaneka-brand-portal"] .st-portal-user-avatar {
  display: flex;
  width: 36px;
  height: 36px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--kbp-btn-grad);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-user-name {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}
[data-tenant="kaneka-brand-portal"] .st-portal-user-brand {
  color: #fff;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.2;
}
/* User menu: white card, soft navy shadow. */
[data-tenant="kaneka-brand-portal"] .st-portal-menu {
  border: 1px solid var(--kbp-line);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgb(1 36 100 / 0.18);
}
[data-tenant="kaneka-brand-portal"] .st-portal-menu-item:hover,
[data-tenant="kaneka-brand-portal"] .st-portal-menu-item:focus-visible {
  background: var(--kbp-tint);
}

/* ---------- Controls (section 3) ---------- */
/* Primary button: "Blue to Blue Light" gradient, 2px radius, 52px tall,
   Lato 700 18px; hover flat brandDark. */
[data-tenant="kaneka-brand-portal"] .st-portal-btn {
  background: var(--kbp-btn-grad);
  color: #fff;
  font-family: var(--tenant-font-body, Lato, sans-serif);
  font-weight: 700;
  font-size: 18px;
  border-radius: 2px;
  min-height: 52px;
  padding: 12px 24px;
  transition: background-color 300ms ease;
}
[data-tenant="kaneka-brand-portal"] .st-portal-btn:hover:not(:disabled) {
  background: var(--kbp-action-dark);
}
[data-tenant="kaneka-brand-portal"] .st-portal-btn:disabled {
  background: var(--kbp-line);
  color: var(--kbp-faint);
}
/* Secondary button: outlined, 1px action blue; hover fills the tint. */
[data-tenant="kaneka-brand-portal"] .st-portal-btn-secondary {
  background: transparent;
  color: var(--kbp-action);
  border: 1px solid var(--kbp-action);
  font-weight: 700;
  font-size: 18px;
  border-radius: 2px;
  min-height: 52px;
  padding: 12px 24px;
  transition: background-color 300ms ease, border-color 300ms ease;
}
[data-tenant="kaneka-brand-portal"] .st-portal-btn-secondary:hover {
  background: var(--kbp-tint);
  border-color: #013085;
  color: #013085;
}
/* Inputs: 46px, 2px radius, 1px #C2C2BB, 17px text, gray placeholder. */
[data-tenant="kaneka-brand-portal"] .st-portal :is(.st-portal-input, select, input[type="text"], input[type="email"], input[type="password"]) {
  min-height: 46px;
  border: 1px solid var(--kbp-field-line);
  border-radius: 2px;
  background: #fff;
  padding: 12px 16px;
  font-size: 17px;
  color: var(--kbp-ink);
}
[data-tenant="kaneka-brand-portal"] .st-portal :is(.st-portal-input, select, input[type="text"], input[type="email"], input[type="password"])::placeholder {
  color: var(--kbp-faint);
}
/* Labels: regular weight in the Figma, 17px, ink, 8px above the field. */
[data-tenant="kaneka-brand-portal"] .st-portal-label,
[data-tenant="kaneka-brand-portal"] .st-portal-filters label {
  color: var(--kbp-ink);
  font-weight: 400;
  font-size: 17px;
}
/* One focus rule for both inputs and actions (spec): teal outline, 2px,
   offset 2 — no companion border-color change. */
[data-tenant="kaneka-brand-portal"] .st-portal :is(.st-portal-input, select, input, button, a):focus-visible {
  outline: 2px solid var(--kbp-focus);
  outline-offset: 2px;
}
/* Text links: action blue, underlined, 2px offset; hover darker blue.
   The portal title is a link but lives on the navy bar — excluded so its
   white bar color wins (KANEKSOW36-34). Tab links are excluded too: this
   rule's specificity beats the tab rules and painted the active tab's
   label blue on its blue fill (KANEKSOW36-36). */
[data-tenant="kaneka-brand-portal"] .st-portal :is(a, .st-portal-link):not(.st-portal-btn):not(.st-portal-btn-secondary):not(.st-portal-nav-link):not(.st-portal-menu-item):not(.st-portal-card):not(.st-portal-title):not(.st-portal-tabs a) {
  color: var(--kbp-action);
}
[data-tenant="kaneka-brand-portal"] .st-portal-body a:not([class*="st-portal-btn"]):not(.st-portal-nav-link):not(.st-portal-tabs a):hover {
  color: #013085;
  text-underline-offset: 2px;
}
/* Tab links carry .st-portal-link but must stay plain (KANEKSOW36-36):
   the underline/hover rules below would otherwise re-underline the
   inactive tab and repaint its label blue on hover. */
[data-tenant="kaneka-brand-portal"] .st-portal .st-portal-link:not(.st-portal-btn):not(.st-portal-btn-secondary):not(.st-portal-tabs a) {
  text-decoration: underline;
  text-underline-offset: 2px;
}
[data-tenant="kaneka-brand-portal"] .st-portal .st-portal-link:not(.st-portal-tabs a):hover {
  color: #013085;
}
/* Tags: 4px radius flat chips — white, hairline border, 14px #474747.
   Both tags share one style; the filled category variant is dropped. */
[data-tenant="kaneka-brand-portal"] .st-portal-tag {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  gap: 12px;
  border: 1px solid var(--kbp-line);
  border-radius: 4px;
  background: #fff;
  color: var(--kbp-muted);
  font-size: 14px;
  line-height: 1;
}
/* Checkboxes: action blue, hover darker; size and radius as built. */
[data-tenant="kaneka-brand-portal"] .st-portal input[type="checkbox"] {
  accent-color: var(--kbp-action);
}
[data-tenant="kaneka-brand-portal"] .st-portal input[type="checkbox"]:hover {
  accent-color: var(--kbp-action-dark);
}

/* ---------- Sign in / password (section 4, KANEKSOW36-37) ----------
 * Full-bleed, full-height 50/50 split: the branded panel on the LEFT (the
 * Super Admin login image under the navy gradient, heading + sign-in text
 * top-left), the cream page gradient on the RIGHT with the 424px form card
 * centered and the dashed corner connector ornament. The portal bar, the
 * site footer and the page gradient drop away on these screens — the mock
 * has no chrome. Below md it stacks, panel first (DOM order). */

/* No chrome on the sign-in screens. */
[data-tenant="kaneka-brand-portal"] .st-portal:has(.st-portal-login) > .st-portal-bar {
  display: none;
}
[data-tenant="kaneka-brand-portal"]:has(.st-portal-login) .st-footer {
  display: none;
}
/* The split paints its own sides; keep <main> neutral cream behind it. */
[data-tenant="kaneka-brand-portal"]:has(.st-portal-login) > main {
  background: none;
  background-color: var(--tenant-mist);
}
[data-tenant="kaneka-brand-portal"] .st-portal:has(.st-portal-login) .st-portal-body {
  max-width: none;
  padding: 0;
}

[data-tenant="kaneka-brand-portal"] .st-portal-login {
  gap: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

/* LEFT — branded panel: photo under the navy gradient (figma layer fill:
 * linear-gradient(180deg, rgba(1,48,133,.6), rgba(1,36,100,.6)) over the
 * login image, crop anchored 70.8% across). The image URL arrives as
 * --kbp-login-image from AuthFrame so the base-relative /portal/api path
 * stays correct; falls back to the served default. Heading + text sit at
 * the top-left.
 *
 * Size is `cover`, NOT the Figma export's literal `292.92% 100%`: that
 * percentage was the mock frame's export math and stretches the photo ~3x
 * horizontally on wide panels (KANEKSOW36-37 review, Chelsea). Cover keeps
 * the aspect ratio and crops; the 70.8% x-anchor preserves the crop intent. */
[data-tenant="kaneka-brand-portal"] .st-portal-login-panel {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 96px 80px 48px;
  background:
    linear-gradient(180deg, rgb(1 48 133 / 0.6) 0%, rgb(1 36 100 / 0.6) 100%)
      no-repeat,
    var(--kbp-login-image, url("/portal/api/login-image")) 70.8% top / cover
      no-repeat;
  background-color: var(--kbp-action-dark, #012464);
}
/* Heading: portal title, 42px Merriweather (the one serif heading in the
   portal). The extra .st-portal class beats the generic 28px portal-h1 rule
   further up this file — same specificity there, earlier in source. */
[data-tenant="kaneka-brand-portal"] .st-portal .st-portal-login-panel h1 {
  font-family: var(--tenant-font-heading, "Merriweather", Georgia, serif);
  font-size: 42px;
  line-height: 52px;
  font-weight: 700;
  color: #fff;
}
[data-tenant="kaneka-brand-portal"] .st-portal-login-panel p {
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
  margin-top: 24px;
  max-width: 40ch;
}
[data-tenant="kaneka-brand-portal"] .st-portal-login-panel :is(a, li) {
  color: #fff;
}
[data-tenant="kaneka-brand-portal"] .st-portal-login-panel a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* RIGHT — cream column, form card centered in it. */
[data-tenant="kaneka-brand-portal"] .st-portal-login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kbp-page) no-repeat;
  background-color: var(--tenant-mist);
  padding: 48px 24px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-login-form form {
  position: relative;
  width: 424px;
  max-width: 100%;
  border: 1px solid var(--kbp-line);
  border-radius: 0.75rem; /* KANEKSOW36-37 review (Ana): all corners 0.75rem */
  background: #fff;
  box-shadow: none;
  padding: 40px 32px;
  text-align: center;
}
/* Card head (mock): title 28px, intro 17px muted 16px under it. */
[data-tenant="kaneka-brand-portal"] .st-portal .st-portal-login-card-head :is(h1, h2) {
  font-size: 28px;
  line-height: 1.25;
  color: var(--kbp-ink);
}
[data-tenant="kaneka-brand-portal"] .st-portal-login-card-head p {
  color: var(--kbp-muted);
  font-size: 17px;
  line-height: 1.5;
  margin-top: 16px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-login-form form ::placeholder {
  color: var(--kbp-faint);
}
/* Corner connector: the dashed L from the ticket asset traces the card's
   top-left corner — top dashes just above the top border, left dashes just
   outside the left border, dot at the lower-left end. Decorative.
   Offset 0.75rem clear of both borders (KANEKSOW36-37 review, Ana): the
   SVG's top dash line sits at y=1 and its left dash line centers on
   x=5.33, so top = -12px - 1px and left = -12px - 5.33px put a 0.75rem
   gap between the card border and the connector on both sides. */
[data-tenant="kaneka-brand-portal"] .st-portal-login-form form::before {
  content: "";
  position: absolute;
  top: -13px;
  left: -17px;
  width: 430px;
  height: 114px;
  background: url("data:image/svg+xml,<svg%20viewBox=%220%200%20430%20114%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22><path%20d=%22M429.334%201.00002L429.334%202.00002L428.334%202.00002L428.334%201.00002L428.334%201.84899e-05L429.334%201.85336e-05L429.334%201.00002ZM426.334%201.00002L426.334%202.00002L424.334%202.00002L424.334%201.00002L424.334%201.83151e-05L426.334%201.84025e-05L426.334%201.00002ZM422.334%201.00002L422.334%202.00002L420.334%202.00002L420.334%201.00002L420.334%201.81402e-05L422.334%201.82277e-05L422.334%201.00002ZM418.334%201.00002L418.334%202.00002L416.334%202.00002L416.334%201.00002L416.334%201.79654e-05L418.334%201.80528e-05L418.334%201.00002ZM414.334%201.00002L414.334%202.00002L412.334%202.00002L412.334%201.00002L412.334%201.77905e-05L414.334%201.7878e-05L414.334%201.00002ZM410.334%201.00002L410.334%202.00002L408.334%202.00002L408.334%201.00002L408.334%201.76157e-05L410.334%201.77031e-05L410.334%201.00002ZM406.334%201.00002L406.334%202.00002L404.334%202.00002L404.334%201.00002L404.334%201.74408e-05L406.334%201.75283e-05L406.334%201.00002ZM402.334%201.00002L402.334%202.00002L400.334%202.00002L400.334%201.00002L400.334%201.7266e-05L402.334%201.73534e-05L402.334%201.00002ZM398.334%201.00002L398.334%202.00002L396.334%202.00002L396.334%201.00002L396.334%201.70912e-05L398.334%201.71786e-05L398.334%201.00002ZM394.334%201.00002L394.334%202.00002L392.334%202.00002L392.334%201.00002L392.334%201.69163e-05L394.334%201.70037e-05L394.334%201.00002ZM390.334%201.00002L390.334%202.00002L388.334%202.00002L388.334%201.00002L388.334%201.67415e-05L390.334%201.68289e-05L390.334%201.00002ZM386.334%201.00002L386.334%202.00002L384.334%202.00002L384.334%201.00002L384.334%201.65666e-05L386.334%201.6654e-05L386.334%201.00002ZM382.334%201.00002L382.334%202.00002L380.334%202.00002L380.334%201.00002L380.334%201.63918e-05L382.334%201.64792e-05L382.334%201.00002ZM378.334%201.00002L378.334%202.00002L376.334%202.00002L376.334%201.00002L376.334%201.62169e-05L378.334%201.63044e-05L378.334%201.00002ZM374.334%201.00002L374.334%202.00002L372.334%202.00002L372.334%201.00002L372.334%201.60421e-05L374.334%201.61295e-05L374.334%201.00002ZM370.334%201.00002L370.334%202.00002L368.334%202.00002L368.334%201.00002L368.334%201.58672e-05L370.334%201.59547e-05L370.334%201.00002ZM366.334%201.00002L366.334%202.00002L364.334%202.00002L364.334%201.00002L364.334%201.56924e-05L366.334%201.57798e-05L366.334%201.00002ZM362.334%201.00002L362.334%202.00002L360.334%202.00002L360.334%201.00002L360.334%201.55175e-05L362.334%201.5605e-05L362.334%201.00002ZM358.334%201.00002L358.334%202.00002L356.334%202.00002L356.334%201.00002L356.334%201.53427e-05L358.334%201.54301e-05L358.334%201.00002ZM354.334%201.00002L354.334%202.00002L352.334%202.00002L352.334%201.00002L352.334%201.51679e-05L354.334%201.52553e-05L354.334%201.00002ZM350.334%201.00002L350.334%202.00002L348.334%202.00001L348.334%201.00001L348.334%201.4993e-05L350.334%201.50804e-05L350.334%201.00002ZM346.334%201.00001L346.334%202.00001L344.334%202.00001L344.334%201.00001L344.334%201.48182e-05L346.334%201.49056e-05L346.334%201.00001ZM342.334%201.00001L342.334%202.00001L340.334%202.00001L340.334%201.00001L340.334%201.46433e-05L342.334%201.47307e-05L342.334%201.00001ZM338.334%201.00001L338.334%202.00001L336.334%202.00001L336.334%201.00001L336.334%201.44685e-05L338.334%201.45559e-05L338.334%201.00001ZM334.334%201.00001L334.334%202.00001L332.334%202.00001L332.334%201.00001L332.334%201.42936e-05L334.334%201.4381e-05L334.334%201.00001ZM330.334%201.00001L330.334%202.00001L328.334%202.00001L328.334%201.00001L328.334%201.41188e-05L330.334%201.42062e-05L330.334%201.00001ZM326.334%201.00001L326.334%202.00001L324.334%202.00001L324.334%201.00001L324.334%201.39439e-05L326.334%201.40314e-05L326.334%201.00001ZM322.334%201.00001L322.334%202.00001L320.334%202.00001L320.334%201.00001L320.334%201.37691e-05L322.334%201.38565e-05L322.334%201.00001ZM318.334%201.00001L318.334%202.00001L316.334%202.00001L316.334%201.00001L316.334%201.35942e-05L318.334%201.36817e-05L318.334%201.00001ZM314.334%201.00001L314.334%202.00001L312.334%202.00001L312.334%201.00001L312.334%201.34194e-05L314.334%201.35068e-05L314.334%201.00001ZM310.334%201.00001L310.334%202.00001L308.334%202.00001L308.334%201.00001L308.334%201.32446e-05L310.334%201.3332e-05L310.334%201.00001ZM306.334%201.00001L306.334%202.00001L304.334%202.00001L304.334%201.00001L304.334%201.30697e-05L306.334%201.31571e-05L306.334%201.00001ZM302.334%201.00001L302.334%202.00001L300.333%202.00001L300.333%201.00001L300.333%201.28949e-05L302.334%201.29823e-05L302.334%201.00001ZM298.333%201.00001L298.333%202.00001L296.333%202.00001L296.333%201.00001L296.333%201.272e-05L298.333%201.28074e-05L298.333%201.00001ZM294.334%201.00001L294.334%202.00001L292.334%202.00001L292.334%201.00001L292.334%201.25452e-05L294.334%201.26326e-05L294.334%201.00001ZM290.333%201.00001L290.333%202.00001L288.333%202.00001L288.333%201.00001L288.333%201.23703e-05L290.333%201.24577e-05L290.333%201.00001ZM286.333%201.00001L286.333%202.00001L284.334%202.00001L284.334%201.00001L284.334%201.21955e-05L286.333%201.22829e-05L286.333%201.00001ZM282.334%201.00001L282.334%202.00001L280.333%202.00001L280.333%201.00001L280.333%201.20206e-05L282.334%201.21081e-05L282.334%201.00001ZM278.333%201.00001L278.333%202.00001L276.333%202.00001L276.333%201.00001L276.333%201.18458e-05L278.333%201.19332e-05L278.333%201.00001ZM274.334%201.00001L274.334%202.00001L272.334%202.00001L272.334%201.00001L272.334%201.16709e-05L274.334%201.17584e-05L274.334%201.00001ZM270.334%201.00001L270.334%202.00001L268.333%202.00001L268.333%201.00001L268.333%201.14961e-05L270.334%201.15835e-05L270.334%201.00001ZM266.333%201.00001L266.333%202.00001L264.333%202.00001L264.333%201.00001L264.333%201.13213e-05L266.333%201.14087e-05L266.333%201.00001ZM262.334%201.00001L262.334%202.00001L260.334%202.00001L260.334%201.00001L260.334%201.11464e-05L262.334%201.12338e-05L262.334%201.00001ZM258.334%201.00001L258.334%202.00001L256.334%202.00001L256.334%201.00001L256.334%201.09716e-05L258.334%201.1059e-05L258.334%201.00001ZM254.334%201.00001L254.334%202.00001L252.334%202.00001L252.334%201.00001L252.334%201.07967e-05L254.334%201.08841e-05L254.334%201.00001ZM250.334%201.00001L250.334%202.00001L248.334%202.00001L248.334%201.00001L248.334%201.06219e-05L250.334%201.07093e-05L250.334%201.00001ZM246.334%201.00001L246.334%202.00001L244.334%202.00001L244.334%201.00001L244.334%201.0447e-05L246.334%201.05344e-05L246.334%201.00001ZM242.334%201.00001L242.334%202.00001L240.334%202.00001L240.334%201.00001L240.334%201.02722e-05L242.334%201.03596e-05L242.334%201.00001ZM238.334%201.00001L238.334%202.00001L236.334%202.00001L236.334%201.00001L236.334%201.00973e-05L238.334%201.01848e-05L238.334%201.00001ZM234.334%201.00001L234.334%202.00001L232.334%202.00001L232.334%201.00001L232.334%209.92249e-06L234.334%201.00099e-05L234.334%201.00001ZM230.333%201.00001L230.333%202.00001L228.334%202.00001L228.334%201.00001L228.334%209.74764e-06L230.333%209.83506e-06L230.333%201.00001ZM226.333%201.00001L226.333%202.00001L224.334%202.00001L224.334%201.00001L224.334%209.5728e-06L226.333%209.66022e-06L226.333%201.00001ZM222.334%201.00001L222.334%202.00001L220.334%202.00001L220.334%201.00001L220.334%209.39795e-06L222.334%209.48537e-06L222.334%201.00001ZM218.334%201.00001L218.334%202.00001L216.333%202.00001L216.333%201.00001L216.333%209.2231e-06L218.334%209.31053e-06L218.334%201.00001ZM214.334%201.00001L214.334%202.00001L212.334%202.00001L212.334%201.00001L212.334%209.04826e-06L214.334%209.13568e-06L214.334%201.00001ZM210.334%201.00001L210.334%202.00001L208.334%202.00001L208.334%201.00001L208.334%208.87341e-06L210.334%208.96084e-06L210.334%201.00001ZM206.333%201.00001L206.333%202.00001L204.334%202.00001L204.334%201.00001L204.334%208.69857e-06L206.333%208.78599e-06L206.333%201.00001ZM202.334%201.00001L202.334%202.00001L200.334%202.00001L200.334%201.00001L200.334%208.52372e-06L202.334%208.61115e-06L202.334%201.00001ZM198.334%201.00001L198.334%202.00001L196.333%202.00001L196.333%201.00001L196.333%208.34888e-06L198.334%208.4363e-06L198.334%201.00001ZM194.334%201.00001L194.334%202.00001L192.334%202.00001L192.334%201.00001L192.334%208.17403e-06L194.334%208.26145e-06L194.334%201.00001ZM190.334%201.00001L190.334%202.00001L188.334%202.00001L188.334%201.00001L188.334%207.99919e-06L190.334%208.08661e-06L190.334%201.00001ZM186.333%201.00001L186.333%202.00001L184.334%202.00001L184.334%201.00001L184.334%207.82434e-06L186.333%207.91176e-06L186.333%201.00001ZM182.334%201.00001L182.334%202.00001L180.334%202.00001L180.334%201.00001L180.334%207.64949e-06L182.334%207.73692e-06L182.334%201.00001ZM178.334%201.00001L178.334%202.00001L176.333%202.00001L176.333%201.00001L176.333%207.47465e-06L178.334%207.56207e-06L178.334%201.00001ZM174.334%201.00001L174.334%202.00001L172.333%202.00001L172.333%201.00001L172.333%207.2998e-06L174.334%207.38723e-06L174.334%201.00001ZM170.333%201.00001L170.333%202.00001L168.333%202.00001L168.333%201.00001L168.333%207.12496e-06L170.333%207.21238e-06L170.333%201.00001ZM166.334%201.00001L166.334%202.00001L164.333%202.00001L164.333%201.00001L164.333%206.95011e-06L166.334%207.03753e-06L166.334%201.00001ZM162.333%201.00001L162.333%202.00001L160.333%202.00001L160.333%201.00001L160.333%206.77527e-06L162.333%206.86269e-06L162.333%201.00001ZM158.333%201.00001L158.333%202.00001L156.334%202.00001L156.334%201.00001L156.334%206.60042e-06L158.333%206.68784e-06L158.333%201.00001ZM154.333%201.00001L154.333%202.00001L152.333%202.00001L152.333%201.00001L152.333%206.42557e-06L154.333%206.513e-06L154.333%201.00001ZM150.333%201.00001L150.333%202.00001L148.333%202.00001L148.333%201.00001L148.333%206.25073e-06L150.333%206.33815e-06L150.333%201.00001ZM146.334%201.00001L146.334%202.00001L144.333%202.00001L144.333%201.00001L144.333%206.07588e-06L146.334%206.16331e-06L146.334%201.00001ZM142.333%201.00001L142.333%202.00001L140.333%202.00001L140.333%201.00001L140.333%205.90104e-06L142.333%205.98846e-06L142.333%201.00001ZM138.333%201.00001L138.333%202.00001L136.333%202.00001L136.333%201.00001L136.333%205.72619e-06L138.333%205.81362e-06L138.333%201.00001ZM134.333%201.00001L134.333%202.00001L132.334%202.00001L132.334%201.00001L132.334%205.55135e-06L134.333%205.63877e-06L134.333%201.00001ZM130.333%201.00001L130.333%202.00001L128.333%202.00001L128.333%201.00001L128.333%205.3765e-06L130.333%205.46392e-06L130.333%201.00001ZM126.333%201.00001L126.333%202.00001L124.333%202.00001L124.333%201.00001L124.333%205.20166e-06L126.333%205.28908e-06L126.333%201.00001ZM122.334%201.00001L122.334%202.00001L120.333%202.00001L120.333%201.00001L120.333%205.02681e-06L122.334%205.11423e-06L122.334%201.00001ZM118.333%201L118.333%202L116.333%202L116.333%201L116.333%204.85196e-06L118.333%204.93939e-06L118.333%201ZM114.333%201L114.333%202L112.334%202L112.334%201L112.334%204.67712e-06L114.333%204.76454e-06L114.333%201ZM110.333%201L110.333%202L108.333%202L108.333%201L108.333%204.50227e-06L110.333%204.5897e-06L110.333%201ZM106.333%201L106.333%202L104.333%202L104.333%201L104.333%204.32743e-06L106.333%204.41485e-06L106.333%201ZM102.334%201L102.334%202L100.333%202L100.333%201L100.333%204.15258e-06L102.334%204.24001e-06L102.334%201ZM98.3335%201L98.3335%202L96.3335%202L96.3335%201L96.3335%203.97774e-06L98.3335%204.06516e-06L98.3335%201ZM94.3335%201L94.3335%202L92.3335%202L92.3335%201L92.3335%203.80289e-06L94.3335%203.89031e-06L94.3335%201ZM90.3335%201L90.3335%202L88.3335%202L88.3335%201L88.3335%203.62805e-06L90.3335%203.71547e-06L90.3335%201ZM86.3335%201L86.3335%202L84.3335%202L84.3335%201L84.3335%203.4532e-06L86.3335%203.54062e-06L86.3335%201ZM82.3335%201L82.3335%202L80.3335%202L80.3335%201L80.3335%203.27835e-06L82.3335%203.36578e-06L82.3335%201ZM78.3335%201L78.3335%202L76.3335%202L76.3335%201L76.3335%203.10351e-06L78.3335%203.19093e-06L78.3335%201ZM74.3335%201L74.3335%202L72.3335%202L72.3335%201L72.3335%202.92866e-06L74.3335%203.01609e-06L74.3335%201ZM70.3335%201L70.3335%202L68.3335%202L68.3335%201L68.3335%202.75382e-06L70.3335%202.84124e-06L70.3335%201ZM66.3335%201L66.3335%202L64.3335%202L64.3335%201L64.3335%202.57897e-06L66.3335%202.66639e-06L66.3335%201ZM62.3335%201L62.3335%202L60.3335%202L60.3335%201L60.3335%202.40413e-06L62.3335%202.49155e-06L62.3335%201ZM58.3335%201L58.3335%202L56.3335%202L56.3335%201L56.3335%202.22928e-06L58.3335%202.3167e-06L58.3335%201ZM54.3335%201L54.3335%202L52.3335%202L52.3335%201L52.3335%202.05443e-06L54.3335%202.14186e-06L54.3335%201ZM50.3335%201L50.3335%202L48.3335%202L48.3335%201L48.3335%201.87959e-06L50.3335%201.96701e-06L50.3335%201ZM46.3335%201L46.3335%202L44.3335%202L44.3335%201L44.3335%201.70474e-06L46.3335%201.79217e-06L46.3335%201ZM42.3335%201L42.3335%202L40.3335%202L40.3335%201L40.3335%201.5299e-06L42.3335%201.61732e-06L42.3335%201ZM38.3335%201L38.3335%202L36.3335%202L36.3335%201L36.3335%201.35505e-06L38.3335%201.44248e-06L38.3335%201ZM34.3335%201L34.3335%202L33.3335%202L33.3335%201L33.3335%201.22392e-06L34.3335%201.26763e-06L34.3335%201ZM33.3335%201L33.3335%202C33.0101%202%2032.688%202.00568%2032.3674%202.01695L32.3322%201.01757L32.2971%200.0181863C32.6411%200.00609565%2032.9866%201.20876e-06%2033.3335%201.22392e-06L33.3335%201ZM30.3393%201.15821L30.445%202.15261C29.8015%202.22102%2029.1649%202.31202%2028.5359%202.42479L28.3594%201.44048L28.1829%200.456178C28.8587%200.335016%2029.5426%200.237276%2030.2336%200.163817L30.3393%201.15821ZM26.4068%201.86337L26.6534%202.83248C26.0278%202.99169%2025.4109%203.17276%2024.8036%203.37481L24.4879%202.42595L24.1722%201.47709C24.8248%201.25994%2025.4878%201.06535%2026.1602%200.894256L26.4068%201.86337ZM22.6154%203.12466L22.9985%204.04838C22.4032%204.29523%2021.8187%204.56277%2021.2458%204.85011L20.7974%203.95624L20.3491%203.06236C20.9647%202.75365%2021.5927%202.46618%2022.2324%202.20093L22.6154%203.12466ZM19.0439%204.91572L19.555%205.77526C19.0018%206.10423%2018.4612%206.45242%2017.9343%206.81893L17.3633%205.998L16.7923%205.17708C17.3581%204.7835%2017.9386%204.40953%2018.5329%204.05618L19.0439%204.91572ZM15.7639%207.19714L16.3919%207.9754C15.8914%208.37924%2015.4055%208.8006%2014.9354%209.23855L14.2538%208.5068L13.5722%207.77506C14.077%207.30488%2014.5986%206.85248%2015.136%206.41888L15.7639%207.19714ZM12.8403%209.9203L13.572%2010.6019C13.1341%2011.0721%2012.7127%2011.5579%2012.3089%2012.0584L11.5306%2011.4305L10.7524%2010.8025C11.186%2010.2651%2011.6384%209.74351%2012.1085%209.23872L12.8403%209.9203ZM10.3315%2013.0298L11.1524%2013.6008C10.7859%2014.1277%2010.4377%2014.6683%2010.1087%2015.2215L9.24921%2014.7105L8.38968%2014.1994C8.74302%2013.6051%209.11699%2013.0246%209.51057%2012.4588L10.3315%2013.0298ZM8.28973%2016.464L9.1836%2016.9123C8.89626%2017.4852%208.62872%2018.0697%208.38187%2018.665L7.45815%2018.2819L6.53442%2017.8989C6.79967%2017.2592%207.08714%2016.6312%207.39585%2016.0156L8.28973%2016.464ZM6.75944%2020.1544L7.7083%2020.4701C7.50625%2021.0774%207.32519%2021.6943%207.16597%2022.3199L6.19686%2022.0733L5.22775%2021.8267C5.39885%2021.1543%205.59343%2020.4914%205.81058%2019.8387L6.75944%2020.1544ZM5.77398%2024.0259L6.75828%2024.2024C6.64551%2024.8314%206.55451%2025.468%206.4861%2026.1115L5.49171%2026.0058L4.49731%2025.9001C4.57077%2025.2091%204.66851%2024.5253%204.78967%2023.8495L5.77398%2024.0259ZM5.35106%2027.9988L6.35045%2028.0339C6.33918%2028.3545%206.33349%2028.6766%206.33349%2029L5.33349%2029L4.33349%2029C4.33349%2028.6531%204.33959%2028.3076%204.35168%2027.9636L5.35106%2027.9988ZM5.33349%2029L6.33349%2029L6.33349%2029.9875L5.33349%2029.9875L4.33349%2029.9875L4.33349%2029L5.33349%2029ZM5.33349%2031.9625L6.33349%2031.9625L6.33349%2033.9375L5.33349%2033.9375L4.33349%2033.9375L4.33349%2031.9625L5.33349%2031.9625ZM5.33349%2035.9125L6.33349%2035.9125L6.33349%2037.8875L5.33349%2037.8875L4.33349%2037.8875L4.33349%2035.9125L5.33349%2035.9125ZM5.33349%2039.8625L6.33349%2039.8625L6.33349%2041.8375L5.33349%2041.8375L4.33349%2041.8375L4.33349%2039.8625L5.33349%2039.8625ZM5.33349%2043.8125L6.33349%2043.8125L6.33349%2045.7875L5.33349%2045.7875L4.33349%2045.7875L4.33349%2043.8125L5.33349%2043.8125ZM5.33349%2047.7625L6.33349%2047.7625L6.33349%2049.7375L5.33349%2049.7375L4.33349%2049.7375L4.33349%2047.7625L5.33349%2047.7625ZM5.33349%2051.7125L6.33349%2051.7125L6.33349%2053.6875L5.33349%2053.6875L4.33349%2053.6875L4.33349%2051.7125L5.33349%2051.7125ZM5.33349%2055.6625L6.33349%2055.6625L6.33349%2057.6375L5.33349%2057.6375L4.33349%2057.6375L4.33349%2055.6625L5.33349%2055.6625ZM5.33349%2059.6125L6.33349%2059.6125L6.33349%2061.5875L5.33349%2061.5875L4.33349%2061.5875L4.33349%2059.6125L5.33349%2059.6125ZM5.33349%2063.5625L6.33349%2063.5625L6.33349%2065.5375L5.33349%2065.5375L4.33349%2065.5375L4.33349%2063.5625L5.33349%2063.5625ZM5.33349%2067.5125L6.33349%2067.5125L6.33349%2069.4875L5.33349%2069.4875L4.33349%2069.4875L4.33349%2067.5125L5.33349%2067.5125ZM5.33349%2071.4625L6.33349%2071.4625L6.33349%2073.4375L5.33349%2073.4375L4.33349%2073.4375L4.33349%2071.4625L5.33349%2071.4625ZM5.33349%2075.4125L6.33349%2075.4125L6.33349%2077.3875L5.33349%2077.3875L4.33349%2077.3875L4.33349%2075.4125L5.33349%2075.4125ZM5.33349%2079.3625L6.33349%2079.3625L6.33349%2081.3375L5.33349%2081.3375L4.33349%2081.3375L4.33349%2079.3625L5.33349%2079.3625ZM5.33349%2083.3125L6.33349%2083.3125L6.33349%2085.2875L5.33349%2085.2875L4.33349%2085.2875L4.33349%2083.3125L5.33349%2083.3125ZM5.33349%2087.2625L6.33349%2087.2625L6.33349%2089.2375L5.33349%2089.2375L4.33349%2089.2375L4.33349%2087.2625L5.33349%2087.2625ZM5.33349%2091.2125L6.33349%2091.2125L6.33349%2093.1875L5.33349%2093.1875L4.33349%2093.1875L4.33349%2091.2125L5.33349%2091.2125ZM5.33349%2095.1625L6.33349%2095.1625L6.33349%2097.1375L5.33349%2097.1375L4.33349%2097.1375L4.33349%2095.1625L5.33349%2095.1625ZM5.33349%2099.1125L6.33349%2099.1125L6.33349%20101.087L5.33349%20101.087L4.33349%20101.087L4.33349%2099.1125L5.33349%2099.1125ZM5.33349%20103.062L6.33349%20103.062L6.33349%20105.037L5.33349%20105.037L4.33349%20105.037L4.33349%20103.062L5.33349%20103.062ZM5.33349%20107.012L6.33349%20107.012L6.33349%20108L5.33349%20108L4.33349%20108L4.33349%20107.012L5.33349%20107.012ZM5.33349%20102.667C8.27901%20102.667%2010.6668%20105.054%2010.6668%20108C10.6668%20110.946%208.27901%20113.333%205.33349%20113.333C2.38797%20113.333%200.000157796%20110.946%200.000157924%20108C0.000158053%20105.054%202.38797%20102.667%205.33349%20102.667Z%22%20fill=%22url(%23paint0_linear_3189_2567)%22/><defs><linearGradient%20id=%22paint0_linear_3189_2567%22%20x1=%225.33349%22%20y1=%2254.5%22%20x2=%22429.333%22%20y2=%2254.5%22%20gradientUnits=%22userSpaceOnUse%22><stop%20stop-color=%22%23013CA6%22/><stop%20offset=%221%22%20stop-color=%22%23DBE4F2%22/></linearGradient></defs></svg>") no-repeat 0 0 / 430px 114px;
  pointer-events: none;
}

/* Field rhythm (figma): first label 40px under the intro, 24px between
   groups, 8px label-to-field, button 32px under the last field, help line
   24px under the button.
   KANEKSOW36-42: labels read left-aligned (the card centers everything
   else); the rows under the CTA use the fields' 8px row padding — the
   button needed 8px to the Forgot Password link and that link 12px to the
   help copy (Tailwind preflight zeroes p margins, so both were flush). */
[data-tenant="kaneka-brand-portal"] .st-portal-login-form form .st-portal-label {
  margin-top: 24px;
  text-align: left;
}
[data-tenant="kaneka-brand-portal"] .st-portal-login-form form .st-portal-label:first-of-type {
  margin-top: 40px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-login-form form .st-portal-input {
  margin-top: 8px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-login-form form .st-portal-btn {
  margin-top: 32px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-login-form form .st-portal-alert {
  text-align: left;
  margin-top: 16px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-login-form form .st-portal-btn + p {
  margin-top: 8px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-login-form form .st-portal-btn + p + p {
  margin-top: 12px;
}
/* Show/Hide toggle inside the fields: gray eye-text per the Figma field. */
[data-tenant="kaneka-brand-portal"] .st-portal-login-form .st-login-reveal {
  color: #7e7e7b;
}
[data-tenant="kaneka-brand-portal"] .st-portal-login-form .st-login-reveal:hover {
  color: var(--kbp-action);
}
/* Below md: single column, panel first — DOM order already does this. */
@media (max-width: 767px) {
  [data-tenant="kaneka-brand-portal"] .st-portal-login {
    min-height: 0;
  }
  [data-tenant="kaneka-brand-portal"] .st-portal-login-panel {
    padding: 48px 24px 40px;
  }
  [data-tenant="kaneka-brand-portal"] .st-portal .st-portal-login-panel h1 {
    font-size: 30px;
    line-height: 38px;
  }
  [data-tenant="kaneka-brand-portal"] .st-portal-login-form {
    padding: 32px 16px 48px;
  }
  [data-tenant="kaneka-brand-portal"] .st-portal-login-form form::before {
    display: none; /* the ornament needs clear space the phone layout lacks */
  }
}

/* ---------- Library (section 6) ----------
 * Banners, filter copy, count line and the client-side grid stay as built;
 * the card + thumbnail change. */
[data-tenant="kaneka-brand-portal"] .st-portal-banner {
  border-radius: 8px;
  background: #fff;
  color: var(--kbp-ink);
}
[data-tenant="kaneka-brand-portal"] .st-portal-banner--ok {
  border-color: var(--kbp-ok);
}
[data-tenant="kaneka-brand-portal"] .st-portal-banner-icon {
  background: var(--kbp-ok-strong);
  color: #fff;
}
[data-tenant="kaneka-brand-portal"] .st-portal-banner--alert {
  border-color: var(--kbp-warn-line);
}
[data-tenant="kaneka-brand-portal"] .st-portal-banner--alert .st-portal-banner-icon {
  background: var(--kbp-alert-light);
  color: var(--kbp-alert);
}
/* Dropdown filters: 260 by 46 controls, 4px radius, hairline border; the
   control reads gray while showing "All …" (figma). */
[data-tenant="kaneka-brand-portal"] .st-portal-dd-ctl {
  min-width: 260px;
  min-height: 46px;
  border-radius: 4px;
  border-color: var(--kbp-field-line);
  padding: 10px 14px;
  font-size: 17px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-dd-ctl[aria-expanded="true"] {
  border-color: var(--kbp-action);
}
[data-tenant="kaneka-brand-portal"] .st-portal-dd-menu {
  border-color: var(--kbp-line);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgb(1 36 100 / 0.18);
  padding: 8px 0;
}
[data-tenant="kaneka-brand-portal"] .st-portal-dd-opt {
  color: var(--kbp-ink);
}
[data-tenant="kaneka-brand-portal"] .st-portal-dd-opt:hover,
[data-tenant="kaneka-brand-portal"] .st-portal-dd-opt[data-active] {
  background: var(--kbp-chip); /* #F0F4FF — figma option hover */
}
[data-tenant="kaneka-brand-portal"] .st-portal-dd-opt[aria-selected="true"] {
  background: var(--kbp-tint); /* #DBE4F2 — figma selected row */
  font-weight: 700;
}
/* Cards: no container at all — the gradient panel and text sit directly on
   the page (figma has no white card). Hover colors the title. */
[data-tenant="kaneka-brand-portal"] .st-portal-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
[data-tenant="kaneka-brand-portal"] .st-portal-card:hover {
  border: 0;
  box-shadow: none;
}
/* Thumbnail: the Blue to Teal gradient panel, square (1/1), 4px radius. */
[data-tenant="kaneka-brand-portal"] .st-portal-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  background: var(--kbp-panel);
  overflow: hidden;
}
[data-tenant="kaneka-brand-portal"] .st-portal-thumb img {
  width: 77%;
  height: auto;
  margin: 7% auto 0;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
/* Keep the fade-in; drop the built hover zoom. */
[data-tenant="kaneka-brand-portal"] .st-portal-thumb img:hover,
[data-tenant="kaneka-brand-portal"] .st-portal-card:hover .st-portal-thumb img {
  transform: none;
}
/* Card body: no padding, order tags -> title -> summary, spacing per figma
   (pure CSS reorder on the built body div — no markup change). */
[data-tenant="kaneka-brand-portal"] .st-portal-card > div:last-child {
  display: flex;
  flex-direction: column;
  padding: 0;
}
[data-tenant="kaneka-brand-portal"] .st-portal-card > div:last-child h2 {
  order: 2;
  margin-top: 20px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--kbp-ink);
}
[data-tenant="kaneka-brand-portal"] .st-portal-card > div:last-child > p:not(:has(.st-portal-tag)) {
  order: 3;
  margin-top: 16px;
  font-size: 18px;
  line-height: 26px;
  color: var(--kbp-muted);
}
[data-tenant="kaneka-brand-portal"] .st-portal-card > div:last-child > p:has(.st-portal-tag) {
  order: 1;
  margin-top: 12px;
  margin-bottom: 0;
  gap: 12px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-card:hover > div:last-child h2 {
  color: var(--kbp-action);
}

/* ---------- Terms gate / check rows ---------- */
[data-tenant="kaneka-brand-portal"] .st-portal .st-portal-check.bg-tenant-brand {
  background: var(--kbp-action);
}

/* ---------- Brand setup + profile (section 7) ---------- */
/* Stepper: 24px circles; active/done action blue, upcoming hairline outline. */
[data-tenant="kaneka-brand-portal"] .st-portal-step-num {
  width: 24px;
  height: 24px;
  border: 1px solid var(--kbp-bar-line);
  border-radius: 50%;
  background: #fff;
  color: var(--kbp-slate);
}
[data-tenant="kaneka-brand-portal"] .st-portal-stepper [data-state="active"] .st-portal-step-num,
[data-tenant="kaneka-brand-portal"] .st-portal-stepper [data-state="done"] .st-portal-step-num {
  border-color: var(--kbp-action);
  background: var(--kbp-action);
  color: #fff;
}
[data-tenant="kaneka-brand-portal"] .st-portal-step-rule {
  background: var(--kbp-tint);
}
/* Tabs: Figma underline pattern — plain dark labels over a light gray rule
   that runs the full content width; the active tab is action-blue 700 text
   with a 2px blue underline sitting on the rule. No fill, no border box.
   Restores the divider the v6.162.0 restyle (KANEKSOW36-32) removed and
   fixes KANEKSOW36-36. The generic link rule excludes .st-portal-tabs a
   (see its :not() chain) so these colors can't be overridden. */
[data-tenant="kaneka-brand-portal"] .st-portal-tabs {
  gap: 0;
  border-bottom: 1px solid var(--kbp-line);
}
[data-tenant="kaneka-brand-portal"] .st-portal .st-portal-tabs a[href] {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--kbp-ink);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  padding: 8px 16px;
}
[data-tenant="kaneka-brand-portal"] .st-portal .st-portal-tabs a[href][aria-current="page"] {
  color: var(--kbp-action);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--kbp-action);
  margin-bottom: -1px;
}
/* Logo rows, drop zones, previews. */
[data-tenant="kaneka-brand-portal"] :is(.st-portal-logo-row--setup, .st-portal-logo-drop) {
  border-color: var(--kbp-action);
}
[data-tenant="kaneka-brand-portal"] .st-portal-logo-row {
  border-radius: 8px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-logo-row:not(.st-portal-logo-row--setup) {
  border: 1px solid var(--kbp-line);
}
[data-tenant="kaneka-brand-portal"] .st-portal-logo-drop {
  border-radius: 8px;
  color: var(--kbp-action);
}
/* Light-logo row: the Blue Dark gradient replaces the flat ink fill. */
[data-tenant="kaneka-brand-portal"] .st-portal-light-row {
  background: var(--kbp-bar);
  border-radius: 8px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-preview-frame {
  border-radius: 8px;
  border-color: var(--kbp-line);
}
/* Hex row: white rounded row, 34px swatch, icon buttons 36px transparent. */
[data-tenant="kaneka-brand-portal"] .st-portal-hex-row {
  border: 1px solid var(--kbp-line);
  border-radius: 8px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-hex-row > span {
  border-radius: 4px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-hex-row button {
  height: 36px;
  width: 36px;
  border-radius: 4px;
  background: transparent;
  color: var(--kbp-action);
}
[data-tenant="kaneka-brand-portal"] .st-portal-hex-row button:hover {
  background: var(--kbp-tint);
}
[data-tenant="kaneka-brand-portal"] .st-portal-hex-add {
  border: 1px dashed var(--kbp-field-line);
}
/* Info alert: tint fill, bar hairline, ink text. */
[data-tenant="kaneka-brand-portal"] .st-portal .st-portal-alert--info {
  border-color: var(--kbp-bar-line);
  background: var(--kbp-tint);
  color: var(--kbp-ink);
  border-radius: 8px;
}

/* ---------- Alerts (error tone keeps the site red) ---------- */
[data-tenant="kaneka-brand-portal"] .st-portal .st-portal-alert--error {
  border-color: var(--kbp-alert);
  background: var(--kbp-alert-light);
  color: var(--kbp-alert);
  border-radius: 8px;
}

/* ---------- Asset page + dialogs ---------- */
[data-tenant="kaneka-brand-portal"] .st-portal-preview {
  background: #fff;
  border-radius: 8px;
}
[data-tenant="kaneka-brand-portal"] .st-portal-zone[data-selected] {
  background: var(--kbp-action);
  color: #fff;
  font-weight: 700;
}
/* Selection language (B2): 2px action-blue border on selected tiles. */
[data-tenant="kaneka-brand-portal"] .st-portal-zone-card[data-selected],
[data-tenant="kaneka-brand-portal"] .st-portal-size[data-selected],
[data-tenant="kaneka-brand-portal"] .st-portal-size-thumb[data-selected] {
  border-color: var(--kbp-action);
  box-shadow: 0 0 0 1px var(--kbp-action);
}
[data-tenant="kaneka-brand-portal"] .st-portal-zone-card[data-selected] .st-portal-zone-sub {
  color: var(--kbp-action);
  font-weight: 700;
}
[data-tenant="kaneka-brand-portal"] .st-portal-previewing {
  background: var(--kbp-tint);
  color: var(--kbp-action);
}
[data-tenant="kaneka-brand-portal"] .st-portal-logo-box {
  border-color: var(--kbp-action);
}
[data-tenant="kaneka-brand-portal"] .st-portal-note {
  background: var(--kbp-chip);
}
[data-tenant="kaneka-brand-portal"] .st-portal-pager-btn {
  border-color: var(--kbp-line);
  color: var(--kbp-ink);
}
[data-tenant="kaneka-brand-portal"] .st-portal-pager-dot[data-on] {
  background: var(--kbp-action);
}
/* Logo modals: 8px radius, hairline border; dashed drop zones action blue;
   the overlay picks up the navy at 60% (portal decision). */
[data-tenant="kaneka-brand-portal"] .st-portal-dialog {
  border: 1px solid var(--kbp-line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgb(1 36 100 / 0.28);
}
[data-tenant="kaneka-brand-portal"] .st-portal-dialog::backdrop {
  background: rgb(1 36 100 / 0.6);
}
[data-tenant="kaneka-brand-portal"] .st-portal-dropzone {
  border-color: var(--kbp-action);
}
[data-tenant="kaneka-brand-portal"] .st-portal-dialog--required {
  border-top-color: var(--kbp-alert);
}
[data-tenant="kaneka-brand-portal"] .st-portal-alert-text {
  color: var(--kbp-alert);
}
[data-tenant="kaneka-brand-portal"] .st-portal-zone-empty {
  border-color: color-mix(in srgb, var(--kbp-alert) 70%, transparent);
}
[data-tenant="kaneka-brand-portal"] .st-portal-zone-empty[data-selected] {
  border-color: var(--kbp-alert);
}
[data-tenant="kaneka-brand-portal"] .st-portal-zone-empty > span {
  background: var(--kbp-alert);
}
[data-tenant="kaneka-brand-portal"] .st-portal-dialog-alert {
  background: var(--kbp-alert-light);
  color: var(--kbp-alert);
}

/* ---------- My downloads ---------- */
[data-tenant="kaneka-brand-portal"] .st-portal-badge {
  background: var(--kbp-tint);
  color: var(--kbp-action-dark);
}

/* ---------- Footer: quiet, on the gradient page ---------- */
[data-tenant="kaneka-brand-portal"] .st-footer {
  border-top: 1px solid var(--kbp-line);
  background: transparent;
}
/* Drop the accent strip and the marketing-site padding: an app footer. */
[data-tenant="kaneka-brand-portal"] .st-footer > span:first-child {
  display: none;
}
[data-tenant="kaneka-brand-portal"] .st-footer > .st-shell {
  /* Same column as the portal bar and body (max-w-6xl, px-4). */
  max-width: 72rem;
  padding: 1.5rem 1rem;
}
/* The light footer prints the site name white-on-white, and there is no
   footer nav: keep just the tagline and the copyright line. */
[data-tenant="kaneka-brand-portal"] .st-footer .st-h3,
[data-tenant="kaneka-brand-portal"] .st-footer-nav {
  display: none;
}
[data-tenant="kaneka-brand-portal"] .st-footer .st-h3 + p {
  margin-top: 0;
}
[data-tenant="kaneka-brand-portal"] .st-footer > .st-shell > div + div {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}