:root {
  color-scheme: dark;
  --bg: #070912;
  --panel: rgba(18, 22, 38, 0.84);
  --panel-solid: #12172a;
  --panel-soft: rgba(255, 255, 255, 0.08);
  --ink: #f8fbff;
  --muted: #a7b0c8;
  --line: rgba(255, 255, 255, 0.14);
  --pink: #ff3d81;
  --purple: #8b5cf6;
  --cyan: #18d4ff;
  --lime: #a3ff4f;
  --amber: #ffbe3d;
  --red: #ff5f57;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
}

@font-face {
  font-family: "FkAmour";
  src: url("./FkAmour/FkAmourThin.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FkAmour";
  src: url("./FkAmour/FkAmourRegular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FkAmour";
  src: url("./FkAmour/FkAmourBold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 61, 129, 0.24), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(24, 212, 255, 0.22), transparent 25rem),
    radial-gradient(circle at 52% 92%, rgba(163, 255, 79, 0.14), transparent 25rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.index-fkamour,
body.index-fkamour button,
body.index-fkamour input,
body.index-fkamour select,
body.index-fkamour textarea {
  font-family: "FkAmour", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.access-locked {
  overflow: hidden;
}

body.access-locked .customer-gate {
  filter: blur(2px) brightness(0.68);
  transform: scale(1.01);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.login-screen {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 420px);
  gap: 28px;
  align-items: center;
  min-height: 100vh;
  padding: 42px;
  overflow: hidden;
}

.stream-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.poster {
  position: absolute;
  width: 180px;
  height: 265px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(-10deg);
}

.poster::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.42) 46%, transparent 54%);
  opacity: 0.34;
}

.poster-one {
  top: 12%;
  right: 12%;
  background: linear-gradient(145deg, #ff3d81, #5f2eea);
}

.poster-two {
  bottom: 12%;
  right: 24%;
  background: linear-gradient(145deg, #18d4ff, #063bff);
  transform: rotate(9deg);
}

.poster-three {
  top: 28%;
  left: 4%;
  background: linear-gradient(145deg, #ffbe3d, #ff5f57);
  transform: rotate(11deg);
}

.login-copy,
.login-card,
.app-header,
.hero-panel,
.view-panel,
.metric-card,
.stream-card,
.glass-form,
.modal-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.login-copy {
  z-index: 1;
  max-width: 760px;
  padding: 34px;
  border-radius: var(--radius);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  color: white;
  font-weight: 900;
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup strong {
  font-size: 1.05rem;
}

.brand-lockup small,
.muted {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

h3 {
  margin: 10px 0 8px;
  word-break: break-word;
}

.login-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.login-stats span,
.user-pill,
.status-pill,
.service-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
}

.login-card {
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
}

.role-switch,
.top-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.role-button,
.top-tab {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 900;
}

.role-button.active,
.top-tab.active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 7, 18, 0.68);
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(24, 212, 255, 0.14);
}

.primary-action,
.ghost-action,
.mini-button,
.icon-button,
.mini-link {
  min-height: 42px;
  padding: 9px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
}

.primary-action {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white;
}

.ghost-action,
.mini-button,
.icon-button,
.mini-link {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  text-decoration: none;
}

.primary-action.small {
  min-height: 38px;
}

.primary-action:disabled,
.ghost-action:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

.login-hint {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-error {
  min-height: 20px;
  margin-bottom: 0;
  color: #ff9a9a;
  font-weight: 800;
}

.form-error[data-tone="info"] {
  color: var(--muted);
}

.app-screen {
  min-height: 100vh;
}

.customer-gate {
  position: relative;
  min-height: 100vh;
  padding: 32px;
  overflow: hidden;
}

.clean-gate {
  display: grid;
  place-items: center;
  padding: 24px;
}

.inbox-code-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  width: min(760px, calc(100vw - 32px));
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top-color: rgba(139, 92, 246, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(139, 92, 246, 0.11), rgba(24, 212, 255, 0.04)),
    rgba(7, 8, 18, 0.88);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(22px);
}

.back-chip {
  justify-self: start;
  min-height: 44px;
  border-radius: 999px;
  color: rgba(248, 251, 255, 0.72);
}

.inbox-heading {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.mail-icon {
  font-size: 3.6rem;
  line-height: 1;
}

.inbox-heading h1 {
  margin: 0;
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  line-height: 0.95;
  background: linear-gradient(135deg, #f8fbff, #8a7dff 58%, #18d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.inbox-heading p {
  margin: 0;
  color: rgba(248, 251, 255, 0.64);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
}

.code-mode-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.code-mode {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(248, 251, 255, 0.72);
  font-weight: 900;
}

.code-mode.active {
  border-color: transparent;
  background: linear-gradient(135deg, #6f42da, #12bfe8);
  color: white;
}

.inbox-form {
  display: grid;
  gap: 16px;
}

.inbox-form input {
  min-height: 76px;
  padding: 16px 20px;
  border-color: rgba(139, 92, 246, 0.58);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.22), 0 0 28px rgba(139, 92, 246, 0.14);
  font-size: clamp(1rem, 3vw, 1.35rem);
}

.inbox-form .primary-action {
  min-height: 72px;
  background: linear-gradient(135deg, #512c9e, #0a4eae);
  font-size: clamp(1rem, 3vw, 1.35rem);
}

.inbox-result {
  min-height: 210px;
}

.lookup-home {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  width: min(1180px, 100%);
}

.lookup-heading {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 20px;
  align-items: end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 61, 129, 0.12), rgba(24, 212, 255, 0.08)),
    rgba(7, 8, 18, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.lookup-heading h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 4rem);
}

.lookup-heading p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.lookup-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lookup-panel {
  display: grid;
  gap: 16px;
  min-height: 430px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(8, 10, 20, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.lookup-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.lookup-panel p {
  color: var(--muted);
}

.signin-panel {
  border-top: 4px solid var(--cyan);
}

.household-panel {
  border-top: 4px solid var(--amber);
}

.verified-panel {
  border-top: 4px solid var(--lime);
}

.panel-icon {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  color: white;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 14px 36px rgba(24, 212, 255, 0.2);
}

.household-panel .panel-icon {
  background: linear-gradient(135deg, var(--amber), var(--red));
}

.verified-panel .panel-icon {
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  color: #061018;
}

.lookup-form {
  display: grid;
  gap: 12px;
  align-self: end;
  margin-top: auto;
}

.lookup-form input {
  min-height: 64px;
  padding: 14px 16px;
  font-size: 1.08rem;
}

.lookup-form input[name="pin"] {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.lookup-form .primary-action {
  min-height: 58px;
}

.security-direct {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  padding: 18px;
  border: 1px solid rgba(113, 211, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(255, 47, 134, 0.2), rgba(120, 80, 255, 0.16) 48%, rgba(24, 212, 255, 0.16)),
    rgba(5, 10, 28, 0.76);
  color: rgba(241, 246, 255, 0.82);
  box-shadow:
    0 24px 70px rgba(23, 45, 120, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.security-direct-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff3d94, #7d5cff 55%, #1bd5ff);
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 1000;
  box-shadow: 0 18px 40px rgba(83, 111, 255, 0.34);
}

.security-direct-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.security-direct-copy strong {
  color: #ffffff;
  font-size: 1.22rem;
  line-height: 1.1;
}

.security-direct-copy small {
  color: rgba(232, 238, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.35;
}

.security-direct-button {
  min-width: 210px;
  min-height: 54px;
  border: 0;
  background: linear-gradient(105deg, #ff2f86 0%, #9b43ff 54%, #1e6bff 100%);
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(89, 76, 255, 0.34);
}

#securityUnlockState[data-state="unlocked"] {
  color: #a8ffc1;
}

.lookup-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(8px);
}

.lookup-modal-card {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: center;
  width: min(620px, calc(100vw - 32px));
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(139, 92, 246, 0.16), rgba(24, 212, 255, 0.06)),
    rgba(10, 12, 24, 0.94);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.62);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.lookup-modal-card h2 {
  font-size: clamp(1.7rem, 5vw, 2.8rem);
}

.modal-status {
  width: 100%;
}

.security-check-card {
  width: min(540px, calc(100vw - 32px));
}

.security-lock-icon {
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--cyan));
}

.security-copy {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.6;
}

.security-check-form,
.security-code-form {
  display: grid;
  gap: 12px;
  width: 100%;
}

.security-check-form input {
  min-height: 60px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 900;
}

.security-admin-panel {
  border-color: rgba(24, 212, 255, 0.2);
}

.security-code-form {
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: end;
}

.security-code-form .primary-action {
  min-height: 46px;
}

.request-hero,
.request-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.request-hero {
  display: grid;
  gap: 28px;
  min-height: 42vh;
  padding: 24px 0;
}

.request-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.request-copy {
  max-width: 820px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.request-shell {
  display: grid;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 34px;
}

.request-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.request-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.two-step-grid,
.otp-step-grid {
  display: grid;
  gap: 14px;
}

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

.otp-step-grid {
  grid-template-columns: minmax(0, 1fr);
}

.step-card {
  display: grid;
  gap: 12px;
  min-height: 360px;
  padding: 18px;
  opacity: 0.72;
}

.step-card.active {
  border-color: rgba(24, 212, 255, 0.5);
  opacity: 1;
}

.step-badge {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  font-weight: 900;
}

.step-status {
  min-height: 210px;
}

.lookup-state.compact {
  min-height: 190px;
  padding: 16px;
}

.pin-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(3, 5, 12, 0.44), rgba(3, 5, 12, 0.74)),
    rgba(3, 5, 12, 0.42);
  backdrop-filter: blur(6px);
}

.pin-modal {
  display: grid;
  gap: 16px;
  width: min(620px, calc(100vw - 36px));
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    rgba(16, 17, 21, 0.78);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.54);
  text-align: center;
  backdrop-filter: blur(28px) saturate(130%);
}

.pin-icon {
  display: inline-grid;
  place-items: center;
  justify-self: center;
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background: linear-gradient(135deg, #13d6f6, #3478ff);
  box-shadow: 0 16px 44px rgba(24, 212, 255, 0.35);
  font-size: 2.35rem;
}

.pin-modal h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1;
}

.pin-modal p {
  margin: 0;
  color: rgba(248, 251, 255, 0.68);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.pin-modal input {
  min-height: 72px;
  border-radius: 8px;
  text-align: center;
  font-size: clamp(1.1rem, 4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.24em;
  background: rgba(255, 255, 255, 0.1);
}

.pin-modal input::placeholder {
  color: rgba(248, 251, 255, 0.58);
}

.unlock-action,
.back-action {
  min-height: 70px;
  font-size: clamp(1.05rem, 2.8vw, 1.55rem);
}

.unlock-action {
  background: linear-gradient(135deg, #13d6f6, #3478ff);
}

.back-action {
  color: rgba(248, 251, 255, 0.56);
  background: rgba(255, 255, 255, 0.055);
}

.admin-login-screen {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  border-width: 0 0 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.workspace {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 18px;
  align-items: center;
  min-height: 220px;
  margin-bottom: 18px;
  padding: 26px;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-panel h1 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 4rem);
}

.hero-visual {
  position: relative;
  height: 172px;
}

.hero-visual span {
  position: absolute;
  width: 116px;
  height: 160px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual span:nth-child(1) {
  left: 0;
  top: 10px;
  background: linear-gradient(145deg, var(--pink), var(--purple));
  transform: rotate(-8deg);
}

.hero-visual span:nth-child(2) {
  left: 66px;
  top: 0;
  background: linear-gradient(145deg, var(--cyan), #2f6cff);
}

.hero-visual span:nth-child(3) {
  right: 0;
  top: 20px;
  background: linear-gradient(145deg, var(--amber), var(--red));
  transform: rotate(8deg);
}

.role-panel {
  display: grid;
  gap: 16px;
}

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

#customerPanel .metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card {
  min-height: 112px;
  padding: 16px;
  border-radius: var(--radius);
}

.metric-card span,
.metric-card strong {
  display: block;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.metric-card strong {
  margin-top: 10px;
  font-size: 1.75rem;
}

.metric-card.hot {
  border-top: 4px solid var(--pink);
}

.metric-card.lime {
  border-top: 4px solid var(--lime);
}

.metric-card.aqua {
  border-top: 4px solid var(--cyan);
}

.metric-card.violet {
  border-top: 4px solid var(--purple);
}

.view-panel {
  display: none;
  padding: 18px;
  border-radius: var(--radius);
}

.view-panel.active {
  display: block;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stream-card {
  overflow: hidden;
  border-radius: var(--radius);
}

.poster-strip {
  min-height: 122px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent),
    linear-gradient(135deg, var(--pink), var(--purple));
}

.stream-card.available .poster-strip {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent),
    linear-gradient(135deg, #14f1d9, #2d7dff);
}

.stream-card.owned .poster-strip {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent),
    linear-gradient(135deg, var(--lime), var(--cyan));
}

.stream-card.taken .poster-strip {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent),
    linear-gradient(135deg, var(--red), #7a2030);
}

.poster-strip span,
.poster-strip strong {
  display: block;
}

.poster-strip strong {
  margin-top: 8px;
  font-size: 1.8rem;
}

.card-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.card-body p {
  color: var(--muted);
}

.status-pill.available {
  background: rgba(78, 216, 116, 0.18);
  color: #a8ffc1;
}

.status-pill.signin {
  background: rgba(139, 92, 246, 0.18);
  color: #d6ccff;
}

.status-pill.owned {
  background: rgba(163, 255, 79, 0.16);
  color: #d5ffad;
}

.status-pill.taken,
.status-pill.error {
  background: rgba(255, 95, 87, 0.18);
  color: #ffb4b0;
}

.status-pill.waiting {
  background: rgba(255, 190, 61, 0.18);
  color: #ffe0a0;
}

.signin-access-cell {
  display: grid;
  gap: 6px;
  min-width: 170px;
}

.signin-access-actions {
  display: grid;
  grid-template-columns: 74px repeat(3, max-content);
  gap: 8px;
  align-items: center;
  min-width: 330px;
}

.security-code-cell {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.security-code-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}

.security-save-confirm {
  color: #04110b;
  background: linear-gradient(135deg, #a7ff83, #4fffd4);
  border: 1px solid rgba(167, 255, 131, 0.65);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(79, 255, 212, 0.18);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 6px 9px;
  width: fit-content;
}

.security-inline-message[data-tone="ok"] {
  color: #9cff8b;
}

.security-inline-message[data-tone="info"] {
  color: #7ee7ff;
}

.security-inline-message[data-tone="danger"] {
  color: #ff9d9d;
}

.table-subtitle {
  display: block;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.2;
}

.days-input {
  min-height: 38px;
  padding: 8px 10px;
  text-align: center;
  font-weight: 900;
}

.code-input.compact {
  width: 150px;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.92rem;
  font-weight: 900;
}

.dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.glass-form,
.mailbox-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
}

.mailbox-form {
  grid-template-columns: 180px minmax(220px, 1fr) minmax(180px, 1fr) auto;
  align-items: end;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.manual-signin-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(150px, 0.75fr) minmax(180px, 1fr) 120px max-content;
  gap: 12px;
  align-items: end;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid rgba(126, 231, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 58, 142, 0.12), rgba(65, 92, 255, 0.13)),
    rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.manual-signin-form.batch {
  grid-template-columns: 1fr;
}

.manual-signin-form-heading {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
}

.manual-signin-form-heading > div {
  display: grid;
  gap: 4px;
}

.manual-signin-form-heading strong {
  color: var(--text);
  font-size: 1.05rem;
}

.manual-signin-form-heading small {
  color: var(--muted);
}

.manual-signin-toolbar {
  display: flex;
  gap: 8px;
  align-items: end;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.manual-signin-toolbar label {
  min-width: 96px;
}

.manual-signin-batch {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.manual-signin-row {
  display: grid;
  grid-template-columns: 44px minmax(220px, 1.4fr) minmax(150px, 0.7fr) minmax(180px, 1fr) 110px 64px;
  gap: 9px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(3, 7, 18, 0.35);
}

.manual-row-number {
  align-self: center;
  color: #b7c6e6;
  font-weight: 900;
}

.manual-row-status {
  grid-column: 2 / -1;
  min-height: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.manual-row-status[data-tone="ok"] {
  color: #a7ff83;
}

.manual-row-status[data-tone="info"] {
  color: #7ee7ff;
}

.manual-row-status[data-tone="danger"] {
  color: #ff9d9d;
}

.manual-signin-form input[readonly] {
  color: #dce5ff;
  border-color: rgba(126, 231, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.excel-import-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.8fr) auto;
  gap: 12px;
  align-items: end;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid rgba(126, 231, 255, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(126, 231, 255, 0.1), rgba(255, 58, 142, 0.1)),
    rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.excel-import-copy {
  display: grid;
  gap: 4px;
}

.excel-import-copy strong {
  color: var(--text);
  font-size: 1.05rem;
}

.excel-import-copy small {
  color: var(--muted);
}

.excel-import-copy b {
  color: #fff;
}

.file-picker {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.file-picker input[type="file"] {
  min-height: 44px;
  padding: 10px;
  border: 1px dashed rgba(126, 231, 255, 0.36);
  border-radius: 12px;
  background: rgba(3, 7, 18, 0.35);
  color: var(--text);
}

.excel-import-result {
  margin: 10px 0 16px;
  padding: 14px;
  border: 1px solid rgba(126, 231, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(3, 7, 18, 0.35);
}

.excel-import-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.excel-import-summary span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.excel-import-summary strong {
  color: var(--text);
}

.excel-import-list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
}

.excel-import-item {
  display: grid;
  grid-template-columns: 90px minmax(180px, 1fr) minmax(160px, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.excel-import-item.ok {
  border-color: rgba(163, 255, 79, 0.32);
}

.excel-import-item.danger {
  border-color: rgba(255, 95, 87, 0.38);
}

.excel-import-item strong {
  color: var(--text);
}

.excel-import-item span {
  color: #dbe6ff;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.excel-import-item small {
  color: var(--muted);
}

.excel-import-item.ok small {
  color: #d5ffad;
}

.excel-import-item.danger small {
  color: #ffb4b0;
}

.notice {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.notice[data-tone="ok"] {
  border-color: rgba(163, 255, 79, 0.38);
  color: #d5ffad;
}

.notice[data-tone="danger"] {
  border-color: rgba(255, 95, 87, 0.45);
  color: #ffb4b0;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  background: rgba(5, 8, 20, 0.54);
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

td {
  font-size: 0.92rem;
}

.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.table-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.error-text {
  color: #ffb4b0;
}

.table-code {
  letter-spacing: 0.08em;
}

.sub-heading {
  margin-top: 18px;
}

.code-input {
  max-width: 128px;
  min-height: 38px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.empty-state {
  color: var(--muted);
  text-align: center;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 4, 12, 0.68);
  backdrop-filter: blur(12px);
}

.modal-card {
  width: min(520px, 100%);
  padding: 18px;
  border-radius: var(--radius);
}

.modal-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 1.35rem;
}

.lookup-state {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 184px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.lookup-state small,
.lookup-state span {
  color: var(--muted);
}

.lookup-state.success {
  border-color: rgba(163, 255, 79, 0.42);
  background: rgba(163, 255, 79, 0.12);
}

.lookup-state.error {
  border-color: rgba(255, 95, 87, 0.42);
  background: rgba(255, 95, 87, 0.12);
}

.loading-bar {
  width: min(360px, 100%);
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.loading-bar i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--pink), var(--amber));
  box-shadow: 0 0 22px rgba(24, 212, 255, 0.25);
  transition: width 0.25s ease;
}

.loading-bar.is-active i {
  width: 42%;
  min-width: 76px;
  animation: loadingSlide 1.2s ease-in-out infinite;
}

@keyframes loadingSlide {
  0% {
    transform: translateX(-130%);
  }

  50% {
    transform: translateX(78%);
  }

  100% {
    transform: translateX(250%);
  }
}

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.modal-code {
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1020px) {
  .login-screen {
    grid-template-columns: 1fr;
  }

  .metrics,
  #customerPanel .metrics,
  .inventory-grid,
  .dual-grid,
  .mailbox-form,
  .excel-import-form,
  .manual-signin-form,
  .security-code-form,
  .lookup-heading,
  .lookup-panel-grid,
  .request-shell,
  .two-step-grid,
  .hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    display: none;
  }

  .manual-signin-form-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .manual-signin-toolbar {
    justify-content: flex-start;
  }

  .manual-signin-row {
    grid-template-columns: 42px repeat(2, minmax(0, 1fr));
  }

  .excel-import-item {
    grid-template-columns: 1fr;
  }

  .manual-row-status {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .login-screen,
  .customer-gate,
  .workspace {
    padding: 16px;
  }

  .app-header,
  .panel-heading,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .metrics,
  #customerPanel .metrics,
  .inventory-grid,
  .dual-grid,
  .mailbox-form,
  .excel-import-form,
  .manual-signin-form,
  .security-code-form,
  .lookup-heading,
  .lookup-panel-grid,
  .request-shell,
  .two-step-grid,
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .manual-signin-row {
    grid-template-columns: 1fr;
  }

  .manual-row-number {
    align-self: start;
  }

  h1,
  .hero-panel h1 {
    font-size: 2rem;
  }
}

/* Bright purple customer refresh */
.clean-gate {
  isolation: isolate;
  align-items: start;
  padding: 52px 24px 38px;
  background:
    linear-gradient(112deg, rgba(255, 48, 132, 0.2) 0%, rgba(255, 48, 132, 0.04) 28%, transparent 46%),
    linear-gradient(242deg, rgba(29, 96, 255, 0.28) 0%, rgba(30, 117, 255, 0.1) 34%, transparent 58%),
    linear-gradient(180deg, #071229 0%, #040815 55%, #03050d 100%);
}

.clean-gate::before,
.clean-gate::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.clean-gate::before {
  inset: 0;
  background:
    linear-gradient(145deg, transparent 0 48%, rgba(91, 95, 255, 0.12) 49%, transparent 68%),
    linear-gradient(28deg, rgba(255, 53, 137, 0.09), transparent 38%);
  opacity: 0.95;
}

.clean-gate::after {
  right: -22%;
  top: -26%;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(74, 123, 255, 0.24);
  border-radius: 50%;
  transform: rotate(-16deg);
  box-shadow: inset 0 0 80px rgba(55, 95, 255, 0.1);
}

.clean-gate .stream-stage {
  display: none;
}

.clean-gate .lookup-home {
  z-index: 1;
  gap: 34px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.clean-gate .lookup-heading {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  backdrop-filter: none;
}

.clean-gate .brand-lockup {
  justify-content: center;
}

.clean-gate .brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff3d94, #7d5cff 55%, #1bd5ff);
  box-shadow: 0 14px 44px rgba(83, 111, 255, 0.34);
  font-size: 1.45rem;
}

.clean-gate .brand-lockup strong {
  font-size: 2rem;
  letter-spacing: 0;
}

.clean-gate .brand-lockup small,
.clean-gate .lookup-heading .eyebrow {
  display: none;
}

.clean-gate .lookup-heading h1 {
  max-width: 780px;
  margin: 2px 0 0;
  color: #ffffff;
  font-size: 4.35rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
}

.clean-gate .lookup-heading p:last-child {
  max-width: 700px;
  color: rgba(235, 240, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.7;
}

.clean-gate .lookup-panel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.clean-gate .lookup-panel {
  position: relative;
  min-height: 380px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(142, 165, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(158deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035) 42%, rgba(7, 13, 34, 0.72)),
    rgba(4, 8, 21, 0.82);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px);
}

.clean-gate .lookup-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 30%, transparent 68%, rgba(63, 154, 255, 0.1));
}

.clean-gate .signin-panel {
  border-color: rgba(184, 112, 255, 0.62);
  border-top-width: 1px;
}

.clean-gate .household-panel {
  border-color: rgba(255, 109, 123, 0.58);
  border-top-width: 1px;
}

.clean-gate .verified-panel {
  border-color: rgba(104, 211, 255, 0.62);
  border-top-width: 1px;
}

.clean-gate .panel-icon {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f241a4, #7d5cff 55%, #1bd5ff);
  color: white;
  font-size: 2rem;
  box-shadow: 0 18px 46px rgba(83, 111, 255, 0.34);
}

.clean-gate .household-panel .panel-icon {
  background: linear-gradient(135deg, #ff953d, #ff3d81 58%, #8b5cf6);
}

.clean-gate .verified-panel .panel-icon {
  background: linear-gradient(135deg, #73d4ff, #7d5cff 64%, #8b5cf6);
  color: white;
}

.clean-gate .lookup-panel h2 {
  margin-bottom: 0;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.clean-gate .lookup-panel p {
  max-width: 280px;
  color: rgba(225, 232, 255, 0.72);
  font-size: 1rem;
  line-height: 1.62;
}

.clean-gate .lookup-form {
  gap: 16px;
  z-index: 1;
}

.clean-gate .lookup-form input {
  min-height: 62px;
  border-color: rgba(161, 184, 255, 0.28);
  background: rgba(2, 6, 18, 0.62);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.clean-gate .lookup-form input::placeholder {
  color: rgba(224, 230, 255, 0.48);
}

.clean-gate .lookup-form input:focus {
  border-color: rgba(74, 216, 255, 0.82);
  box-shadow:
    0 0 0 4px rgba(28, 207, 255, 0.14),
    0 0 28px rgba(28, 207, 255, 0.16);
}

.clean-gate .lookup-form .primary-action {
  min-height: 64px;
  border: 0;
  background: linear-gradient(105deg, #ff2f86 0%, #9b43ff 54%, #1e6bff 100%);
  box-shadow: 0 18px 42px rgba(89, 76, 255, 0.34);
  font-size: 1.08rem;
}

.clean-gate .lookup-footnote {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  color: rgba(230, 236, 255, 0.72);
}

.clean-gate .lookup-footnote span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(132, 114, 255, 0.52);
  border-radius: 8px;
  color: #9fb9ff;
  box-shadow: 0 16px 38px rgba(99, 76, 255, 0.22);
}

.clean-gate .lookup-footnote p {
  max-width: 560px;
  margin: 0;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(230, 236, 255, 0.72);
}

@media (max-width: 1020px) {
  .clean-gate {
    padding-top: 38px;
  }

  .clean-gate .lookup-panel-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }

  .clean-gate .lookup-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .clean-gate {
    padding: 26px 16px 28px;
  }

  .clean-gate .brand-logo {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .clean-gate .brand-lockup strong {
    font-size: 1.45rem;
  }

  .clean-gate .lookup-heading h1 {
    font-size: 2.65rem;
  }

  .clean-gate .lookup-heading p:last-child {
    font-size: 1rem;
  }

  .clean-gate .lookup-panel {
    min-height: 348px;
    padding: 24px;
  }

  .clean-gate .lookup-panel h2 {
    font-size: 1.65rem;
  }

  .clean-gate .lookup-footnote {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .security-direct {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .security-direct-button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .security-direct-copy strong {
    font-size: 1.08rem;
  }

  .security-direct-copy small {
    font-size: 0.9rem;
  }
}

/* Kawaii customer theme */
.clean-gate {
  min-height: 100svh;
  padding: clamp(22px, 3vw, 42px) 22px 30px;
  background:
    linear-gradient(180deg, rgba(54, 18, 78, 0.14), rgba(255, 144, 202, 0.16)),
    url("./assets/fluffyaccess-kawaii-bg.png") center / cover no-repeat fixed,
    #3b1d56;
  color: #321c3e;
}

.clean-gate::before {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 11%, rgba(255, 237, 250, 0.32), transparent 22rem),
    linear-gradient(90deg, rgba(50, 19, 75, 0.18), transparent 30%, transparent 70%, rgba(50, 19, 75, 0.15));
  opacity: 1;
}

.clean-gate::after {
  display: none;
}

.clean-gate .lookup-home {
  width: min(1040px, 100%);
  gap: clamp(14px, 2.3vw, 24px);
}

.clean-gate .lookup-heading {
  gap: 10px;
  color: #fff8ff;
}

.clean-gate .brand-lockup {
  gap: 10px;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(79, 33, 95, 0.44);
}

.clean-gate .brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff5fb4, #8a5cff 55%, #28d7ff);
  box-shadow:
    0 12px 30px rgba(110, 68, 180, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
  font-size: 1.05rem;
}

.clean-gate .brand-lockup strong {
  color: #ffffff;
  font-size: 1.45rem;
}

.clean-gate .lookup-heading h1 {
  max-width: 820px;
  color: #ffd4ec;
  font-size: clamp(3rem, 6.2vw, 5.6rem);
  font-weight: 950;
  line-height: 0.96;
  text-shadow:
    0 4px 0 rgba(121, 57, 112, 0.18),
    0 16px 34px rgba(70, 26, 85, 0.48),
    0 0 24px rgba(255, 190, 226, 0.62);
}

.clean-gate .lookup-heading p:last-child {
  max-width: 720px;
  color: rgba(255, 249, 255, 0.92);
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 4px 14px rgba(55, 22, 70, 0.44);
}

.clean-gate .lookup-panel-grid {
  gap: clamp(16px, 2vw, 24px);
}

.clean-gate .lookup-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 330px;
  padding: 24px 24px 22px;
  border: 2px solid rgba(255, 187, 221, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 232, 245, 0.86)),
    rgba(255, 240, 249, 0.9);
  box-shadow:
    0 24px 55px rgba(93, 36, 97, 0.24),
    0 0 0 5px rgba(255, 222, 238, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
  backdrop-filter: blur(10px) saturate(120%);
}

.clean-gate .lookup-panel::before {
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 151, 206, 0.18), transparent 7rem),
    radial-gradient(circle at 86% 18%, rgba(172, 115, 255, 0.16), transparent 6rem);
}

.clean-gate .lookup-panel::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 26px;
  height: 24px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 24%, rgba(211, 116, 171, 0.34) 0 16%, transparent 17%),
    radial-gradient(circle at 24% 50%, rgba(211, 116, 171, 0.34) 0 14%, transparent 15%),
    radial-gradient(circle at 76% 50%, rgba(211, 116, 171, 0.34) 0 14%, transparent 15%),
    radial-gradient(ellipse at 50% 76%, rgba(211, 116, 171, 0.34) 0 30%, transparent 31%);
  opacity: 0.72;
}

.clean-gate .signin-panel {
  border-color: rgba(223, 143, 223, 0.92);
}

.clean-gate .signin-panel::before {
  content: "Recommended";
  position: absolute;
  top: 0;
  right: 18px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(135deg, #ff74af, #d65eff);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(184, 72, 153, 0.25);
}

.clean-gate .household-panel {
  border-color: rgba(255, 184, 211, 0.94);
}

.clean-gate .verified-panel {
  border-color: rgba(194, 166, 255, 0.94);
}

.clean-gate .panel-icon {
  width: 86px;
  height: 86px;
  margin-bottom: 6px;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent),
    linear-gradient(135deg, #b786ff, #ff80bd);
  color: white;
  box-shadow:
    0 16px 30px rgba(144, 72, 156, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
  font-size: 2.4rem;
}

.clean-gate .household-panel .panel-icon {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent),
    linear-gradient(135deg, #ff92c4, #ffc3dc);
  color: #8b396b;
}

.clean-gate .verified-panel .panel-icon {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent),
    linear-gradient(135deg, #9e8cff, #7cd7ff);
}

.clean-gate .lookup-panel h2 {
  color: #241430;
  font-size: clamp(1.28rem, 2.2vw, 1.65rem);
  font-weight: 950;
}

.clean-gate .lookup-panel h2::before,
.clean-gate .lookup-panel h2::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 8px 2px;
  vertical-align: middle;
  background:
    radial-gradient(circle at 50% 22%, #dc86ba 0 18%, transparent 19%),
    radial-gradient(circle at 22% 52%, #dc86ba 0 16%, transparent 17%),
    radial-gradient(circle at 78% 52%, #dc86ba 0 16%, transparent 17%),
    radial-gradient(ellipse at 50% 78%, #dc86ba 0 32%, transparent 33%);
  opacity: 0.82;
}

.clean-gate .lookup-panel p {
  max-width: 260px;
  color: #5d4167;
  font-weight: 700;
  line-height: 1.55;
}

.clean-gate .lookup-form {
  width: 100%;
  margin-top: auto;
}

.clean-gate .lookup-form input {
  min-height: 54px;
  border: 1px solid rgba(203, 129, 178, 0.36);
  border-radius: 8px;
  background: rgba(255, 249, 253, 0.82);
  color: #382241;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(175, 105, 158, 0.11);
}

.clean-gate .lookup-form input::placeholder {
  color: rgba(92, 60, 103, 0.55);
}

.clean-gate .lookup-form input:focus {
  border-color: rgba(255, 99, 170, 0.76);
  box-shadow:
    0 0 0 4px rgba(255, 135, 193, 0.2),
    0 12px 28px rgba(255, 111, 178, 0.17);
}

.clean-gate .lookup-form .primary-action {
  min-height: 56px;
  border: 1px solid rgba(213, 78, 142, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, #ff74ad, #f05496);
  box-shadow:
    0 14px 26px rgba(206, 64, 134, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  color: #fff7fb;
  font-size: 1.02rem;
  text-shadow: 0 2px 6px rgba(132, 38, 90, 0.26);
}

.clean-gate .lookup-form .primary-action::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 14px;
  margin-left: 10px;
  background:
    radial-gradient(circle at 32% 35%, #fff0f5 0 33%, transparent 34%),
    radial-gradient(circle at 68% 35%, #fff0f5 0 33%, transparent 34%),
    linear-gradient(45deg, transparent 0 35%, #fff0f5 36% 64%, transparent 65%);
  transform: rotate(45deg);
}

.clean-gate .lookup-footnote,
.security-direct {
  width: min(760px, 100%);
  margin: 0 auto;
  border: 2px solid rgba(255, 200, 229, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 229, 244, 0.76)),
    rgba(255, 238, 248, 0.8);
  box-shadow:
    0 18px 42px rgba(93, 36, 97, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
}

.clean-gate .lookup-footnote {
  justify-content: flex-start;
  padding: 14px 24px;
  color: #3a2144;
}

.clean-gate .lookup-footnote span,
.security-direct-icon {
  border: 0;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent),
    linear-gradient(135deg, #8f69ff, #6e4bd6);
  color: #fff5ff;
  box-shadow: 0 12px 24px rgba(96, 64, 170, 0.22);
}

.clean-gate .lookup-footnote p {
  max-width: none;
  border-left-color: rgba(147, 93, 158, 0.24);
  color: #4d3159;
  font-weight: 800;
}

.security-direct {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 18px 22px;
}

.security-direct-copy strong {
  color: #2a1834;
  font-size: 1.26rem;
}

.security-direct-copy small {
  color: #674871;
  font-weight: 800;
}

.security-direct-button {
  min-width: 260px;
  min-height: 58px;
  border: 2px solid rgba(255, 195, 228, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(135deg, #5b318e, #7b3fb5 52%, #3c2466);
  color: #fff5ff;
  box-shadow:
    0 16px 32px rgba(74, 42, 109, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 1.12rem;
}

.lookup-modal-card {
  border: 2px solid rgba(255, 196, 228, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 232, 246, 0.88)),
    rgba(255, 240, 249, 0.92);
  color: #2e1d3a;
  box-shadow: 0 28px 80px rgba(56, 20, 68, 0.34);
}

.lookup-modal-card h2,
.lookup-state.success .modal-code {
  color: #2e1d3a;
}

.lookup-state.compact,
.security-copy,
.lookup-state.success small,
.lookup-state.waiting span,
.lookup-state.error span {
  color: #674871;
}

.mail-icon {
  background: linear-gradient(135deg, #ff75b5, #9b6cff 62%, #7ddcff);
  color: white;
}

@media (max-width: 1020px) {
  .clean-gate {
    background-position: 35% center;
    background-attachment: scroll;
  }

  .clean-gate .lookup-home {
    width: min(620px, 100%);
  }
}

@media (max-width: 720px) {
  .clean-gate {
    padding: 22px 14px 24px;
    background-position: 34% center;
  }

  .clean-gate::before {
    background:
      linear-gradient(180deg, rgba(51, 18, 75, 0.34), rgba(255, 170, 213, 0.24)),
      radial-gradient(circle at 50% 12%, rgba(255, 239, 250, 0.26), transparent 16rem);
  }

  .clean-gate .lookup-home {
    gap: 16px;
  }

  .clean-gate .lookup-heading h1 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .clean-gate .lookup-heading p:last-child {
    font-size: 0.92rem;
  }

  .clean-gate .lookup-panel {
    min-height: 310px;
    padding: 22px 18px 20px;
  }

  .clean-gate .panel-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }

  .clean-gate .lookup-footnote,
  .security-direct {
    width: 100%;
  }

  .clean-gate .lookup-footnote {
    gap: 12px;
    padding: 14px;
  }

  .clean-gate .lookup-footnote p {
    padding-left: 12px;
    font-size: 0.88rem;
  }

  .security-direct {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }

  .security-direct-button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
}

/* Generated card/button assets and Sign-In panel repair */
.clean-gate .lookup-panel {
  padding-top: 34px;
  background:
    linear-gradient(180deg, rgba(255, 252, 255, 0.48), rgba(255, 238, 248, 0.38)),
    url("./assets/fluffyaccess-card-frame.png") center / 100% 100% no-repeat,
    rgba(255, 240, 249, 0.94);
}

.clean-gate .lookup-panel > * {
  position: relative;
  z-index: 1;
}

.clean-gate .lookup-panel::before {
  display: none;
}

.clean-gate .signin-panel::before {
  content: "Recommended";
  position: absolute;
  inset: auto 20px auto auto;
  top: 10px;
  left: auto;
  bottom: auto;
  z-index: 3;
  display: block;
  width: auto;
  height: auto;
  padding: 6px 14px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(135deg, #ff74af, #d65eff);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(184, 72, 153, 0.25);
  pointer-events: none;
}

.clean-gate .lookup-panel::after {
  z-index: 1;
}

.clean-gate .lookup-form .primary-action {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    url("./assets/fluffyaccess-button-bg.png") center / 100% 100% no-repeat,
    linear-gradient(180deg, #ff74ad, #f05496);
  color: #ffffff;
}

.clean-gate .lookup-form .primary-action::after {
  position: relative;
  z-index: 1;
}

.clean-gate .lookup-form .primary-action:hover {
  transform: translateY(-1px);
  filter: saturate(1.04) brightness(1.02);
}

/* Button/frame image alignment fix */
.clean-gate .lookup-panel {
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 252, 255, 0.2), rgba(255, 238, 248, 0.16)),
    url("./assets/fluffyaccess-card-frame.png") center / 100% 100% no-repeat,
    rgba(255, 240, 249, 0.94);
}

.clean-gate .lookup-form .primary-action {
  min-height: 58px;
  border: 0;
  border-radius: 12px;
  background:
    url("./assets/fluffyaccess-button-slice.png") center / 100% 100% no-repeat,
    #f45f9b;
  box-shadow: none;
  color: #ffffff;
  text-shadow: 0 2px 7px rgba(128, 40, 91, 0.32);
}

.clean-gate .lookup-form .primary-action::after {
  content: none;
  display: none;
}

/* Keep generated panel frame proportional */
.clean-gate .lookup-panel {
  aspect-ratio: 3 / 4;
  min-height: auto;
  padding: clamp(24px, 2.2vw, 34px) clamp(20px, 2vw, 28px) clamp(20px, 2vw, 26px);
  background:
    linear-gradient(180deg, rgba(255, 252, 255, 0.14), rgba(255, 238, 248, 0.1)),
    url("./assets/fluffyaccess-card-frame-vertical.png") center / 100% 100% no-repeat,
    rgba(255, 240, 249, 0.94);
}

.clean-gate .lookup-panel-grid {
  align-items: start;
}

.clean-gate .panel-icon {
  width: clamp(68px, 6vw, 84px);
  height: clamp(68px, 6vw, 84px);
  margin-top: 2px;
}

.clean-gate .lookup-panel h2 {
  font-size: clamp(1.12rem, 1.8vw, 1.48rem);
}

.clean-gate .lookup-panel p {
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
}

@media (max-width: 1020px) {
  .clean-gate .lookup-panel {
    width: min(100%, 380px);
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .clean-gate .lookup-panel {
    width: min(100%, 360px);
    padding: 24px 20px 22px;
  }
}

/* Daydream bright customer theme */
.clean-gate {
  min-height: 100dvh;
  place-items: start center;
  padding: clamp(24px, 4.2vw, 46px) clamp(16px, 4vw, 40px) clamp(28px, 5vw, 58px);
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 251, 235, 0.18), rgba(255, 255, 255, 0.24)),
    url("./assets/fluffyaccess-daydream-bg.png") center / cover no-repeat fixed,
    #fff6de;
  color: #51383d;
}

.clean-gate::before {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.55), transparent 32rem),
    linear-gradient(180deg, rgba(255, 253, 238, 0.28), rgba(255, 248, 232, 0.08));
  opacity: 1;
}

.clean-gate::after,
.clean-gate .stream-stage {
  display: none;
}

.clean-gate .lookup-home {
  width: min(1140px, 100%);
  gap: clamp(16px, 2.2vw, 24px);
  padding-top: 0;
}

.clean-gate .lookup-heading {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  backdrop-filter: none;
}

.clean-gate .brand-lockup {
  display: inline-flex;
  width: auto;
  min-width: 0;
  margin: 0 auto;
  padding: 7px 14px 7px 8px;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 12px 24px rgba(180, 126, 114, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.clean-gate .brand-logo {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(184, 146, 232, 0.5);
  border-radius: 16px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.82), transparent 32%),
    linear-gradient(135deg, #ffd4eb, #c9b1ff 50%, #a8ddff);
  color: #8a5bb2;
  text-shadow: none;
  box-shadow: 0 8px 18px rgba(167, 110, 205, 0.18);
}

.clean-gate .brand-lockup strong {
  color: #5e4633;
  font-size: 1.15rem;
}

.clean-gate .brand-lockup small,
.clean-gate .lookup-heading .eyebrow {
  display: none;
}

.clean-gate .lookup-heading h1 {
  margin: 2px 0 0;
  color: #b87967;
  background: linear-gradient(180deg, #f986a5 0%, #d9837a 44%, #6ea1ce 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(2.7rem, 7.6vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.95),
    0 7px 20px rgba(230, 145, 166, 0.22);
}

.clean-gate .lookup-heading p:last-child {
  max-width: 900px;
  margin: 0;
  color: #6d5847;
  font-size: clamp(0.98rem, 1.55vw, 1.14rem);
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.clean-gate .lookup-panel-grid {
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
}

.clean-gate .lookup-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 14px;
  width: 100%;
  min-height: 420px;
  aspect-ratio: auto;
  padding: clamp(28px, 2.8vw, 38px);
  border: 2px solid rgba(236, 172, 190, 0.62);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.92), transparent 9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 244, 247, 0.84));
  box-shadow:
    0 18px 38px rgba(176, 126, 132, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(5px);
  text-align: center;
  transform: none;
}

.clean-gate .lookup-panel:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 45px rgba(176, 126, 132, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.clean-gate .lookup-panel > * {
  position: relative;
  z-index: 2;
}

.clean-gate .lookup-panel::before {
  content: "";
  display: block;
  position: absolute;
  inset: 18px;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background:
    radial-gradient(circle at 13% 20%, rgba(255, 170, 198, 0.25), transparent 1.8rem),
    radial-gradient(circle at 88% 86%, rgba(255, 196, 217, 0.42), transparent 1.5rem);
  pointer-events: none;
}

.clean-gate .lookup-panel::after {
  content: "✓";
  display: grid;
  place-items: center;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 4px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background: linear-gradient(180deg, #ff95ad, #ed668d);
  color: white;
  font-size: 1.35rem;
  font-weight: 1000;
  box-shadow:
    0 9px 18px rgba(212, 105, 134, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.clean-gate .signin-panel {
  border-color: rgba(246, 164, 189, 0.84);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 228, 239, 0.9), transparent 9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 235, 242, 0.9));
}

.clean-gate .signin-panel::before {
  content: "Recommended";
  inset: 0 74px auto auto;
  z-index: 4;
  display: block;
  width: auto;
  height: auto;
  padding: 7px 16px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #ff86a9, #ed6191);
  color: white;
  font-size: 0.74rem;
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 8px 14px rgba(218, 99, 135, 0.2);
}

.clean-gate .household-panel {
  border-color: rgba(237, 207, 111, 0.9);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 245, 198, 0.95), transparent 9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 221, 0.92));
}

.clean-gate .household-panel::after {
  background: linear-gradient(180deg, #ffe16a, #edc532);
  color: #795d13;
  box-shadow:
    0 9px 18px rgba(196, 157, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.clean-gate .verified-panel {
  border-color: rgba(130, 183, 238, 0.86);
  background:
    radial-gradient(circle at 50% 18%, rgba(221, 239, 255, 0.95), transparent 9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(240, 248, 255, 0.92));
}

.clean-gate .verified-panel::after {
  background: linear-gradient(180deg, #82c0ff, #5297db);
  color: white;
  box-shadow:
    0 9px 18px rgba(75, 144, 209, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.clean-gate .panel-icon {
  width: clamp(82px, 7vw, 116px);
  height: clamp(82px, 7vw, 116px);
  margin: 0 auto 4px;
  border: 5px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.64), transparent 46%),
    linear-gradient(135deg, #fff3f7, #ff91ad);
  color: #ed698e;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95);
  box-shadow:
    0 12px 24px rgba(210, 125, 151, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.clean-gate .household-panel .panel-icon {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.64), transparent 46%),
    linear-gradient(135deg, #fff7d1, #ffd159);
  color: #d4a220;
}

.clean-gate .verified-panel .panel-icon {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.7), transparent 46%),
    linear-gradient(135deg, #e7f4ff, #74b7f7);
  color: #3d8fda;
}

.clean-gate .lookup-panel h2 {
  margin-top: 2px;
  color: #53363f;
  font-size: clamp(1.32rem, 2.1vw, 1.72rem);
  font-weight: 1000;
  line-height: 1.12;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.clean-gate .lookup-panel h2::before,
.clean-gate .lookup-panel h2::after {
  content: "✿";
  display: inline-block;
  margin: 0 8px;
  color: rgba(229, 128, 168, 0.78);
  font-size: 0.62em;
  vertical-align: 0.08em;
}

.clean-gate .household-panel h2 {
  color: #b78718;
}

.clean-gate .verified-panel h2 {
  color: #3d7fc1;
}

.clean-gate .lookup-panel p {
  margin: 0 auto;
  max-width: 16rem;
  color: #5c4b45;
  font-size: clamp(0.94rem, 1.2vw, 1.04rem);
  font-weight: 800;
  line-height: 1.45;
}

.clean-gate .lookup-form {
  width: 100%;
  align-self: end;
  gap: 13px;
  margin-top: auto;
}

.clean-gate .lookup-form input {
  min-height: 54px;
  padding: 13px 16px;
  border: 2px solid rgba(236, 169, 190, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 253, 0.96));
  color: #51383d;
  box-shadow:
    0 10px 18px rgba(198, 134, 151, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  font-size: 0.98rem;
}

.clean-gate .lookup-form input::placeholder {
  color: rgba(89, 70, 74, 0.55);
}

.clean-gate .lookup-form input:focus {
  border-color: rgba(238, 112, 151, 0.72);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(252, 146, 177, 0.18),
    0 12px 24px rgba(207, 116, 151, 0.14);
}

.clean-gate .household-panel .lookup-form input {
  border-color: rgba(226, 191, 72, 0.46);
}

.clean-gate .household-panel .lookup-form input:focus {
  border-color: rgba(226, 183, 45, 0.74);
  box-shadow:
    0 0 0 4px rgba(255, 218, 89, 0.18),
    0 12px 24px rgba(204, 162, 52, 0.14);
}

.clean-gate .verified-panel .lookup-form input {
  border-color: rgba(106, 164, 223, 0.46);
}

.clean-gate .verified-panel .lookup-form input:focus {
  border-color: rgba(83, 149, 215, 0.74);
  box-shadow:
    0 0 0 4px rgba(122, 186, 248, 0.18),
    0 12px 24px rgba(80, 143, 204, 0.14);
}

.clean-gate .lookup-form .primary-action {
  min-height: 56px;
  border: 2px solid rgba(230, 103, 141, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 35%),
    linear-gradient(180deg, #ff8aa8, #ee658e);
  color: #fffafc;
  font-size: 1rem;
  font-weight: 1000;
  text-shadow: 0 1px 0 rgba(167, 72, 100, 0.3);
  box-shadow:
    0 12px 20px rgba(214, 101, 132, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.clean-gate .household-panel .lookup-form .primary-action {
  border-color: rgba(211, 160, 28, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 35%),
    linear-gradient(180deg, #ffe275, #f3c735);
  color: #6f5512;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
  box-shadow:
    0 12px 20px rgba(198, 156, 44, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.clean-gate .verified-panel .lookup-form .primary-action {
  border-color: rgba(82, 143, 208, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 35%),
    linear-gradient(180deg, #87c4ff, #5199de);
  color: white;
  text-shadow: 0 1px 0 rgba(41, 96, 155, 0.34);
  box-shadow:
    0 12px 20px rgba(76, 143, 206, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.clean-gate .lookup-form .primary-action::after {
  content: "→";
  display: inline-block;
  width: auto;
  height: auto;
  margin-left: 12px;
  background: none;
  color: currentColor;
  font-size: 1.2em;
  font-weight: 1000;
  transform: none;
}

.clean-gate .lookup-form .primary-action:hover {
  transform: translateY(-1px);
  filter: saturate(1.03) brightness(1.02);
}

.clean-gate .lookup-footnote,
.clean-gate .security-direct {
  width: min(820px, 100%);
  margin-inline: auto;
  border: 2px solid rgba(220, 186, 144, 0.5);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 250, 238, 0.78));
  box-shadow:
    0 14px 30px rgba(169, 130, 101, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
}

.clean-gate .lookup-footnote {
  justify-content: center;
  gap: 18px;
  padding: 14px 24px;
  color: #604643;
}

.clean-gate .lookup-footnote span,
.clean-gate .security-direct-icon {
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(135deg, #d6c4ff, #8c69de);
  color: white;
  box-shadow:
    0 10px 20px rgba(128, 92, 190, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.clean-gate .lookup-footnote p {
  max-width: 620px;
  padding-left: 18px;
  border-left: 1px solid rgba(165, 130, 103, 0.3);
  color: #5f4b45;
  font-weight: 900;
}

.clean-gate .security-direct {
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 320px) auto;
  gap: 18px;
  padding: 18px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(254, 238, 255, 0.82)),
    rgba(255, 246, 255, 0.9);
}

.clean-gate .security-direct::after {
  content: "▣";
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(161, 110, 195, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: #9a74d1;
  font-size: 1.5rem;
  font-weight: 1000;
}

.clean-gate .security-direct-copy strong {
  color: #593f6d;
  font-size: 1.22rem;
}

.clean-gate .security-direct-copy small {
  color: #65514f;
  font-weight: 800;
}

.clean-gate .security-direct-button {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent),
    linear-gradient(180deg, #c99cff, #9366df);
  color: white;
  font-size: 1.08rem;
  font-weight: 1000;
  text-shadow: 0 1px 0 rgba(85, 54, 133, 0.36);
  box-shadow:
    0 14px 24px rgba(137, 91, 202, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.clean-gate .security-direct-button::before {
  content: "▣";
  margin-right: 10px;
}

.lookup-modal {
  background: rgba(246, 219, 230, 0.42);
}

.lookup-modal-card {
  border: 2px solid rgba(235, 180, 201, 0.72);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95), transparent 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 251, 0.92));
  color: #51383d;
  box-shadow: 0 26px 70px rgba(138, 96, 112, 0.28);
}

.lookup-modal-card h2,
.lookup-state.success .modal-code {
  color: #51383d;
}

.lookup-state.compact,
.security-copy,
.lookup-state.success small,
.lookup-state.waiting span,
.lookup-state.error span {
  color: #6c5754;
}

.lookup-modal-card .primary-action {
  background: linear-gradient(180deg, #ff8aa8, #ee658e);
  color: white;
}

.modal-code.action-ready {
  font-size: clamp(1.3rem, 4vw, 2rem);
  letter-spacing: 0;
  color: #7a4b31;
}

.household-action-link {
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}

.lookup-modal-card .mail-icon {
  background: linear-gradient(135deg, #ffd4eb, #c9b1ff 50%, #a8ddff);
  color: #8051a9;
}

@media (max-width: 1040px) {
  .clean-gate {
    background-position: center top;
    background-attachment: scroll;
  }

  .clean-gate .lookup-home {
    width: min(720px, 100%);
  }

  .clean-gate .lookup-panel-grid {
    grid-template-columns: 1fr;
  }

  .clean-gate .lookup-panel {
    width: min(100%, 430px);
    min-height: 390px;
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .clean-gate {
    padding: 22px 14px 28px;
    background-position: center top;
  }

  .clean-gate::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 251, 241, 0.18));
  }

  .clean-gate .brand-lockup {
    transform: scale(0.92);
    transform-origin: center;
  }

  .clean-gate .lookup-heading h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .clean-gate .lookup-heading p:last-child {
    font-size: 0.92rem;
  }

  .clean-gate .lookup-panel {
    min-height: 370px;
    padding: 28px 22px 22px;
  }

  .clean-gate .panel-icon {
    width: 82px;
    height: 82px;
  }

  .clean-gate .lookup-footnote,
  .clean-gate .security-direct {
    width: 100%;
  }

  .clean-gate .lookup-footnote {
    align-items: start;
    gap: 12px;
    padding: 14px;
  }

  .clean-gate .lookup-footnote p {
    padding-left: 12px;
    font-size: 0.88rem;
  }

  .clean-gate .security-direct {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }

  .clean-gate .security-direct::after {
    display: none;
  }

  .clean-gate .security-direct-button {
    grid-column: 1 / -1;
  }
}

/* Soft radius polish */
.clean-gate .lookup-panel {
  border-radius: 26px;
  overflow: hidden;
}

.clean-gate .lookup-panel::before {
  border-radius: 20px;
}

.clean-gate .signin-panel::before {
  border-radius: 0 0 16px 16px;
}

.clean-gate .panel-icon {
  border-radius: 28px;
}

.clean-gate .lookup-form input {
  border-radius: 16px;
}

.clean-gate .lookup-form .primary-action,
.clean-gate .lookup-modal-card .primary-action {
  border-radius: 18px;
}

.clean-gate .lookup-footnote,
.clean-gate .security-direct {
  border-radius: 24px;
}

.clean-gate .lookup-footnote span,
.clean-gate .security-direct-icon {
  border-radius: 22px;
}

.clean-gate .security-direct::after {
  border-radius: 18px;
}

.clean-gate .security-direct-button {
  border-radius: 20px;
}

.lookup-modal-card {
  border-radius: 26px;
}

.lookup-modal-card .mail-icon,
.security-check-card input {
  border-radius: 18px;
}

@media (max-width: 720px) {
  .clean-gate .lookup-panel {
    border-radius: 22px;
  }

  .clean-gate .lookup-panel::before {
    border-radius: 17px;
  }

  .clean-gate .lookup-footnote,
  .clean-gate .security-direct {
    border-radius: 20px;
  }
}

/* 2026-06-04 kawaii icon refresh */
.clean-gate {
  padding-top: clamp(24px, 3.2vw, 40px);
  background:
    linear-gradient(180deg, rgba(255, 251, 235, 0.08), rgba(255, 247, 232, 0.18)),
    url("./assets/fluffyaccess-daydream-bg.png") center / cover no-repeat fixed,
    #fff8e9;
}

.kawaii-float-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.float-icon {
  position: absolute;
  width: clamp(42px, 5vw, 92px);
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(143, 93, 82, 0.16));
  animation: kawaiiFloat 5.8s ease-in-out infinite;
}

.float-star {
  top: 13%;
  left: clamp(18px, 5vw, 94px);
  width: clamp(72px, 8vw, 130px);
  animation-delay: -1s;
}

.float-heart {
  top: 14%;
  right: clamp(42px, 9vw, 150px);
  width: clamp(50px, 5vw, 84px);
  animation-delay: -2.2s;
}

.float-cloud {
  right: clamp(6px, 3vw, 52px);
  bottom: clamp(92px, 12vh, 170px);
  width: clamp(70px, 8vw, 118px);
  animation-delay: -3.1s;
}

.float-mailbox {
  right: clamp(18px, 4vw, 72px);
  bottom: clamp(24px, 5vh, 64px);
  width: clamp(78px, 8vw, 132px);
  animation-delay: -1.8s;
}

.float-tree {
  right: clamp(8px, 3vw, 44px);
  top: clamp(132px, 22vh, 240px);
  width: clamp(100px, 12vw, 180px);
  animation-delay: -4.4s;
}

.float-flower-a {
  left: clamp(18px, 4vw, 80px);
  bottom: clamp(34px, 6vh, 80px);
  width: clamp(48px, 5vw, 78px);
  animation-delay: -2.7s;
}

.float-flower-b {
  right: clamp(132px, 11vw, 220px);
  top: clamp(154px, 26vh, 286px);
  width: clamp(42px, 4vw, 68px);
  animation-delay: -3.8s;
}

.float-spark-a {
  left: 38%;
  top: clamp(148px, 21vh, 226px);
  width: clamp(36px, 3vw, 56px);
  animation-delay: -2s;
}

.float-spark-b {
  right: 27%;
  top: clamp(136px, 20vh, 210px);
  width: clamp(30px, 2.7vw, 48px);
  animation-delay: -0.7s;
}

.float-spark-c {
  left: 24%;
  top: clamp(180px, 27vh, 280px);
  width: clamp(30px, 2.7vw, 48px);
  animation-delay: -4.8s;
}

@keyframes kawaiiFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(3deg);
  }
}

.clean-gate .lookup-home {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
  gap: clamp(16px, 2vw, 22px);
}

.clean-gate .lookup-heading {
  gap: 8px;
}

.clean-gate .brand-lockup {
  padding: 0;
  gap: 10px;
  background: transparent;
  box-shadow: none;
}

.clean-gate .brand-logo,
.clean-gate .brand-lockup > div {
  display: none;
}

.brand-logo-img {
  width: clamp(48px, 4.8vw, 72px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 11px rgba(151, 100, 180, 0.2));
}

.brand-word-img {
  width: clamp(150px, 15vw, 232px);
  height: auto;
  display: block;
  filter: drop-shadow(0 5px 8px rgba(119, 76, 44, 0.12));
}

.clean-gate .lookup-heading h1 {
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0;
  font-size: 0;
  line-height: 1;
  background: none;
  text-shadow: none;
}

.title-art {
  display: block;
  width: min(920px, 94vw);
  max-height: clamp(84px, 12vw, 150px);
  object-fit: contain;
  filter: drop-shadow(0 8px 0 rgba(255, 255, 255, 0.75)) drop-shadow(0 13px 14px rgba(176, 120, 90, 0.14));
}

.clean-gate .lookup-heading p:last-child {
  max-width: 780px;
  color: #5c4f43;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 900;
}

.clean-gate .lookup-panel-grid {
  width: min(1040px, 100%);
  margin: 0 auto;
  gap: clamp(16px, 2vw, 26px);
}

.clean-gate .lookup-panel {
  min-height: 410px;
  padding: clamp(24px, 2.8vw, 34px);
  border-width: 2px;
  border-radius: 32px;
  overflow: visible;
  box-shadow:
    0 18px 34px rgba(176, 126, 132, 0.15),
    0 3px 0 rgba(255, 255, 255, 0.72) inset;
}

.clean-gate .lookup-panel::before {
  inset: 12px;
  border-radius: 24px;
}

.clean-gate .lookup-panel::after {
  display: none;
}

.panel-corner-icon {
  position: absolute !important;
  z-index: 5 !important;
  top: -24px;
  right: -22px;
  width: clamp(54px, 5.2vw, 74px);
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(126, 82, 86, 0.18));
  pointer-events: none;
}

.clean-gate .signin-panel::before {
  content: "Recommended";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 76px;
  bottom: auto;
  left: auto;
  width: auto;
  height: auto;
  min-width: 136px;
  min-height: 0;
  padding: 8px 18px 9px;
  border: 0;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #ff8fb4, #ed6695);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 9px 15px rgba(220, 104, 139, 0.2);
  pointer-events: none;
}

.clean-gate .panel-icon {
  width: clamp(118px, 10vw, 154px);
  height: clamp(96px, 9vw, 134px);
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  color: inherit;
}

.clean-gate .panel-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(150, 102, 99, 0.12));
}

.clean-gate .lookup-panel h2 {
  margin-top: 0;
  font-size: clamp(1.3rem, 2vw, 1.78rem);
  line-height: 1.08;
}

.clean-gate .lookup-form input {
  min-height: 56px;
  padding-left: 52px;
  border-radius: 20px;
  background-image:
    url("./assets/kawaii-envelope.png"),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 252, 253, 0.96));
  background-position:
    17px center,
    center;
  background-size:
    26px auto,
    auto;
  background-repeat: no-repeat;
}

.clean-gate .lookup-form .primary-action {
  min-height: 58px;
  border-radius: 22px;
  letter-spacing: 0;
}

.clean-gate .lookup-form .primary-action::after {
  content: "➜";
  margin-left: 14px;
  font-size: 1.08em;
}

.clean-gate .lookup-footnote {
  position: relative;
  width: min(800px, 100%);
  min-height: 74px;
  padding: 14px 26px;
  border-radius: 28px;
}

.clean-gate .lookup-footnote span,
.clean-gate .security-direct-icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.clean-gate .lookup-footnote span img,
.clean-gate .security-direct-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(118, 79, 153, 0.18));
}

.clean-gate .security-direct {
  width: min(920px, 100%);
  border-radius: 32px;
  border-color: rgba(193, 146, 210, 0.45);
}

.clean-gate .security-direct::after {
  content: "";
  background:
    url("./assets/kawaii-lock-tile.png") center / contain no-repeat;
  border: 0;
  box-shadow: none;
}

.clean-gate .security-direct-button {
  min-height: 62px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 42%),
    linear-gradient(180deg, #d09dff, #9f68e7);
  box-shadow:
    0 14px 24px rgba(137, 91, 202, 0.19),
    inset 0 2px 0 rgba(255, 255, 255, 0.46);
}

.clean-gate .security-direct-button::before {
  content: "🔒";
  margin-right: 10px;
}

@media (max-width: 1040px) {
  .float-tree,
  .float-mailbox {
    opacity: 0.5;
  }

  .clean-gate .lookup-panel-grid {
    width: min(470px, 100%);
  }
}

@media (max-width: 720px) {
  .float-icon {
    opacity: 0.32;
  }

  .float-star {
    top: 112px;
    left: -34px;
    width: 68px;
  }

  .float-heart {
    top: 88px;
    right: -20px;
  }

  .float-tree,
  .float-mailbox,
  .float-flower-a,
  .float-flower-b {
    display: none;
  }

  .brand-word-img {
    width: 150px;
  }

  .title-art {
    width: min(350px, 90vw);
    max-height: 82px;
  }

  .clean-gate .lookup-heading {
    overflow: hidden;
  }

  .clean-gate .lookup-panel {
    min-height: 384px;
    border-radius: 26px;
  }

  .panel-corner-icon {
    top: -16px;
    right: -12px;
  }

  .clean-gate .panel-icon {
    width: 112px;
    height: 100px;
  }

  .clean-gate .security-direct {
    border-radius: 26px;
  }
}
