@font-face {
  font-family: "Nunito Local";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Dancing Script Local";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("/assets/fonts/dancing-script-latin.woff2") format("woff2");
}

:root {
  --ink: #172033;
  --muted: #687188;
  --line: rgba(76, 94, 126, 0.16);
  --line-strong: rgba(69, 89, 125, 0.25);
  --surface: #f8fafd;
  --canvas: #e7eef7;
  --soft: #edf2f8;
  --iri-ink: #172033;
  --iri-ink-soft: #303a52;
  --iri-muted: #687188;
  --iri-dim: #8991a3;
  --iri-line: rgba(76, 94, 126, 0.16);
  --iri-line-strong: rgba(69, 89, 125, 0.25);
  --iri-panel: rgba(250, 252, 255, 0.68);
  --iri-panel-strong: rgba(252, 253, 255, 0.84);
  --iri-panel-solid: #f8fafd;
  --iri-shadow: 0 18px 48px rgba(43, 57, 86, 0.12);
  --iri-shadow-soft: 0 8px 24px rgba(49, 63, 91, 0.09);
  --iri-cyan: #2a8590;
  --iri-blue: #566fc3;
  --iri-violet: #775ba3;
  --iri-pink: #bd678f;
  --iri-mint: #2f8c72;
  --iri-gold: #9b6b17;
  --iri-danger: #ad4e61;
  --iri-spectrum: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.82),
    rgba(232, 224, 224, 0.92) 42%,
    rgba(196, 199, 204, 0.78) 68%,
    rgba(245, 245, 244, 0.86)
  );
  --shine-bg: #e7eef7;
  --shine-bg-soft: #edf3f9;
  --shine-panel: rgba(250, 252, 255, 0.72);
  --shine-panel-soft: rgba(248, 251, 255, 0.64);
  --shine-panel-strong: rgba(252, 253, 255, 0.88);
  --shine-line: var(--iri-line);
  --shine-line-strong: var(--iri-line-strong);
  --shine-text: var(--iri-ink);
  --shine-muted: var(--iri-muted);
  --shine-dim: var(--iri-dim);
  --shine-cyan: var(--iri-cyan);
  --shine-blue: var(--iri-blue);
  --shine-gold: var(--iri-gold);
  --shine-green: var(--iri-mint);
  --shine-rose: var(--iri-danger);
  --shine-warn: var(--iri-gold);
  --shine-shadow: var(--iri-shadow);
}

@property --glass-wave {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

@property --opening-clear-radius {
  syntax: "<percentage>";
  inherits: false;
  initial-value: -14%;
}

html {
  color-scheme: light;
  background: #f7ebeb;
}

body.iridescence-theme {
  position: relative;
  min-height: 100vh;
  color: var(--iri-ink);
  background: transparent;
  isolation: isolate;
}

body.iridescence-theme ::selection {
  color: #10162a;
  background: rgba(145, 220, 223, 0.72);
}

body.iridescence-theme ::-webkit-scrollbar-track {
  background: rgba(236, 241, 248, 0.88);
}

body.iridescence-theme ::-webkit-scrollbar-thumb {
  border: 3px solid rgba(236, 241, 248, 0.88);
  background: rgba(83, 96, 124, 0.48);
}

.iridescence-stage {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #f7ebeb;
  contain: paint;
  pointer-events: none;
}

.iridescence-canvas,
.iridescence-veil,
.iridescence-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.iridescence-canvas {
  display: block;
  filter: none;
  opacity: 0;
  transition: opacity 520ms ease;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.has-iridescence .iridescence-canvas {
  opacity: 1;
}

.iridescence-veil {
  background: transparent;
  transition: background 500ms ease;
}

.iridescence-grid {
  display: none;
}

.is-login-view .iridescence-veil {
  background: transparent;
}

.is-app-view .iridescence-veil {
  background: rgba(248, 249, 252, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.is-app-view .iridescence-canvas {
  opacity: 1;
  filter: none;
}

.iridescence-fallback .iridescence-stage {
  background:
    linear-gradient(128deg, #f7ebeb, #d5eef2 34%, #f0d3e7 65%, #dfe8cf),
    #f7ebeb;
}

.iridescence-fallback .iridescence-canvas {
  display: none;
}

.iridescence-theme .opening-splash,
.iridescence-theme .portal-transition,
.iridescence-theme .auth-shell,
.iridescence-theme .app-shell {
  position: relative;
  z-index: 1;
}

/* Opening and authorization transition */
.iridescence-theme .opening-splash {
  position: fixed;
  z-index: 200;
  inset: 0;
  overflow: hidden;
  background: transparent;
  filter: none;
  isolation: isolate;
  transition: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.iridescence-theme .opening-splash::before {
  --opening-clear-radius: -14%;
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(245, 248, 252, 0.28);
  content: "";
  mask-image: radial-gradient(
    circle at 100% 100%,
    transparent 0 var(--opening-clear-radius),
    rgba(0, 0, 0, 0.16) calc(var(--opening-clear-radius) + 6%),
    rgba(0, 0, 0, 0.62) calc(var(--opening-clear-radius) + 13%),
    #000 calc(var(--opening-clear-radius) + 20%)
  );
  mask-mode: alpha;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    circle at 100% 100%,
    transparent 0 var(--opening-clear-radius),
    rgba(0, 0, 0, 0.16) calc(var(--opening-clear-radius) + 6%),
    rgba(0, 0, 0, 0.62) calc(var(--opening-clear-radius) + 13%),
    #000 calc(var(--opening-clear-radius) + 20%)
  );
  backdrop-filter: blur(34px) saturate(142%) brightness(1.04);
  -webkit-backdrop-filter: blur(34px) saturate(142%) brightness(1.04);
  will-change: opacity, -webkit-mask-image, mask-image;
}

.iridescence-theme .opening-liquid-logo {
  position: relative;
  display: inline-block;
  overflow: visible;
  padding: 12px 20px 18px;
  color: transparent;
  background:
    linear-gradient(
      158deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.22) 27%,
      rgba(190, 223, 236, 0.42) 48%,
      rgba(255, 255, 255, 0.86) 61%,
      rgba(193, 188, 234, 0.34) 100%
    ),
    linear-gradient(
      104deg,
      rgba(96, 226, 240, 0.72),
      rgba(141, 180, 255, 0.68),
      rgba(215, 145, 245, 0.66),
      rgba(255, 171, 203, 0.62),
      rgba(190, 236, 173, 0.6),
      rgba(249, 218, 126, 0.62),
      rgba(96, 226, 240, 0.72)
    );
  background-size: 100% 100%, 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.9px rgba(255, 255, 255, 0.8);
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.98))
    drop-shadow(0 0 7px rgba(157, 225, 239, 0.46))
    drop-shadow(0 0 18px rgba(180, 158, 238, 0.22))
    drop-shadow(0 18px 34px rgba(52, 61, 88, 0.16));
  font-family: "Segoe Script", cursive;
  font-size: 124px;
  font-weight: 650;
  font-variation-settings: "wght" 650;
  font-feature-settings: "liga" 1, "calt" 1;
  letter-spacing: 0;
  line-height: 1.02;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.86),
    0 0 18px rgba(255, 255, 255, 0.18);
  backface-visibility: hidden;
  isolation: isolate;
  will-change: background-position, transform, opacity, filter;
  animation:
    opening-liquid-logo-arrive 1080ms cubic-bezier(.3, 0, .2, 1) both,
    opening-liquid-glass-flow 6.4s linear infinite;
}

.iridescence-theme .opening-liquid-logo::before,
.iridescence-theme .opening-liquid-logo::after {
  position: absolute;
  inset: 12px 20px 18px;
  color: transparent;
  content: attr(data-text);
  font: inherit;
  letter-spacing: 0;
  line-height: inherit;
  pointer-events: none;
}

.iridescence-theme .opening-liquid-logo::before {
  z-index: -1;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 6px rgba(142, 216, 236, 0.14);
  filter:
    blur(6px)
    drop-shadow(0 0 13px rgba(196, 150, 239, 0.22));
  opacity: 0.72;
}

.iridescence-theme .opening-liquid-logo::after {
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.28) 28%,
      rgba(255, 255, 255, 0.08) 47%,
      rgba(255, 255, 255, 0.74) 62%,
      rgba(255, 255, 255, 0.18) 100%
    );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.55px rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.84));
  opacity: 0.72;
}

.iridescence-theme .opening-wordmark {
  --opening-dock-x: 0px;
  --opening-dock-y: 0px;
  --opening-dock-scale: 0.31;
  --opening-dock-x-mid: 0px;
  --opening-dock-y-mid: 0px;
  --opening-dock-scale-mid: 0.72;
  --opening-dock-x-late: 0px;
  --opening-dock-y-late: 0px;
  --opening-dock-scale-late: 0.4;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  transform-origin: center;
  will-change: transform, opacity, filter;
}

.iridescence-theme .opening-splash.is-leaving {
  opacity: 1;
  filter: none;
  pointer-events: none;
}

.iridescence-theme .opening-splash.is-leaving::before {
  animation: opening-frost-clear-from-bottom-right 1250ms cubic-bezier(.34, .02, .16, 1) both;
}

.iridescence-theme .opening-splash.is-leaving .opening-wordmark {
  animation: opening-wordmark-dock 1250ms cubic-bezier(.4, 0, .2, 1) both;
}

.iridescence-theme .portal-transition {
  position: fixed;
  z-index: 190;
  inset: 0;
  overflow: hidden;
  background: rgba(242, 247, 252, 0.68);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.iridescence-theme .portal-transition::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--iri-spectrum);
  content: "";
  opacity: 0.26;
}

.iridescence-theme .portal-aurora {
  position: absolute;
  z-index: 1;
  inset: -24%;
  filter: blur(44px);
  opacity: 0.54;
}

.iridescence-theme .portal-aurora span {
  background: var(--iri-spectrum);
}

/* Login */
.iridescence-theme .auth-shell {
  min-height: 100svh;
  overflow: hidden;
  color: var(--iri-ink);
  background: transparent;
}

.iridescence-theme .auth-shell::before,
.iridescence-theme .auth-shell::after,
.iridescence-theme .shining-sky {
  display: none !important;
}

.iridescence-theme .auth-masthead {
  z-index: 8;
  padding: 0 clamp(22px, 3.5vw, 54px);
  pointer-events: none;
}

.iridescence-theme .auth-brand-row {
  width: auto;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.13)),
    rgba(241, 243, 249, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2),
    0 12px 34px rgba(50, 59, 84, 0.13);
  backdrop-filter: blur(20px) saturate(150%) brightness(1.03);
  -webkit-backdrop-filter: blur(20px) saturate(150%) brightness(1.03);
  animation: auth-masthead-float 6.5s ease-in-out infinite;
}

.iridescence-theme .auth-brand-row::after {
  display: none;
}

.iridescence-theme .auth-masthead-lockup {
  display: grid;
  gap: 3px;
  justify-items: start;
}

.iridescence-theme .auth-masthead-wordmark,
.iridescence-theme .auth-liquid-wordmark {
  --glass-x: 50%;
  --glass-y: 50%;
  --glass-wave: 0%;
  position: relative;
  display: inline-block;
  overflow: visible;
  color: transparent;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.26) 38%,
      rgba(212, 225, 238, 0.36) 66%,
      rgba(255, 255, 255, 0.66) 100%
    ),
    rgba(238, 241, 248, 0.12);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.75px rgba(255, 255, 255, 0.58);
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 2px 3px rgba(47, 58, 82, 0.28))
    drop-shadow(0 12px 26px rgba(59, 67, 91, 0.16));
  font-feature-settings: "liga" 1, "calt" 1;
  letter-spacing: 0;
  line-height: 1.06;
  text-shadow: none;
  cursor: default;
  isolation: isolate;
}

.iridescence-theme .auth-masthead-wordmark::after,
.iridescence-theme .auth-liquid-wordmark::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  color: transparent;
  background: radial-gradient(
    circle at var(--glass-x) var(--glass-y),
    transparent calc(var(--glass-wave) - 10%),
    rgba(255, 255, 255, 0.18) calc(var(--glass-wave) - 5%),
    rgba(255, 255, 255, 0.98) var(--glass-wave),
    rgba(137, 208, 220, 0.72) calc(var(--glass-wave) + 4%),
    transparent calc(var(--glass-wave) + 11%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  content: attr(data-text);
  -webkit-text-fill-color: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.iridescence-theme .auth-masthead-wordmark.is-glass-hover::after,
.iridescence-theme .auth-liquid-wordmark.is-glass-hover::after {
  opacity: 1;
  animation: auth-glass-glyph-ripple 1.45s cubic-bezier(.16, .72, .24, 1) infinite;
}

.iridescence-theme .auth-masthead-wordmark {
  font-family: "Segoe Script", cursive;
  color: transparent;
  padding: 2px 5px 4px;
  background:
    linear-gradient(
      158deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.24) 27%,
      rgba(190, 223, 236, 0.46) 48%,
      rgba(255, 255, 255, 0.9) 61%,
      rgba(193, 188, 234, 0.38) 100%
    ),
    linear-gradient(
      104deg,
      rgba(96, 226, 240, 0.76),
      rgba(141, 180, 255, 0.72),
      rgba(215, 145, 245, 0.7),
      rgba(255, 171, 203, 0.66),
      rgba(190, 236, 173, 0.64),
      rgba(249, 218, 126, 0.66),
      rgba(96, 226, 240, 0.76)
    );
  background-size: 100% 100%, 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.55px rgba(255, 255, 255, 0.82);
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.98))
    drop-shadow(0 0 5px rgba(157, 225, 239, 0.4))
    drop-shadow(0 0 12px rgba(180, 158, 238, 0.18))
    drop-shadow(0 8px 18px rgba(52, 61, 88, 0.14));
  font-size: 31px;
  font-weight: 650;
  font-variation-settings: "wght" 650;
  animation: opening-liquid-glass-flow 5.4s linear infinite;
}

.iridescence-theme .auth-masthead-wordmark::before,
.iridescence-theme .auth-masthead-wordmark::after {
  position: absolute;
  inset: 2px 5px 4px;
  color: transparent;
  content: attr(data-text);
  font: inherit;
  letter-spacing: 0;
  line-height: inherit;
  pointer-events: none;
}

.iridescence-theme .auth-masthead-wordmark::before {
  z-index: -1;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2.4px rgba(142, 216, 236, 0.13);
  filter: blur(3px) drop-shadow(0 0 7px rgba(196, 150, 239, 0.2));
  opacity: 0.72;
}

.iridescence-theme .auth-masthead-wordmark::after {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.3) 28%,
    rgba(255, 255, 255, 0.08) 47%,
    rgba(255, 255, 255, 0.76) 62%,
    rgba(255, 255, 255, 0.2) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.82));
  opacity: 0.72;
  transition: none;
}

.iridescence-theme .auth-masthead-version {
  display: inline-flex;
  width: max-content;
  height: 19px;
  padding: 0 8px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(225, 181, 66, 0.72);
  border-radius: 999px;
  color: #f5d878;
  background:
    linear-gradient(112deg, #11120e 0%, #292313 31%, #8e6b1b 48%, #211d10 62%, #10120e 100%);
  background-size: 220% 100%;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 191, 0.26),
    0 6px 16px rgba(69, 54, 16, 0.18);
  -webkit-text-fill-color: #f5d878;
  -webkit-text-stroke: 0;
  filter: none;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.58);
  animation: auth-version-gold-flow 4.8s linear infinite;
}

.iridescence-theme .version-badge {
  border-color: rgba(225, 182, 76, 0.74);
  color: #f4d77f;
  background: linear-gradient(180deg, #262417, #11130f);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.34),
    0 7px 20px rgba(80, 63, 17, 0.16);
}

.iridescence-theme .version-badge::after {
  background: rgba(255, 242, 188, 0.55);
}

.iridescence-theme .auth-panel {
  position: absolute;
  z-index: 7;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  display: grid;
  width: min(980px, calc(100% - 40px));
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: var(--iri-ink);
  background: transparent;
  box-shadow: none;
  transform: translate3d(-50%, -50%, 0);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: iridescence-login-window-in 520ms cubic-bezier(.2, .76, .24, 1) 720ms both;
  will-change: transform, opacity;
}

.iridescence-theme .auth-panel::before,
.iridescence-theme .auth-panel::after {
  display: none;
}

body.iridescence-theme.is-booting .auth-brand-row,
body.iridescence-theme.is-booting .auth-panel {
  opacity: 0;
  animation: none;
}

body.iridescence-theme.is-booting .auth-panel {
  transform: translate3d(-50%, calc(-50% + 18px), 0) scale(0.985);
}

.iridescence-theme .auth-shell.is-opening-reveal .auth-brand-row {
  animation: auth-masthead-handoff 1250ms cubic-bezier(.36, 0, .16, 1) both;
}

.iridescence-theme .auth-shell.is-opening-reveal .auth-panel {
  animation: auth-content-handoff 560ms cubic-bezier(.18, .76, .24, 1) 610ms both;
}

.iridescence-theme .auth-shell.is-opening-complete .auth-brand-row {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  animation: none;
}

.iridescence-theme .auth-shell.is-opening-complete .auth-panel {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
  animation: none;
}

.iridescence-theme .auth-liquid-identity {
  display: grid;
  width: 100%;
  gap: 0;
  place-items: center;
}

.iridescence-theme .auth-liquid-wordmark {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  justify-self: stretch;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.68) 0%,
      rgba(255, 255, 255, 0.12) 38%,
      rgba(155, 178, 207, 0.28) 66%,
      rgba(255, 255, 255, 0.48) 100%
    ),
    rgba(238, 241, 248, 0.012);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.65px rgba(255, 255, 255, 0.58);
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.84))
    drop-shadow(0 3px 5px rgba(45, 58, 86, 0.4))
    drop-shadow(0 15px 30px rgba(56, 65, 91, 0.16));
  font-family: "Dancing Script Local", "Segoe Script", cursive;
  font-size: 132px;
  font-weight: 700;
  font-variation-settings: "wght" 700;
  text-align: center;
  white-space: nowrap;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: auth-liquid-logo-float 6s ease-in-out infinite;
}

.iridescence-theme .auth-liquid-version {
  display: inline-flex;
  min-width: 78px;
  height: 34px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  color: rgba(38, 45, 66, 0.8);
  background: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 30px rgba(56, 64, 90, 0.12);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  animation: auth-liquid-version-float 6s ease-in-out 500ms infinite;
}

.iridescence-theme .auth-panel .feishu-auth-action {
  display: block;
  width: min(360px, 100%);
  margin-top: clamp(138px, 21vh, 170px);
}

.iridescence-theme .auth-panel .feishu-login-button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 62px;
  padding: 0 18px;
  overflow: hidden;
  grid-template-columns: 34px 1fr 20px;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: rgba(27, 35, 54, 0.9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.17)),
    rgba(238, 241, 248, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2),
    0 16px 42px rgba(56, 64, 90, 0.14);
  backdrop-filter: blur(24px) saturate(150%) brightness(1.03);
  -webkit-backdrop-filter: blur(24px) saturate(150%) brightness(1.03);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.iridescence-theme .auth-panel .feishu-login-button::before {
  position: absolute;
  inset: 0;
  transform: translateX(-105%);
  background: linear-gradient(
    105deg,
    transparent 24%,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.52),
    rgba(255, 255, 255, 0.18),
    transparent 76%
  );
  content: "";
  transition: transform 560ms cubic-bezier(.2, .75, .25, 1);
}

.iridescence-theme .auth-panel .feishu-login-button:hover {
  border-color: rgba(255, 255, 255, 0.92);
  color: #172033;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.25)),
    rgba(238, 241, 248, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 20px 48px rgba(56, 64, 90, 0.18);
  transform: translateY(-2px);
}

.iridescence-theme .auth-panel .feishu-login-button:hover::before {
  transform: translateX(105%);
}

.iridescence-theme .auth-panel .feishu-button-icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-color: rgba(70, 99, 128, 0.14);
  color: #396f80;
  background: rgba(255, 255, 255, 0.38);
}

.iridescence-theme .auth-panel .feishu-button-copy strong {
  color: inherit;
  font-size: 15px;
  font-weight: 700;
}

.iridescence-theme .auth-panel .button-arrow,
.iridescence-theme .auth-panel .button-loader {
  color: #53647a;
}

.iridescence-theme .auth-panel .feishu-button-copy,
.iridescence-theme .auth-panel .button-arrow,
.iridescence-theme .auth-panel .button-loader {
  position: relative;
  z-index: 1;
}

.iridescence-theme .auth-panel .form-error {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  width: 100%;
  border-color: rgba(151, 63, 82, 0.18);
  color: #963b50;
  background: rgba(255, 248, 250, 0.88);
  box-shadow: var(--iri-shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Application shell and navigation */
.iridescence-theme .app-shell {
  --ink: var(--iri-ink);
  --muted: var(--iri-muted);
  --line: var(--iri-line);
  --line-strong: var(--iri-line-strong);
  --surface: rgba(255, 255, 255, 0.54);
  --canvas: transparent;
  --soft: rgba(255, 255, 255, 0.46);
  --green: #2f8c72;
  --green-soft: rgba(83, 183, 151, 0.14);
  --blue: #566fc3;
  --blue-soft: rgba(103, 133, 211, 0.14);
  --amber: #9b6b17;
  --amber-soft: rgba(209, 168, 78, 0.15);
  --coral: #ad4e61;
  --coral-soft: rgba(212, 101, 132, 0.14);
  min-height: 100vh;
  overflow: clip;
  color: var(--iri-ink);
  background: transparent;
  color-scheme: light;
}

.iridescence-theme .app-shell::before,
.iridescence-theme .app-shell::after {
  display: none;
}

.iridescence-theme .app-atmosphere {
  display: none !important;
}

.iridescence-theme .topbar {
  border-bottom: 1px solid rgba(70, 88, 121, 0.15);
  background: rgba(248, 251, 255, 0.74);
  box-shadow: 0 8px 30px rgba(51, 65, 94, 0.08);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.iridescence-theme .topbar::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--iri-spectrum);
  content: "";
  opacity: 0.48;
}

.iridescence-theme .topbar .brand-row strong {
  color: var(--iri-ink);
}

.iridescence-theme .brand-live-line {
  color: var(--iri-muted);
}

.iridescence-theme .brand-live-line > i {
  background: #35a477;
  box-shadow: 0 0 12px rgba(53, 164, 119, 0.45);
}

.iridescence-theme .tabs {
  border-color: rgba(73, 91, 125, 0.14);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.iridescence-theme .tab-button {
  color: #697289;
}

.iridescence-theme .tab-button::before {
  color: rgba(80, 91, 117, 0.38);
}

.iridescence-theme .tab-button::after {
  bottom: -5px;
  background: linear-gradient(90deg, #4aa99e, #7189d3, #c26f9d);
}

.iridescence-theme .tab-button:hover {
  color: var(--iri-ink);
  background: rgba(255, 255, 255, 0.6);
}

.iridescence-theme .tab-button.is-active {
  color: #182139;
  background: linear-gradient(
    118deg,
    rgba(172, 235, 224, 0.78),
    rgba(196, 209, 249, 0.8) 49%,
    rgba(246, 205, 227, 0.72)
  );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.54),
    0 5px 16px rgba(67, 81, 113, 0.1);
}

.iridescence-theme .refresh-time {
  color: var(--iri-dim);
}

.iridescence-theme .user-chip,
.iridescence-theme .icon-text-button,
.iridescence-theme .icon-button,
.iridescence-theme .secondary-button {
  border-color: var(--iri-line);
  color: var(--iri-ink-soft);
  background: rgba(251, 253, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.iridescence-theme .user-chip-avatar,
.iridescence-theme .owner-avatar,
.iridescence-theme .revision-context-avatar {
  border-color: rgba(54, 139, 144, 0.22);
  color: #226f76;
  background: rgba(112, 211, 204, 0.16);
}

.iridescence-theme .user-chip > svg {
  color: var(--iri-cyan);
}

.iridescence-theme .icon-text-button:hover,
.iridescence-theme .icon-button:hover,
.iridescence-theme .secondary-button:hover {
  border-color: rgba(63, 124, 150, 0.32);
  color: #172033;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--iri-shadow-soft);
}

/* Workspace */
.iridescence-theme .workspace {
  color: var(--iri-ink);
}

.iridescence-theme .chapter-strip {
  border-bottom-color: rgba(66, 86, 121, 0.15);
}

.iridescence-theme .chapter-index {
  border-color: rgba(67, 118, 145, 0.23);
  color: #254d66;
  background: linear-gradient(
    135deg,
    rgba(145, 225, 215, 0.58),
    rgba(180, 199, 245, 0.58),
    rgba(237, 190, 219, 0.54)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.iridescence-theme .chapter-copy p,
.iridescence-theme .section-kicker {
  color: #3b7487;
}

.iridescence-theme .chapter-copy h1,
.iridescence-theme .section-heading h2,
.iridescence-theme .submit-heading h2 {
  color: var(--iri-ink);
}

.iridescence-theme .chapter-signal span {
  background: linear-gradient(90deg, transparent, rgba(65, 133, 150, 0.45));
}

.iridescence-theme .chapter-signal i {
  background: #478ba1;
  box-shadow: 0 0 10px rgba(71, 139, 161, 0.42);
}

.iridescence-theme .quiet-label,
.iridescence-theme .submit-heading > div > p:last-child {
  color: var(--iri-muted);
}

.iridescence-theme .status-banner {
  border-color: rgba(173, 78, 97, 0.2);
  color: #86384a;
  background: rgba(255, 241, 245, 0.72);
  box-shadow: var(--iri-shadow-soft);
}

.iridescence-theme .filter-band {
  border-color: var(--iri-line);
  border-radius: 8px;
  background: rgba(249, 252, 255, 0.82);
  box-shadow: var(--iri-shadow-soft);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.iridescence-theme .search-field > span,
.iridescence-theme .date-preset-control > svg {
  color: #74809a;
}

.iridescence-theme .select-field > span,
.iridescence-theme .date-filter-label > span,
.iridescence-theme .development-owner-field > span,
.iridescence-theme .development-source-field > span,
.iridescence-theme .submit-site-field > span,
.iridescence-theme .bulk-sku-field > span,
.iridescence-theme .revision-field > span {
  color: #667086;
}

.iridescence-theme input,
.iridescence-theme select,
.iridescence-theme textarea {
  border-color: rgba(68, 87, 121, 0.18);
  color: var(--iri-ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.iridescence-theme .app-shell :is(input, select, textarea) {
  color-scheme: light;
}

.iridescence-theme .app-shell :is(
  .search-field input,
  .select-field select,
  .date-preset-control select,
  .custom-date-range input,
  .submit-site-field select,
  .development-owner-field select,
  .development-source-field select,
  .bulk-sku-field textarea,
  .revision-field input,
  .revision-field textarea
) {
  border-color: rgba(68, 87, 121, 0.18);
  color: var(--iri-ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.iridescence-theme .app-shell :is(
  .search-field input,
  .select-field select,
  .date-preset-control select,
  .custom-date-range input,
  .submit-site-field select,
  .development-owner-field select,
  .development-source-field select,
  .bulk-sku-field textarea,
  .revision-field input,
  .revision-field textarea
):hover {
  border-color: rgba(69, 101, 145, 0.3);
}

.iridescence-theme input::placeholder,
.iridescence-theme textarea::placeholder {
  color: #9299aa;
}

.iridescence-theme input:focus,
.iridescence-theme select:focus,
.iridescence-theme textarea:focus {
  border-color: rgba(62, 126, 153, 0.48);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 0 0 3px rgba(77, 147, 169, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.iridescence-theme select option {
  color: var(--iri-ink);
  background: #f7f9fc;
}

.iridescence-theme .date-clear-button,
.iridescence-theme .custom-date-range label > span,
.iridescence-theme .custom-date-title,
.iridescence-theme .date-range-separator {
  color: var(--iri-muted);
}

.iridescence-theme .segment-control {
  border-color: rgba(73, 92, 126, 0.15);
  background: rgba(231, 237, 247, 0.65);
}

.iridescence-theme .segment-control button {
  color: #6b7489;
}

.iridescence-theme .segment-control button:hover {
  color: var(--iri-ink);
}

.iridescence-theme .segment-control button.is-active {
  color: #182139;
  background: linear-gradient(
    118deg,
    rgba(159, 228, 218, 0.84),
    rgba(191, 207, 248, 0.84) 52%,
    rgba(241, 199, 224, 0.8)
  );
  box-shadow: 0 6px 18px rgba(69, 82, 115, 0.11);
}

.iridescence-theme .custom-date-range {
  border-top-color: rgba(73, 91, 124, 0.12);
}

/* Shared content surfaces */
.iridescence-theme .progress-section,
.iridescence-theme .exception-section,
.iridescence-theme .activity-section,
.iridescence-theme .submission-source-section,
.iridescence-theme .submission-selected-section,
.iridescence-theme .boss-block,
.iridescence-theme .table-wrap {
  border-color: var(--iri-line);
  border-radius: 8px;
  color: var(--iri-ink);
  background: rgba(250, 252, 255, 0.82);
  box-shadow: var(--iri-shadow-soft);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.iridescence-theme .kpi-card {
  border-color: var(--iri-line);
  border-radius: 8px;
  color: var(--iri-ink);
  background: rgba(252, 253, 255, 0.88);
  box-shadow: var(--iri-shadow-soft);
}

.iridescence-theme .kpi-card::before {
  height: 2px;
  background: linear-gradient(90deg, var(--accent, #4d9d97), #7a8ed1, #c4779f);
}

.iridescence-theme .kpi-card::after {
  display: none;
}

.iridescence-theme .kpi-card:hover {
  border-color: rgba(76, 103, 148, 0.25);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--iri-shadow);
}

.iridescence-theme .kpi-label,
.iridescence-theme .kpi-caption {
  color: var(--iri-muted);
}

.iridescence-theme .kpi-value {
  color: var(--iri-ink);
}

.iridescence-theme .kpi-icon {
  border-color: rgba(74, 103, 149, 0.14);
  color: var(--iri-ink-soft);
  background: rgba(232, 238, 248, 0.82);
}

.iridescence-theme .overall-progress {
  border-color: rgba(73, 91, 124, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.iridescence-theme .app-shell .progress-section {
  overflow: hidden;
}

.iridescence-theme .app-shell .progress-section > .section-heading,
.iridescence-theme .app-shell .boss-block > .section-heading {
  margin: 0;
  padding: 18px 20px 14px;
  align-items: flex-start;
}

.iridescence-theme .app-shell .overall-progress {
  margin: 0 12px 12px;
  padding: 18px 20px;
  grid-template-columns: minmax(230px, auto) minmax(0, 1fr);
  gap: 24px;
}

.iridescence-theme .app-shell .overall-copy {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
}

.iridescence-theme .app-shell .overall-copy strong {
  white-space: nowrap;
}

.iridescence-theme .app-shell .overall-copy span {
  min-width: 0;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.iridescence-theme .overall-copy strong,
.iridescence-theme .owner-name,
.iridescence-theme .activity-copy strong,
.iridescence-theme .exception-product strong {
  color: var(--iri-ink);
}

.iridescence-theme .overall-copy span,
.iridescence-theme .activity-copy span,
.iridescence-theme .activity-time,
.iridescence-theme .exception-product span {
  color: var(--iri-muted);
}

.iridescence-theme .progress-track {
  background: rgba(91, 105, 135, 0.15);
}

.iridescence-theme .owner-progress {
  background: transparent;
}

.iridescence-theme .progress-track > span {
  background: linear-gradient(90deg, #37927f, #5a8dac, #7f77b6);
}

.iridescence-theme .owner-progress > span {
  min-width: 42px;
  padding: 2px 5px;
  border: 1px solid rgba(73, 91, 124, 0.14);
  border-radius: 999px;
  color: #344057;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.iridescence-theme .owner-table th {
  color: #59657a;
  background: rgba(237, 242, 249, 0.94);
}

.iridescence-theme .owner-table td {
  border-top-color: rgba(75, 92, 124, 0.1);
  color: var(--iri-ink-soft);
  background: rgba(253, 254, 255, 0.92);
}

.iridescence-theme .owner-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.98);
}

.iridescence-theme .owner-exception-link,
.iridescence-theme .failed-count-button,
.iridescence-theme .exception-name {
  color: inherit;
}

.iridescence-theme .number-success {
  color: #24795f;
}

.iridescence-theme .number-processing {
  color: #3e70a8;
}

.iridescence-theme .number-failed {
  color: #a7465b;
}

.iridescence-theme .number-pending {
  color: #8d681d;
}

.iridescence-theme .exception-list,
.iridescence-theme .activity-list {
  border-color: rgba(73, 91, 124, 0.12);
}

.iridescence-theme .app-shell :is(
  .activity-list,
  .exception-list,
  .boss-owner-list,
  .issue-list,
  .submission-selected-list
) {
  border-radius: 8px;
  background: rgba(236, 241, 248, 0.62);
}

.iridescence-theme .exception-item,
.iridescence-theme .activity-item,
.iridescence-theme .issue-row,
.iridescence-theme .boss-owner-row {
  border-color: rgba(73, 91, 124, 0.11);
  color: var(--iri-ink-soft);
  background: rgba(255, 255, 255, 0.46);
}

.iridescence-theme .exception-item:hover,
.iridescence-theme .activity-item:hover,
.iridescence-theme .boss-owner-row:hover {
  background: rgba(255, 255, 255, 0.74);
}

.iridescence-theme .empty-state {
  border-color: rgba(75, 93, 125, 0.13);
  color: var(--iri-muted);
  background: rgba(249, 251, 255, 0.55);
}

/* Gallery */
.iridescence-theme .gallery-card {
  border-color: rgba(75, 93, 125, 0.17);
  border-radius: 8px;
  background: rgba(251, 253, 255, 0.8);
  box-shadow: var(--iri-shadow-soft);
}

.iridescence-theme .gallery-card:hover {
  border-color: rgba(70, 102, 148, 0.28);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--iri-shadow);
}

.iridescence-theme .gallery-card-button {
  color: var(--iri-ink);
}

.iridescence-theme .gallery-set-media {
  background: rgba(75, 92, 122, 0.15);
}

.iridescence-theme .gallery-set-tile {
  background: #fff;
}

.iridescence-theme .gallery-card-copy {
  border-top-color: rgba(75, 93, 125, 0.11);
  background: rgba(251, 253, 255, 0.72);
}

.iridescence-theme .gallery-card h3 {
  color: var(--iri-ink);
}

.iridescence-theme .gallery-sku,
.iridescence-theme .gallery-note {
  color: var(--iri-muted);
}

.iridescence-theme .gallery-card-actions {
  border-top-color: rgba(75, 93, 125, 0.12);
  background: rgba(248, 252, 255, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(128%);
  backdrop-filter: blur(18px) saturate(128%);
}

.iridescence-theme .gallery-version-label {
  color: var(--iri-muted);
}

.iridescence-theme .gallery-satisfaction-button {
  border-color: rgba(139, 111, 77, 0.18);
  color: #75613c;
  background: rgba(255, 252, 239, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 5px 14px rgba(74, 92, 126, 0.06);
}

.iridescence-theme .gallery-satisfaction-button:hover:not(:disabled) {
  border-color: rgba(161, 72, 99, 0.28);
  color: #91445b;
  background: rgba(255, 237, 242, 0.82);
}

.iridescence-theme .gallery-satisfaction-button.is-active {
  border-color: rgba(175, 75, 105, 0.3);
  color: #a33e5d;
  background: linear-gradient(120deg, rgba(255, 225, 234, 0.86), rgba(255, 245, 207, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 5px 15px rgba(155, 64, 92, 0.1);
}

.iridescence-theme .gallery-download-button {
  border-color: rgba(70, 118, 145, 0.2);
  color: #315f77;
  background: linear-gradient(120deg, rgba(198, 239, 244, 0.76), rgba(235, 220, 247, 0.74));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 5px 14px rgba(74, 92, 126, 0.08);
}

.iridescence-theme .gallery-download-button:hover:not(:disabled) {
  border-color: rgba(55, 105, 135, 0.34);
  color: #234e66;
  background: linear-gradient(120deg, rgba(188, 237, 243, 0.92), rgba(239, 213, 247, 0.9));
}

.iridescence-theme .image-count-badge {
  border-color: rgba(71, 108, 146, 0.2);
  color: #2e657a;
  background: rgba(131, 207, 209, 0.16);
}

.iridescence-theme .gallery-load-more {
  border-color: var(--iri-line);
  color: var(--iri-ink-soft);
  background: rgba(251, 253, 255, 0.7);
}

/* Submission */
.iridescence-theme .submission-notice {
  border-color: rgba(65, 128, 153, 0.18);
  color: #315b70;
  background: rgba(220, 242, 244, 0.5);
}

.iridescence-theme .submission-toolbar {
  border-bottom-color: rgba(73, 91, 124, 0.11);
}

.iridescence-theme .app-shell .submission-toolbar {
  border-color: rgba(73, 91, 124, 0.12);
  background: rgba(235, 241, 248, 0.72);
}

.iridescence-theme .submission-source-panel {
  border-color: rgba(73, 91, 124, 0.12);
  background: rgba(255, 255, 255, 0.42);
}

.iridescence-theme .development-product {
  border-color: rgba(73, 91, 124, 0.12);
  color: var(--iri-ink);
  background: rgba(255, 255, 255, 0.54);
}

.iridescence-theme .development-product:hover,
.iridescence-theme .development-product.is-selected {
  border-color: rgba(59, 132, 146, 0.32);
  background: rgba(232, 247, 247, 0.72);
}

.iridescence-theme .development-product-copy strong,
.iridescence-theme .submission-item-copy strong {
  color: var(--iri-ink);
}

.iridescence-theme .development-product-copy span,
.iridescence-theme .development-product-owner,
.iridescence-theme .submission-product-name,
.iridescence-theme .submission-product-meta,
.iridescence-theme .submission-no-reference,
.iridescence-theme .bulk-lookup-status {
  color: var(--iri-muted);
}

.iridescence-theme .development-status.ready {
  border-color: rgba(47, 140, 114, 0.2);
  color: #26735d;
  background: rgba(207, 240, 228, 0.55);
}

.iridescence-theme .development-status.waiting {
  border-color: rgba(155, 107, 23, 0.2);
  color: #85601d;
  background: rgba(247, 235, 203, 0.58);
}

.iridescence-theme .submission-paste-zone,
.iridescence-theme .revision-dropzone {
  border-color: rgba(54, 131, 147, 0.3);
  color: #527083;
  background: rgba(226, 243, 246, 0.48);
}

.iridescence-theme .submission-paste-zone:hover,
.iridescence-theme .submission-paste-zone.is-active,
.iridescence-theme .revision-dropzone:hover,
.iridescence-theme .revision-dropzone.is-dragging {
  border-color: rgba(54, 131, 147, 0.58);
  color: #234d61;
  background: rgba(218, 241, 243, 0.74);
}

.iridescence-theme .submission-item {
  border-color: rgba(73, 91, 124, 0.12);
  color: var(--iri-ink);
  background: rgba(255, 255, 255, 0.52);
}

.iridescence-theme .submission-item.is-active {
  border-color: rgba(51, 134, 142, 0.34);
  background: rgba(225, 244, 244, 0.68);
}

.iridescence-theme .submission-item.is-unresolved {
  border-color: rgba(155, 107, 23, 0.28);
  background: rgba(250, 242, 220, 0.6);
}

.iridescence-theme .submission-reference-thumb,
.iridescence-theme .revision-reference-item,
.iridescence-theme .retry-reference-item {
  border-color: rgba(73, 91, 124, 0.16);
  background: #eef3f8;
}

.iridescence-theme .submission-footer,
.iridescence-theme .revision-footer {
  border-top-color: rgba(73, 91, 124, 0.12);
  color: var(--iri-muted);
}

.iridescence-theme .app-shell .submission-footer {
  display: grid;
  width: min(720px, 100%);
  min-height: 68px;
  margin: 22px 0 0 auto;
  padding: 10px 10px 10px 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-color: rgba(73, 91, 124, 0.16);
  border-radius: 16px;
  color: var(--iri-muted);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(242, 247, 253, 0.68)),
    rgba(250, 252, 255, 0.76);
  box-shadow:
    0 18px 46px rgba(53, 67, 98, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(30px) saturate(155%);
  -webkit-backdrop-filter: blur(30px) saturate(155%);
}

.iridescence-theme .app-shell .submission-footer-copy {
  display: grid;
  min-width: 0;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.iridescence-theme .app-shell .submission-footer-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(76, 111, 145, 0.16);
  border-radius: 10px;
  color: #376b7e;
  background:
    linear-gradient(135deg, rgba(178, 235, 228, 0.56), rgba(202, 214, 250, 0.5)),
    rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.iridescence-theme .app-shell .submission-footer-icon svg {
  width: 17px;
  height: 17px;
}

.iridescence-theme .app-shell .submission-footer-copy > #submissionSummary {
  min-width: 0;
  max-width: 100%;
  color: #5f6b80;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.iridescence-theme .app-shell .submission-footer .primary-button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
}

.iridescence-theme .app-shell .submission-footer .primary-button:disabled {
  border-color: rgba(85, 102, 132, 0.15);
  color: rgba(75, 86, 107, 0.58);
  background: rgba(235, 240, 247, 0.78);
  box-shadow: none;
  opacity: 0.66;
}

.iridescence-theme .app-shell :is(
  .filter-band,
  .kpi-card,
  .overall-progress,
  .table-wrap,
  .activity-list,
  .gallery-card,
  .empty-state,
  .boss-summary-band,
  .boss-owner-list,
  .issue-list,
  .exception-section,
  .submission-source-section,
  .submission-selected-section,
  .submission-footer
) {
  min-width: 0;
}

.iridescence-theme .app-shell :is(
  .section-heading,
  .submit-heading,
  .kpi-card,
  .overall-progress,
  .exception-section,
  .activity-section,
  .submission-source-section,
  .submission-selected-section,
  .submission-footer,
  .boss-block,
  .boss-summary-band
) :is(h1, h2, h3, p, strong, small) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.iridescence-theme .app-shell :is(.section-heading, .submit-heading) > * {
  min-width: 0;
}

.iridescence-theme .app-shell .kpi-caption {
  white-space: normal;
  overflow-wrap: anywhere;
}

.iridescence-theme .app-shell :is(.kpi-card, .boss-block, .boss-summary-band) {
  overflow: hidden;
}

.iridescence-theme .app-shell :is(.kpi-value, .kpi-caption, .section-heading h2) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.iridescence-theme .app-shell :is(
  .development-product-copy,
  .submission-item-copy,
  .submission-product-meta,
  .submission-no-reference,
  .bulk-lookup-status
) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.iridescence-theme .primary-button {
  border-color: rgba(255, 255, 255, 0.62);
  color: #182139;
  background: linear-gradient(
    118deg,
    rgba(148, 226, 216, 0.96),
    rgba(182, 201, 248, 0.96) 48%,
    rgba(239, 188, 218, 0.94)
  );
  box-shadow:
    0 11px 26px rgba(68, 82, 116, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.iridescence-theme .primary-button:hover {
  box-shadow:
    0 15px 34px rgba(68, 82, 116, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  filter: saturate(108%) brightness(1.02);
}

.iridescence-theme .revision-form-error {
  border-color: rgba(173, 78, 97, 0.2);
  color: #913e51;
  background: rgba(255, 241, 245, 0.72);
}

/* Cost overview */
.iridescence-theme .boss-period-toolbar {
  border-color: rgba(75, 93, 125, 0.15);
  background: rgba(250, 252, 255, 0.7);
  box-shadow: var(--iri-shadow-soft);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.iridescence-theme .boss-period-picker,
.iridescence-theme .boss-period-meta,
.iridescence-theme .boss-period-input-wrap svg {
  color: var(--iri-muted);
}

.iridescence-theme .boss-period-picker input {
  border-color: rgba(73, 91, 124, 0.14);
  color: var(--iri-ink);
  background: rgba(249, 251, 255, 0.76);
}

.iridescence-theme .boss-period-picker input:hover {
  border-color: rgba(73, 91, 124, 0.26);
}

.iridescence-theme .boss-period-picker input:focus {
  border-color: rgba(82, 151, 190, 0.52);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(108, 177, 209, 0.1);
}

.iridescence-theme .boss-summary-band {
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  gap: 24px;
  padding: 26px 28px;
  border-color: rgba(75, 93, 125, 0.16);
  border-radius: 8px;
  color: var(--iri-ink);
  background:
    linear-gradient(
      118deg,
      rgba(182, 238, 229, 0.7),
      rgba(205, 215, 249, 0.68) 52%,
      rgba(248, 218, 233, 0.62)
    ),
    rgba(251, 253, 255, 0.72);
  box-shadow: var(--iri-shadow-soft);
}

.iridescence-theme .boss-summary-band::before {
  display: none;
}

.iridescence-theme .boss-summary-band h2 {
  width: 100%;
  max-width: 760px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--iri-ink);
}

.iridescence-theme .boss-summary-band > *,
.iridescence-theme .boss-columns > *,
.iridescence-theme .boss-block .section-heading > * {
  min-width: 0;
}

.iridescence-theme .boss-cost-total {
  min-width: 180px;
  max-width: 100%;
}

.iridescence-theme .boss-block .boss-owner-list,
.iridescence-theme .boss-block .issue-list {
  border-top: 1px solid rgba(73, 91, 124, 0.1);
}

.iridescence-theme .boss-report-time,
.iridescence-theme .boss-cost-total span {
  color: var(--iri-muted);
}

.iridescence-theme .boss-cost-total strong {
  color: #6f5222;
}

.iridescence-theme .report-text {
  border-color: rgba(73, 91, 124, 0.13);
  color: #465168;
  background: rgba(246, 249, 253, 0.78);
}

/* Dialogs */
.iridescence-theme dialog {
  color: var(--iri-ink);
}

.iridescence-theme dialog::backdrop {
  background: rgba(30, 38, 59, 0.48);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.iridescence-theme .product-dialog,
.iridescence-theme .revision-dialog-shell,
.iridescence-theme .retry-dialog-shell {
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--iri-ink);
  background: rgba(248, 251, 255, 0.94);
  box-shadow: 0 34px 90px rgba(28, 37, 59, 0.28);
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
}

.iridescence-theme .dialog-topbar,
.iridescence-theme .revision-topbar {
  border-bottom-color: rgba(73, 91, 124, 0.13);
}

.iridescence-theme .dialog-meta {
  color: #39798a;
}

.iridescence-theme .dialog-topbar h2,
.iridescence-theme .revision-topbar h2,
.iridescence-theme .revision-section-heading h3,
.iridescence-theme .retry-product-row strong {
  color: var(--iri-ink);
}

.iridescence-theme .dialog-topbar p,
.iridescence-theme .revision-topbar p,
.iridescence-theme .revision-section-heading small,
.iridescence-theme .retry-product-row span,
.iridescence-theme .retry-reason span {
  color: var(--iri-muted);
}

.iridescence-theme .primary-image-stage {
  border-color: rgba(73, 91, 124, 0.14);
  background: #f0f4f8;
}

.iridescence-theme .dialog-thumb {
  border-color: rgba(73, 91, 124, 0.14);
  background: #eef3f8;
}

.iridescence-theme .dialog-thumb.is-active {
  border-color: rgba(52, 129, 148, 0.52);
  box-shadow: 0 0 0 2px rgba(74, 148, 166, 0.1);
}

.iridescence-theme .dialog-facts,
.iridescence-theme .dialog-revision-action,
.iridescence-theme .revision-context,
.iridescence-theme .revision-section,
.iridescence-theme .retry-product-row,
.iridescence-theme .retry-reason {
  border-color: rgba(73, 91, 124, 0.13);
  color: var(--iri-ink);
  background: rgba(255, 255, 255, 0.58);
}

.iridescence-theme .dialog-facts dt,
.iridescence-theme .dialog-revision-action span,
.iridescence-theme .revision-context span,
.iridescence-theme .revision-context p,
.iridescence-theme .retry-reason p {
  color: var(--iri-muted);
}

.iridescence-theme .dialog-facts dd,
.iridescence-theme .dialog-revision-action strong,
.iridescence-theme .revision-context strong {
  color: var(--iri-ink);
}

.iridescence-theme .revision-slot {
  border-color: rgba(73, 91, 124, 0.14);
  color: var(--iri-ink-soft);
  background: rgba(255, 255, 255, 0.58);
}

.iridescence-theme .revision-slot:hover,
.iridescence-theme .revision-slot.is-selected {
  border-color: rgba(53, 130, 146, 0.42);
  background: rgba(222, 243, 243, 0.72);
}

.iridescence-theme .revision-slot-number,
.iridescence-theme .revision-drop-icon,
.iridescence-theme .dialog-revision-icon {
  border-color: rgba(54, 131, 147, 0.2);
  color: #39798a;
  background: rgba(115, 206, 202, 0.13);
}

.iridescence-theme .revision-success {
  color: var(--iri-ink);
}

.iridescence-theme .revision-success-icon {
  color: #28745e;
  background: rgba(201, 238, 224, 0.62);
}

.iridescence-theme .revision-success-meta {
  color: var(--iri-muted);
}

.iridescence-theme .stage-arrow {
  border-color: rgba(255, 255, 255, 0.52);
  color: #fff;
  background: rgba(25, 32, 50, 0.68);
}

.iridescence-theme .toast {
  border-color: rgba(255, 255, 255, 0.45);
  color: #f8fbff;
  background: rgba(25, 31, 49, 0.9);
  box-shadow: 0 16px 40px rgba(33, 43, 67, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Keep every top-layer workflow on the same moving liquid-glass system. */
body.iridescence-theme:has(.app-shell:not([hidden])) {
  background: transparent;
}

body.iridescence-theme:has(.app-shell:not([hidden])) :is(
  .product-dialog,
  .revision-dialog
) {
  --ink: var(--iri-ink);
  --muted: var(--iri-muted);
  --line: var(--iri-line);
  --line-strong: var(--iri-line-strong);
  --surface: rgba(255, 255, 255, 0.42);
  --soft: rgba(255, 255, 255, 0.38);
  --green: #2f8c72;
  --green-soft: rgba(83, 183, 151, 0.14);
  --blue: #566fc3;
  --blue-soft: rgba(103, 133, 211, 0.14);
  --amber: #9b6b17;
  --amber-soft: rgba(209, 168, 78, 0.15);
  --coral: #ad4e61;
  --coral-soft: rgba(212, 101, 132, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--iri-ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.2)),
    rgba(246, 243, 248, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 32px 96px rgba(47, 53, 78, 0.22);
  color-scheme: light;
  backdrop-filter: blur(34px) saturate(165%) brightness(1.04);
  -webkit-backdrop-filter: blur(34px) saturate(165%) brightness(1.04);
}

body.iridescence-theme:has(.app-shell:not([hidden])) :is(
  .product-dialog,
  .revision-dialog,
  .retry-dialog
)::backdrop {
  background: rgba(233, 228, 237, 0.18);
  backdrop-filter: blur(9px) saturate(142%);
  -webkit-backdrop-filter: blur(9px) saturate(142%);
}

body.iridescence-theme:has(.app-shell:not([hidden])) :is(
  .revision-dialog-shell,
  .retry-dialog-shell
) {
  --ink: var(--iri-ink);
  --muted: var(--iri-muted);
  --line: var(--iri-line);
  --line-strong: var(--iri-line-strong);
  --surface: rgba(255, 255, 255, 0.42);
  --soft: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--iri-ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.2)),
    rgba(246, 243, 248, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 32px 96px rgba(47, 53, 78, 0.22);
  color-scheme: light;
  backdrop-filter: blur(34px) saturate(165%) brightness(1.04);
  -webkit-backdrop-filter: blur(34px) saturate(165%) brightness(1.04);
}

body.iridescence-theme:has(.app-shell:not([hidden])) :is(
  .dialog-topbar,
  .revision-topbar,
  .revision-footer
) {
  border-color: rgba(70, 88, 121, 0.14);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

body.iridescence-theme:has(.app-shell:not([hidden])) :is(
  .dialog-facts,
  .dialog-revision-action,
  .dialog-fact,
  .revision-context,
  .revision-section,
  .retry-product-row,
  .retry-reason,
  .revision-success-meta
) {
  border-color: rgba(70, 88, 121, 0.13);
  color: var(--iri-ink);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

body.iridescence-theme:has(.app-shell:not([hidden])) :is(
  .dialog-topbar h2,
  .revision-topbar h2,
  .revision-section-heading h3,
  .retry-product-row strong,
  .dialog-facts dd,
  .dialog-revision-action strong,
  .revision-context strong
) {
  color: var(--iri-ink);
}

body.iridescence-theme:has(.app-shell:not([hidden])) :is(
  .dialog-topbar p,
  .revision-topbar p,
  .revision-section-heading small,
  .retry-product-row span,
  .retry-reason span,
  .retry-reason p,
  .dialog-facts dt,
  .dialog-revision-action span,
  .revision-context span,
  .revision-context p
) {
  color: var(--iri-muted);
}

body.iridescence-theme:has(.app-shell:not([hidden])) .revision-context {
  background:
    linear-gradient(125deg, rgba(174, 228, 224, 0.42), rgba(204, 211, 245, 0.32)),
    rgba(255, 255, 255, 0.34);
}

body.iridescence-theme:has(.app-shell:not([hidden])) .revision-section-heading > div > span {
  color: #315c77;
  background: rgba(166, 211, 232, 0.38);
}

body.iridescence-theme:has(.app-shell:not([hidden])) .revision-slot {
  border-color: rgba(70, 88, 121, 0.15);
  color: var(--iri-ink-soft);
  background: rgba(255, 255, 255, 0.42);
}

body.iridescence-theme:has(.app-shell:not([hidden])) .revision-slot.is-selected {
  border-color: rgba(54, 131, 147, 0.5);
  background: rgba(211, 240, 239, 0.62);
  box-shadow: 0 0 0 2px rgba(74, 148, 166, 0.1);
}

body.iridescence-theme:has(.app-shell:not([hidden])) .revision-field > span {
  color: var(--iri-ink-soft);
}

body.iridescence-theme:has(.app-shell:not([hidden])) :is(
  .revision-field input,
  .revision-field textarea
) {
  border-color: rgba(68, 87, 121, 0.18);
  color: var(--iri-ink);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.iridescence-theme:has(.app-shell:not([hidden])) .revision-dropzone {
  border-color: rgba(54, 131, 147, 0.3);
  color: #527083;
  background: rgba(226, 243, 246, 0.48);
}

body.iridescence-theme:has(.app-shell:not([hidden])) :is(
  .revision-drop-icon,
  .revision-reference-item,
  .dialog-revision-icon
) {
  border-color: rgba(54, 131, 147, 0.18);
  color: #39798a;
  background: rgba(255, 255, 255, 0.42);
}

body.iridescence-theme:has(.app-shell:not([hidden])) .revision-reference-item button {
  color: var(--iri-muted);
  background: rgba(255, 255, 255, 0.54);
}

body.iridescence-theme:has(.app-shell:not([hidden])) :is(
  .product-dialog,
  .revision-dialog,
  .retry-dialog
) .primary-button {
  border-color: rgba(255, 255, 255, 0.66);
  color: #182139;
  background: linear-gradient(
    118deg,
    rgba(148, 226, 216, 0.94),
    rgba(182, 201, 248, 0.94) 48%,
    rgba(239, 188, 218, 0.92)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 11px 26px rgba(68, 82, 116, 0.15);
}

body.iridescence-theme:has(.app-shell:not([hidden])) :is(
  .product-dialog,
  .revision-dialog,
  .retry-dialog
) :is(.secondary-button, .icon-button) {
  border-color: rgba(70, 88, 121, 0.16);
  color: var(--iri-ink-soft);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

body.iridescence-theme:has(.app-shell:not([hidden])) :is(
  .product-dialog,
  .revision-dialog,
  .retry-dialog
) :is(.secondary-button, .icon-button):hover {
  border-color: rgba(63, 124, 150, 0.32);
  color: #172033;
  background: rgba(255, 255, 255, 0.7);
}

body.iridescence-theme:has(.app-shell:not([hidden])) .toast {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--iri-ink);
  background: rgba(250, 252, 255, 0.56);
  box-shadow: 0 16px 42px rgba(47, 53, 78, 0.2);
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
}

@media (max-width: 900px) {
  .iridescence-theme .app-shell .boss-summary-band {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .iridescence-theme .app-shell .boss-cost-total {
    width: 100%;
    min-width: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(73, 91, 124, 0.12);
    text-align: left;
  }
}

@media (max-width: 720px) {
  .iridescence-theme .app-shell .overall-progress {
    padding: 16px;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .iridescence-theme .app-shell .submission-footer {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .iridescence-theme .app-shell .progress-section > .section-heading,
  .iridescence-theme .app-shell .boss-block > .section-heading {
    padding: 16px;
  }

  .iridescence-theme .app-shell .overall-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .iridescence-theme .app-shell .submission-footer {
    padding: 12px;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    border-radius: 14px;
  }

  .iridescence-theme .app-shell .submission-footer .primary-button {
    width: 100%;
  }
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .iridescence-theme .topbar,
  .iridescence-theme .filter-band,
  .iridescence-theme .progress-section,
  .iridescence-theme .exception-section,
  .iridescence-theme .activity-section,
  .iridescence-theme .submission-source-section,
  .iridescence-theme .submission-selected-section,
  .iridescence-theme .boss-block {
    background: rgba(248, 251, 255, 0.95);
  }
}

@media (max-width: 720px) {
  .iridescence-theme .iridescence-grid {
    background-size: 48px 48px;
    opacity: 0.1;
  }

  .iridescence-theme .topbar {
    background: rgba(248, 251, 255, 0.88);
  }

  .iridescence-theme .auth-panel .feishu-login-button {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 12px 32px rgba(56, 64, 90, 0.14);
  }

  .iridescence-theme .auth-liquid-wordmark {
    min-height: 0;
    padding: 0;
    font-size: 62px;
  }

  .iridescence-theme .opening-liquid-logo {
    font-size: 84px;
  }
}

@media (max-width: 520px) {
  .iridescence-theme .auth-masthead {
    height: 78px;
    padding: 0 16px;
  }

  .iridescence-theme .auth-brand-row {
    padding: 8px 12px;
    border-radius: 15px;
  }

  .iridescence-theme .auth-masthead-wordmark {
    font-size: 24px;
  }

  .iridescence-theme .auth-masthead-version {
    font-size: 9px;
  }

  .iridescence-theme .auth-panel {
    top: 50%;
    right: auto;
    left: 50%;
    width: min(360px, calc(100% - 28px));
    min-height: 0;
    padding: 0;
    gap: 16px;
    transform: translate3d(-50%, -50%, 0);
  }

  .iridescence-theme .auth-liquid-identity {
    gap: 0;
  }

  .iridescence-theme .auth-liquid-wordmark {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    font-size: 42px;
  }

  .iridescence-theme .auth-panel .feishu-auth-action,
  .iridescence-theme .auth-panel .feishu-login-button {
    width: 100%;
  }

  .iridescence-theme .auth-panel .feishu-auth-action {
    margin-top: clamp(112px, 15vh, 132px);
  }

  .iridescence-theme .auth-panel .feishu-login-button {
    min-height: 56px;
    padding: 0 14px;
    grid-template-columns: 32px 1fr 18px;
    gap: 9px;
  }

  .iridescence-theme .auth-panel .feishu-button-icon {
    width: 32px;
    height: 32px;
  }

  .iridescence-theme .auth-panel .feishu-button-copy strong {
    font-size: 13px;
  }

  .iridescence-theme .opening-liquid-logo {
    font-size: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iridescence-theme .opening-wordmark,
  .iridescence-theme .opening-liquid-logo,
  .iridescence-theme .opening-liquid-logo::before,
  .iridescence-theme .opening-liquid-logo::after,
  .iridescence-theme .version-badge::after,
  .iridescence-theme .auth-panel,
  .iridescence-theme .auth-brand-row,
  .iridescence-theme .auth-masthead-version,
  .iridescence-theme .auth-masthead-wordmark,
  .iridescence-theme .auth-liquid-wordmark,
  .iridescence-theme .auth-masthead-wordmark::before,
  .iridescence-theme .auth-liquid-wordmark::before,
  .iridescence-theme .auth-masthead-wordmark::after,
  .iridescence-theme .auth-liquid-wordmark::after,
  .iridescence-theme .auth-liquid-version {
    animation: none !important;
  }

  .iridescence-theme .auth-masthead-wordmark,
  .iridescence-theme .auth-liquid-wordmark {
    mask-image: none;
    -webkit-mask-image: none;
    opacity: 1;
  }

  .iridescence-theme .auth-masthead-wordmark::before,
  .iridescence-theme .auth-liquid-wordmark::before {
    display: none;
  }

  .iridescence-theme .iridescence-canvas {
    transition: none;
  }

  .iridescence-theme .opening-splash.is-leaving {
    opacity: 0;
    animation: none !important;
    transition: opacity 180ms ease;
  }

  .iridescence-theme .opening-splash.is-leaving::before {
    --opening-clear-radius: 148%;
    animation: none !important;
  }
}

/* A single liquid-glass layer now glides beneath the active workspace. */
.iridescence-theme .tab-button.is-active {
  color: #182139;
  background: transparent;
  box-shadow: none;
}

.iridescence-theme .tabs-liquid-indicator {
  border-color: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 255, 255, 0.96), transparent 35%),
    linear-gradient(118deg, rgba(142, 231, 225, 0.6), rgba(192, 202, 252, 0.59) 47%, rgba(247, 189, 224, 0.57));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(98, 116, 173, 0.12),
    0 8px 21px rgba(71, 82, 126, 0.15);
}

@keyframes auth-masthead-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -3px, 0);
  }
}

@keyframes auth-liquid-logo-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes auth-liquid-version-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 5px, 0);
  }
}

@keyframes auth-version-gold-flow {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -105% 0;
  }
}

@keyframes auth-glass-glyph-ripple {
  0% {
    --glass-wave: 0%;
  }
  72% {
    --glass-wave: 72%;
  }
  100% {
    --glass-wave: 108%;
  }
}

@keyframes opening-liquid-logo-arrive {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.95);
  }
  64% {
    opacity: 0.94;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes opening-liquid-glass-flow {
  0% {
    background-position: 0 0, 0% 50%;
  }
  100% {
    background-position: 0 0, 100% 50%;
  }
}

@keyframes auth-masthead-handoff {
  0%, 82% {
    opacity: 0;
    filter: blur(2px) brightness(1.08);
    transform: translate3d(0, 1px, 0) scale(1.04);
  }
  100% {
    opacity: 1;
    filter: blur(0) brightness(1);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes auth-content-handoff {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(-50%, calc(-50% + 18px), 0) scale(0.985);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
}

@keyframes opening-wordmark-dock {
  0% {
    opacity: 1;
    filter: brightness(1) saturate(1);
    transform: translate3d(0, 0, 0) scale(1);
  }
  46% {
    opacity: 1;
    filter: brightness(1.01) saturate(1.01);
    transform: translate3d(
      var(--opening-dock-x-mid),
      var(--opening-dock-y-mid),
      0
    ) scale(var(--opening-dock-scale-mid));
  }
  86% {
    opacity: 1;
    filter: brightness(1.03) saturate(1.02);
    transform: translate3d(
      var(--opening-dock-x-late),
      var(--opening-dock-y-late),
      0
    ) scale(var(--opening-dock-scale-late));
  }
  100% {
    opacity: 0;
    filter: brightness(1.03) saturate(1);
    transform: translate3d(
      var(--opening-dock-x),
      var(--opening-dock-y),
      0
    ) scale(var(--opening-dock-scale));
  }
}

@keyframes opening-frost-clear-from-bottom-right {
  0% {
    --opening-clear-radius: -14%;
    opacity: 1;
  }
  18% {
    --opening-clear-radius: -7%;
    opacity: 0.99;
  }
  100% {
    --opening-clear-radius: 148%;
    opacity: 0.96;
  }
}

@keyframes iridescence-login-window-in {
  0% {
    opacity: 0;
    transform: translate3d(-50%, calc(-50% + 14px), 0) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
}

/* V 7.1 Beta */
.iridescence-theme .auth-masthead-version,
.iridescence-theme .version-badge {
  width: max-content;
  min-width: max-content;
  white-space: nowrap;
}

.iridescence-theme .tab-button-beta > small {
  border: 1px solid rgba(110, 87, 165, 0.16);
  color: #6c4f9f;
  background: rgba(244, 225, 252, 0.78);
  box-shadow: 0 3px 10px rgba(93, 73, 142, 0.1);
}

.iridescence-theme .smart-copy-placeholder {
  border-color: rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.25)),
    rgba(248, 246, 251, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 28px 88px rgba(52, 58, 84, 0.14);
}

.iridescence-theme .smart-copy-intro > h2 {
  color: var(--iri-ink);
}

.iridescence-theme .bruce-nudge-button,
.iridescence-theme .bruce-floating-copy > p,
.iridescence-theme .bruce-actions button,
.iridescence-theme .bruce-close-button {
  border-color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.72), rgba(236, 244, 251, 0.38)),
    rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 34px rgba(48, 62, 91, 0.13);
}

.iridescence-theme .bruce-nudge-button:hover,
.iridescence-theme .bruce-actions button:hover {
  border-color: rgba(69, 145, 167, 0.38);
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.86), rgba(224, 244, 248, 0.56)),
    rgba(255, 255, 255, 0.48);
}

.iridescence-theme .bruce-actions button.is-selected {
  color: #175f6f;
  border-color: rgba(54, 146, 154, 0.46);
  background:
    linear-gradient(132deg, rgba(221, 250, 247, 0.84), rgba(235, 229, 250, 0.58)),
    rgba(255, 255, 255, 0.46);
}

.iridescence-theme .revision-history-row {
  color: var(--iri-ink);
  background: rgba(255, 255, 255, 0.54);
}

.iridescence-theme .revision-history-row:hover {
  border-color: rgba(65, 128, 153, 0.3);
  background: rgba(255, 255, 255, 0.76);
}

/* V7.2.1 smart workspace readability */
.iridescence-theme .feature-workbench.smart-copy-placeholder {
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.iridescence-theme :is(.feature-status-band, .feature-compose-panel, .feature-history-panel) {
  border-color: rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 253, 0.8)),
    rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 18px 48px rgba(53, 61, 92, 0.11);
}

.iridescence-theme .feature-field :is(select, input, textarea) {
  border-color: rgba(72, 91, 124, 0.2);
  color: #1d2940;
  background: rgba(255, 255, 255, 0.86);
}

.iridescence-theme .feature-field :is(select, input, textarea):focus {
  border-color: rgba(45, 132, 151, 0.52);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(83, 174, 180, 0.12);
}

.iridescence-theme .feature-task-row {
  color: #1d2940;
  background: rgba(252, 253, 255, 0.82);
}

@media (max-width: 680px) {
  .iridescence-theme .feature-workbench.smart-copy-placeholder,
  .iridescence-theme .feature-workbench {
    min-height: auto;
  }
}

.iridescence-theme .revision-history-row.is-selected {
  border-color: rgba(53, 130, 146, 0.52);
  background: linear-gradient(112deg, rgba(216, 242, 240, 0.76), rgba(237, 232, 249, 0.72));
}

/* The V7 badge is liquid iridescent glass on both the login and app shells. */
.iridescence-theme .auth-masthead-version,
.iridescence-theme .version-badge {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.82);
  color: #26334d;
  background:
    linear-gradient(112deg, rgba(151, 238, 230, 0.92), rgba(205, 194, 255, 0.92) 30%, rgba(255, 186, 224, 0.9) 56%, rgba(255, 232, 173, 0.9) 76%, rgba(148, 225, 246, 0.92));
  background-size: 280% 280%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(98, 111, 164, 0.13),
    0 7px 22px rgba(79, 89, 139, 0.2);
  -webkit-text-fill-color: #26334d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
  animation: version-iridescence-flow 6.8s ease-in-out infinite;
}

.iridescence-theme .auth-masthead-version::before,
.iridescence-theme .version-badge::before {
  position: absolute;
  z-index: -1;
  inset: -60% -24%;
  content: "";
  background: linear-gradient(100deg, transparent 34%, rgba(255, 255, 255, 0.72) 49%, transparent 64%);
  transform: translateX(-44%) rotate(8deg);
  animation: version-iridescence-sheen 4.6s ease-in-out infinite;
}

.iridescence-theme .auth-masthead-version::after,
.iridescence-theme .version-badge::after {
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: inherit;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 58%);
}

@keyframes version-iridescence-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes version-iridescence-sheen {
  0%, 20% { transform: translateX(-54%) rotate(8deg); opacity: 0; }
  42% { opacity: 0.9; }
  70%, 100% { transform: translateX(54%) rotate(8deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .iridescence-theme .auth-masthead-version,
  .iridescence-theme .version-badge,
  .iridescence-theme .auth-masthead-version::before,
  .iridescence-theme .version-badge::before {
    animation: none;
  }
}

/* Avoid expensive glass recompositing while the background animation keeps moving. */
body.iridescence-theme.is-scroll-active .topbar {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.iridescence-theme.is-scroll-active :is(
  .filter-band,
  .progress-section,
  .exception-section,
  .activity-section,
  .submission-source-section,
  .submission-selected-section,
  .boss-block,
  .table-wrap,
  .gallery-card-actions,
  .image-count-badge
) {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body.iridescence-theme.is-scroll-active :is(
  .gallery-card,
  .gallery-set-tile img,
  .gallery-carousel img,
  .revision-history-row,
  .revision-slot
) {
  transition: none !important;
}

body.iridescence-theme.has-open-dialog dialog::backdrop {
  background: rgba(39, 45, 61, 0.5);
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body.iridescence-theme.has-open-dialog :is(
  .product-dialog,
  .revision-dialog-shell,
  .retry-dialog-shell
) {
  background: rgba(248, 250, 253, 0.97);
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body.iridescence-theme.has-open-dialog :is(
  .dialog-topbar,
  .revision-topbar,
  .revision-footer
) {
  background: rgba(250, 252, 255, 0.96);
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* V 7.1 Beta: keep the expanded workspace navigation out of the action area. */
.iridescence-theme .topbar-inner {
  width: min(1880px, 100%);
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  gap: 14px;
}

.iridescence-theme .tabs {
  width: max-content;
  min-width: 0;
  max-width: 100%;
  justify-self: center;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  clip-path: inset(0 round 10px);
}

.iridescence-theme .tabs::-webkit-scrollbar {
  display: none;
}

.iridescence-theme .tab-button {
  min-width: 86px;
  flex: 0 0 86px;
  display: inline-flex;
  padding-right: 7px;
  padding-left: 7px;
  justify-content: center;
  white-space: nowrap;
}

.iridescence-theme .top-actions {
  position: relative;
  z-index: 4;
  justify-self: end;
  min-width: max-content;
  max-width: 100%;
  flex-wrap: nowrap;
  white-space: nowrap;
  transform: translateX(10px);
}

.iridescence-theme .top-actions :is(.user-chip, .icon-text-button, .icon-button) {
  flex: 0 0 auto;
}

.iridescence-theme .top-actions .user-chip {
  max-width: 144px;
  min-height: 42px;
  padding: 4px 7px 4px 4px;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 14px;
  color: #24314a;
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.82), rgba(232, 243, 250, 0.52)),
    rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 7px 20px rgba(53, 66, 96, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.iridescence-theme .top-actions .user-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 151, 174, 0.3);
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.94), rgba(226, 244, 248, 0.68)),
    rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 26px rgba(53, 66, 96, 0.14);
}

.iridescence-theme .top-actions .user-chip-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(78, 154, 170, 0.22);
  border-radius: 11px;
  color: #246779;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.94), transparent 34%),
    linear-gradient(135deg, rgba(166, 237, 230, 0.76), rgba(193, 213, 250, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 12px rgba(61, 117, 139, 0.12);
  font-size: 12px;
  font-weight: 780;
}

.iridescence-theme .top-actions .user-chip-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #263249;
  font-size: 12px;
  font-weight: 720;
  line-height: 1;
}

.iridescence-theme .top-actions .user-chip-verified {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(55, 145, 144, 0.18);
  border-radius: 50%;
  color: #248b87;
  background: rgba(186, 239, 233, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.iridescence-theme .top-actions .user-chip-verified svg {
  width: 13px;
  height: 13px;
}

.iridescence-theme .top-actions :is(.icon-text-button, .icon-button) {
  min-height: 40px;
  border-radius: 12px;
  border-color: rgba(73, 91, 125, 0.18);
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 5px 16px rgba(54, 66, 96, 0.08);
}

.iridescence-theme .top-actions .icon-text-button {
  min-width: max-content;
  padding-right: 13px;
  padding-left: 13px;
}

.iridescence-theme .top-actions .icon-button {
  width: 40px;
  height: 40px;
}

@media (max-width: 1840px) {
  .iridescence-theme .topbar-inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .iridescence-theme .refresh-time {
    display: none;
  }
}

@media (max-width: 1660px) {
  .iridescence-theme .top-actions {
    gap: 6px;
  }

  .iridescence-theme .top-actions .user-chip-name,
  .iridescence-theme .top-actions .icon-text-button span {
    display: none;
  }

  .iridescence-theme .top-actions .user-chip {
    width: 40px;
    max-width: 40px;
    padding: 4px;
    gap: 0;
  }

  .iridescence-theme .top-actions .user-chip-verified {
    display: none;
  }

  .iridescence-theme .top-actions .icon-text-button {
    width: 40px;
    min-width: 40px;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 1280px) {
  .iridescence-theme .topbar-inner {
    min-height: 126px;
    padding-top: 12px;
    padding-bottom: 10px;
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-rows: auto auto;
    gap: 10px 14px;
  }

  .iridescence-theme .topbar .brand-row {
    grid-column: 1;
    grid-row: 1;
  }

  .iridescence-theme .top-actions {
    grid-column: 2;
    grid-row: 1;
    transform: none;
  }

  .iridescence-theme .tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    width: max-content;
    max-width: 100%;
    justify-self: center;
    min-height: 46px;
  }

  .iridescence-theme .tab-button {
    min-width: 94px;
    flex-basis: 94px;
  }
}

@media (max-width: 720px) {
  .iridescence-theme .topbar-inner {
    padding-right: 12px;
    padding-left: 12px;
  }

  .iridescence-theme .top-actions {
    gap: 6px;
  }

  .iridescence-theme .top-actions .user-chip-name,
  .iridescence-theme .top-actions .icon-text-button span {
    display: none;
  }

  .iridescence-theme .top-actions .user-chip {
    width: 40px;
    max-width: 40px;
    padding: 4px;
    gap: 0;
  }

  .iridescence-theme .top-actions .user-chip-verified {
    display: none;
  }

  .iridescence-theme .top-actions .icon-text-button {
    width: 40px;
    min-width: 40px;
    padding: 0;
    justify-content: center;
  }

  .iridescence-theme .tab-button {
    min-width: 84px;
    flex-basis: 84px;
  }
}

body.iridescence-theme.has-open-dialog :is(
  .dialog-facts,
  .dialog-revision-action,
  .revision-context,
  .revision-section
) {
  background: rgba(255, 255, 255, 0.86);
}

/* Login signature and compact release notes. */
.iridescence-theme .auth-signature {
  position: absolute;
  z-index: 7;
  right: 50%;
  bottom: clamp(18px, 3vh, 30px);
  max-width: calc(100% - 280px);
  transform: translateX(50%);
  pointer-events: none;
}

.iridescence-theme .auth-signature-wordmark {
  width: max-content;
  max-width: 100%;
  padding: 0 10px;
  pointer-events: auto;
  font-size: clamp(6px, 0.64vw, 11px);
  font-weight: 660;
  opacity: 0.88;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.92))
    drop-shadow(0 3px 5px rgba(45, 58, 86, 0.28))
    drop-shadow(0 12px 26px rgba(56, 65, 91, 0.14));
  animation: auth-signature-float 7s ease-in-out infinite;
}

.iridescence-theme .release-notes-trigger {
  position: absolute;
  z-index: 8;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(20px, 3vh, 30px);
  min-height: 42px;
  padding: 5px 12px 5px 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  color: #2c3850;
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.72), rgba(233, 241, 250, 0.36)),
    rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 9px 26px rgba(48, 59, 88, 0.13);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.iridescence-theme .release-notes-trigger:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 149, 173, 0.34);
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.9), rgba(224, 241, 249, 0.56)),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 13px 32px rgba(48, 59, 88, 0.17);
}

.iridescence-theme .release-notes-trigger > svg {
  width: 14px;
  height: 14px;
  color: #66728a;
}

.iridescence-theme .release-notes-trigger-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(82, 150, 164, 0.18);
  border-radius: 10px;
  color: #28798a;
  background: linear-gradient(135deg, rgba(173, 238, 231, 0.6), rgba(205, 214, 250, 0.56));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.iridescence-theme .release-notes-trigger-icon svg {
  width: 15px;
  height: 15px;
}

.iridescence-theme .release-notes-dialog {
  width: min(710px, calc(100% - 32px));
  max-width: none;
  max-height: min(86vh, 720px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  color: #1e293e;
  background: transparent;
}

.iridescence-theme .release-notes-dialog::backdrop {
  background: rgba(38, 45, 63, 0.26);
  -webkit-backdrop-filter: blur(18px) saturate(128%);
  backdrop-filter: blur(18px) saturate(128%);
}

.iridescence-theme .release-notes-dialog[open] {
  animation: release-notes-dialog-in 360ms cubic-bezier(.2, .8, .24, 1) both;
}

.iridescence-theme .release-notes-panel {
  position: relative;
  max-height: min(86vh, 720px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.69), rgba(235, 243, 250, 0.49)),
    rgba(247, 249, 253, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(121, 146, 174, 0.08),
    0 34px 90px rgba(36, 45, 68, 0.24);
  -webkit-backdrop-filter: blur(36px) saturate(165%);
  backdrop-filter: blur(36px) saturate(165%);
}

.iridescence-theme .release-notes-panel::before {
  position: absolute;
  z-index: 0;
  top: -34%;
  left: -12%;
  width: 72%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.62), rgba(192, 239, 236, 0.18) 47%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
  content: "";
}

.iridescence-theme .release-notes-header {
  position: relative;
  z-index: 1;
  min-height: 104px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(74, 91, 123, 0.12);
  background: linear-gradient(118deg, rgba(219, 246, 242, 0.34), rgba(234, 229, 250, 0.3), rgba(252, 226, 239, 0.28));
}

.iridescence-theme .release-notes-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  color: #2f7886;
  background: linear-gradient(135deg, rgba(174, 239, 232, 0.72), rgba(208, 208, 251, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 22px rgba(56, 75, 108, 0.12);
}

.iridescence-theme .release-notes-mark svg {
  width: 21px;
  height: 21px;
}

.iridescence-theme .release-notes-header small {
  color: #438093;
  font-size: 9px;
  font-weight: 800;
}

.iridescence-theme .release-notes-header h2 {
  margin: 3px 0 2px;
  color: #1b263b;
  font-size: 23px;
  line-height: 1.15;
}

.iridescence-theme .release-notes-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(74, 91, 123, 0.14);
  border-radius: 12px;
  color: #536078;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.iridescence-theme .release-notes-close:hover {
  transform: scale(1.04);
  background: rgba(255, 255, 255, 0.9);
}

.iridescence-theme .release-notes-close svg {
  width: 18px;
  height: 18px;
}

.iridescence-theme .release-notes-body {
  position: relative;
  z-index: 1;
  max-height: calc(min(86vh, 720px) - 104px);
  padding: 22px 24px 18px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 118, 151, 0.28) transparent;
}

.iridescence-theme .release-notes-version-line {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.iridescence-theme .release-notes-version-line strong {
  color: #26334c;
  font-size: 13px;
}

.iridescence-theme .release-notes-version-line span {
  padding: 3px 8px;
  border: 1px solid rgba(53, 153, 142, 0.18);
  border-radius: 999px;
  color: #247b73;
  background: rgba(207, 242, 236, 0.54);
  font-size: 9px;
  font-weight: 760;
}

.iridescence-theme .release-notes-items {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.iridescence-theme .release-notes-items li {
  position: relative;
  padding: 9px 10px 9px 27px;
  border-bottom: 1px solid rgba(73, 91, 124, 0.08);
  color: #556178;
  font-size: 12px;
  line-height: 1.62;
}

.iridescence-theme .release-notes-items li:last-child {
  border-bottom: 0;
}

.iridescence-theme .release-notes-items li::before {
  position: absolute;
  top: 1.03em;
  left: 8px;
  width: 7px;
  height: 7px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: linear-gradient(135deg, #42aa9b, #8496ce);
  box-shadow: 0 0 0 3px rgba(75, 157, 157, 0.09);
  content: "";
}

.iridescence-theme .release-notes-footer {
  margin-top: 13px;
  padding-top: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid rgba(73, 91, 124, 0.1);
  color: #587080;
  font-size: 10px;
  font-weight: 700;
}

.iridescence-theme .release-notes-footer svg {
  width: 14px;
  height: 14px;
  color: #2d9789;
}

.iridescence-theme .release-notes-list {
  max-height: calc(min(82vh, 760px) - 104px);
  padding: 4px 22px 18px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 118, 151, 0.28) transparent;
}

.iridescence-theme .release-note-item {
  position: relative;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  border-bottom: 1px solid rgba(73, 91, 124, 0.1);
}

.iridescence-theme .release-note-item:last-child {
  border-bottom: 0;
}

.iridescence-theme .release-note-item::before {
  position: absolute;
  top: 25px;
  left: 120px;
  width: 7px;
  height: 7px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #8b99ba;
  box-shadow: 0 0 0 3px rgba(139, 153, 186, 0.12);
  content: "";
}

.iridescence-theme .release-note-item.is-current::before {
  background: #35a997;
  box-shadow: 0 0 0 3px rgba(53, 169, 151, 0.15), 0 0 14px rgba(53, 169, 151, 0.3);
}

.iridescence-theme .release-note-version {
  display: grid;
  align-content: start;
  gap: 6px;
}

.iridescence-theme .release-note-version strong {
  color: #26334c;
  font-size: 13px;
}

.iridescence-theme .release-note-version span {
  width: max-content;
  padding: 3px 7px;
  border: 1px solid rgba(82, 121, 153, 0.14);
  border-radius: 999px;
  color: #607087;
  background: rgba(235, 242, 249, 0.7);
  font-size: 9px;
  font-weight: 720;
}

.iridescence-theme .release-note-item.is-current .release-note-version span {
  border-color: rgba(53, 153, 142, 0.18);
  color: #247b73;
  background: rgba(207, 242, 236, 0.64);
}

.iridescence-theme .release-note-copy h3 {
  margin: 0 0 8px;
  color: #202c42;
  font-size: 15px;
}

.iridescence-theme .release-note-copy ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
  list-style: none;
}

.iridescence-theme .release-note-copy li {
  position: relative;
  padding-left: 13px;
  color: #657087;
  font-size: 12px;
  line-height: 1.55;
}

.iridescence-theme .release-note-copy li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7f91b6;
  content: "";
}

@keyframes auth-signature-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes release-notes-dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 720px) {
  .iridescence-theme .auth-signature {
    right: auto;
    bottom: 74px;
    left: 50%;
    max-width: calc(100% - 36px);
    transform: translateX(-50%);
  }

  .iridescence-theme .auth-signature-wordmark {
    font-size: clamp(5px, 1.6vw, 7.2px);
  }

  .iridescence-theme .release-notes-trigger {
    right: 14px;
    bottom: 14px;
  }

  .iridescence-theme .release-notes-panel {
    border-radius: 17px;
  }

  .iridescence-theme .release-notes-header {
    min-height: 92px;
    padding: 16px;
    grid-template-columns: 40px minmax(0, 1fr) 36px;
    gap: 11px;
  }

  .iridescence-theme .release-notes-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .iridescence-theme .release-notes-close {
    width: 36px;
    height: 36px;
  }

  .iridescence-theme .release-notes-list {
    padding-right: 16px;
    padding-left: 16px;
  }

  .iridescence-theme .release-notes-body {
    max-height: calc(min(86vh, 720px) - 92px);
    padding: 18px 16px 14px;
  }

  .iridescence-theme .release-notes-items {
    gap: 5px;
  }

  .iridescence-theme .release-notes-items li {
    padding-right: 2px;
    padding-left: 23px;
  }

  .iridescence-theme .release-notes-items li::before {
    left: 5px;
  }

  .iridescence-theme .release-note-item {
    padding: 17px 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .iridescence-theme .release-note-item::before {
    display: none;
  }

  .iridescence-theme .release-note-version {
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: start;
  }
}

/* Feedback keeps the same liquid-glass visual language as the workbench. */
.iridescence-theme .feedback-trigger {
  border-color: rgba(79, 146, 160, 0.2) !important;
  color: #2a6575;
  background:
    linear-gradient(128deg, rgba(217, 247, 242, 0.66), rgba(239, 226, 250, 0.58)),
    rgba(255, 255, 255, 0.55) !important;
}

.iridescence-theme .feedback-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(72, 145, 160, 0.38) !important;
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px rgba(56, 79, 110, 0.13) !important;
}

.iridescence-theme .feedback-dialog[open] {
  animation: feedback-dialog-in 320ms cubic-bezier(.2, .8, .24, 1) both;
}

.iridescence-theme .feedback-dialog-shell {
  border-color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(142deg, rgba(255, 255, 255, 0.84), rgba(240, 245, 252, 0.67)),
    rgba(248, 250, 254, 0.7);
  box-shadow: inset 0 1px 0 #fff, 0 36px 96px rgba(36, 46, 70, 0.25);
  -webkit-backdrop-filter: blur(36px) saturate(155%);
  backdrop-filter: blur(36px) saturate(155%);
}

.iridescence-theme .feedback-header {
  background:
    radial-gradient(circle at 8% 0%, rgba(185, 242, 236, 0.45), transparent 34%),
    linear-gradient(118deg, rgba(235, 248, 250, 0.52), rgba(240, 231, 251, 0.48), rgba(253, 232, 242, 0.42));
}

.iridescence-theme .feedback-header h2,
.iridescence-theme .feedback-field strong,
.iridescence-theme .feedback-section-heading strong,
.iridescence-theme .feedback-success h2 {
  color: var(--iri-ink);
}

.iridescence-theme .feedback-field textarea,
.iridescence-theme .feedback-dropzone,
.iridescence-theme .feedback-preview-item {
  border-color: rgba(73, 91, 124, 0.15);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
}

.iridescence-theme .feedback-dropzone {
  border-style: dashed;
  background: linear-gradient(128deg, rgba(224, 247, 246, 0.53), rgba(239, 234, 251, 0.48));
}

.iridescence-theme .feedback-footer {
  background: rgba(247, 250, 254, 0.76);
}

.iridescence-theme .feedback-success-icon {
  background: linear-gradient(135deg, rgba(188, 239, 230, 0.76), rgba(213, 222, 251, 0.7));
}

@keyframes feedback-dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .iridescence-theme .auth-signature-wordmark,
  .iridescence-theme .release-notes-dialog[open],
  .iridescence-theme .feedback-dialog[open] {
    animation: none;
  }
}

/* V6.9 unified liquid-glass dialogs. Keep the canvas paused, but retain a light blur. */
body.iridescence-theme.has-open-dialog dialog[open]::backdrop {
  background: rgba(35, 42, 57, 0.22) !important;
  -webkit-backdrop-filter: blur(6px) saturate(108%) brightness(0.95) !important;
  backdrop-filter: blur(6px) saturate(108%) brightness(0.95) !important;
  animation: iri-glass-backdrop-in 220ms ease-out both;
}

body.iridescence-theme :is(
  .revision-dialog,
  .retry-dialog,
  .feedback-dialog,
  .patrol-audit-dialog,
  .release-notes-dialog,
  .confirm-dialog
) {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.iridescence-theme.has-open-dialog :is(
  .product-dialog,
  .revision-dialog-shell,
  .retry-dialog-shell,
  .feedback-dialog-shell,
  .patrol-audit-dialog-shell,
  .release-notes-panel,
  .confirm-dialog-shell
) {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 18px;
  color: var(--iri-ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(241, 246, 252, 0.42)),
    rgba(235, 241, 248, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(92, 111, 145, 0.08),
    0 30px 84px rgba(35, 43, 64, 0.24) !important;
  -webkit-backdrop-filter: blur(22px) saturate(142%) brightness(1.02) !important;
  backdrop-filter: blur(22px) saturate(142%) brightness(1.02) !important;
}

body.iridescence-theme.has-open-dialog :is(
  .dialog-topbar,
  .revision-topbar,
  .revision-footer,
  .feedback-header,
  .feedback-footer,
  .patrol-audit-dialog-header,
  .patrol-audit-footer,
  .release-notes-header,
  .confirm-dialog-header,
  .confirm-dialog-actions
) {
  border-color: rgba(72, 88, 119, 0.12) !important;
  background:
    linear-gradient(126deg, rgba(255, 255, 255, 0.52), rgba(235, 245, 250, 0.3), rgba(248, 235, 246, 0.28)),
    rgba(255, 255, 255, 0.24) !important;
  -webkit-backdrop-filter: blur(16px) saturate(132%) !important;
  backdrop-filter: blur(16px) saturate(132%) !important;
}

body.iridescence-theme.has-open-dialog :is(
  .dialog-facts,
  .dialog-revision-action,
  .revision-context,
  .revision-section,
  .retry-product-row,
  .retry-reason,
  .revision-success-meta,
  .feedback-field textarea,
  .feedback-dropzone,
  .feedback-preview-item,
  .patrol-audit-field textarea,
  .patrol-audit-scope span,
  .patrol-audit-active-notice,
  .release-note-version span
) {
  border-color: rgba(70, 88, 121, 0.14) !important;
  background: rgba(255, 255, 255, 0.56) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

body.iridescence-theme.has-open-dialog .dialog-fact {
  background: rgba(255, 255, 255, 0.62) !important;
}

body.iridescence-theme.has-open-dialog :is(
  .dialog-body,
  .revision-form,
  .retry-body,
  .feedback-form,
  .feedback-success,
  .patrol-audit-form,
  .release-notes-list,
  .confirm-dialog-body
) {
  background: rgba(248, 251, 255, 0.12);
}

body.iridescence-theme.has-open-dialog .primary-image-stage,
body.iridescence-theme.has-open-dialog .primary-image-stage img {
  background: #fff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body.iridescence-theme .confirm-dialog-icon {
  border-color: rgba(91, 151, 174, 0.2);
  color: #326f83;
  background: linear-gradient(135deg, rgba(210, 244, 241, 0.74), rgba(224, 232, 251, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 22px rgba(51, 74, 105, 0.1);
}

body.iridescence-theme .confirm-dialog-header h2 {
  color: var(--iri-ink);
}

body.iridescence-theme .confirm-dialog-body p {
  color: var(--iri-muted);
}

body.iridescence-theme.has-open-dialog dialog[open] {
  animation: iri-glass-dialog-in 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes iri-glass-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes iri-glass-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 720px) {
  body.iridescence-theme.has-open-dialog :is(
    .product-dialog,
    .revision-dialog-shell,
    .retry-dialog-shell,
    .feedback-dialog-shell,
    .release-notes-panel,
    .confirm-dialog-shell
  ) {
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.iridescence-theme.has-open-dialog dialog[open],
  body.iridescence-theme.has-open-dialog dialog[open]::backdrop {
    animation: none;
  }
}
