@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --green: #315d49;
  --green-dark: #234633;
  --paper: #f5f5f7;
  --line: #e7e7e9;
  --white: #fff;
  --gold: #c59458;
  --shadow: 0 24px 70px rgba(30, 45, 36, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  opacity: .42;
  filter: blur(2px);
}

.ambient-one {
  right: -200px;
  top: -240px;
  background: radial-gradient(circle, #d8e8dc 0, transparent 70%);
  animation: ambient-drift 14s ease-in-out infinite alternate;
}

.ambient-two {
  left: -220px;
  bottom: -270px;
  background: radial-gradient(circle, #eee0ca 0, transparent 70%);
  animation: ambient-drift 18s ease-in-out infinite alternate-reverse;
}

.auth-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px 18px;
}

.auth-card {
  width: min(100%, 470px);
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 30px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  animation: rise-in .7s both;
}

.glass-card {
  background: rgba(255, 255, 255, .87);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand-symbol {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: var(--green);
  color: white;
  font-size: 20px;
}

.auth-card > .brand {
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  letter-spacing: -.055em;
}

.auth-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 8vw, 3.25rem);
  line-height: 1.02;
}

.auth-card h1 span,
.hero h1 span,
.agreement-hero h1 span {
  color: var(--green);
}

.lead {
  max-width: 350px;
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.welcome-points {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 16px 18px;
  border-radius: 17px;
  background: #f6f7f5;
}

.welcome-points div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.welcome-points span {
  color: #8a9c90;
  font-size: .7rem;
  font-weight: 700;
}

.welcome-points p {
  margin: 0;
  color: #46534b;
  font-size: .86rem;
}

label {
  display: block;
  margin: 16px 0 7px;
  color: #37383a;
  font-size: .82rem;
  font-weight: 600;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dedee2;
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}

input::placeholder {
  color: #a1a1a6;
}

input:focus,
select:focus {
  border-color: #789b83;
  box-shadow: 0 0 0 4px rgba(78, 126, 94, .12);
}

select:disabled {
  background: #f3f3f4;
  color: #98989d;
  cursor: not-allowed;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .18s, background .18s, box-shadow .18s;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(.98);
}

.button-dark {
  background: #1d1d1f;
  color: #fff;
  box-shadow: 0 8px 18px rgba(29, 29, 31, .14);
}

.button-dark:hover {
  background: #363638;
  box-shadow: 0 12px 24px rgba(29, 29, 31, .2);
}

.button-light {
  border: 1px solid #dedee2;
  background: rgba(255, 255, 255, .72);
  color: #444;
}

.button-light:hover {
  background: #fff;
}

.full-width {
  width: 100%;
}

#authForm .button {
  margin-top: 21px;
}

.text-button {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: .84rem;
  font-weight: 700;
}

.text-button:hover {
  text-decoration: underline;
}

#forgotPasswordButton {
  display: block;
  margin-top: 11px;
}

.prototype-note,
.sign-footnote {
  margin: 17px 0 0;
  color: #89898f;
  font-size: .73rem;
  line-height: 1.5;
}

.form-message {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--green);
  font-size: .82rem;
  line-height: 1.5;
}

.reset-form {
  margin-top: 22px;
  animation: rise-in .35s both;
}

.reset-form h2 {
  margin-bottom: 7px;
  font-size: 1.4rem;
}

.reset-form .button {
  margin-top: 17px;
}

.muted {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}

.app-shell,
.agreement-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  animation: fade-in .65s both;
}

.topbar {
  display: flex;
  height: 82px;
  align-items: center;
  justify-content: space-between;
}

.hero-card {
  position: relative;
  display: flex;
  min-height: 340px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 55px 64px;
  border-radius: 30px;
  background: linear-gradient(115deg, #e6eee7 0%, #eff1eb 62%, #f6eddf 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
  animation: rise-in .65s .08s both;
}

.hero h1,
.agreement-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 7vw, 5.1rem);
  line-height: .99;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 460px;
  color: #606a63;
  line-height: 1.7;
}

.hero-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
  color: var(--green);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-link:hover {
  gap: 18px;
}

.hero-art {
  position: relative;
  width: 240px;
  height: 240px;
  flex: 0 0 240px;
  margin: 0 28px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(49, 93, 73, .2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-a {
  width: 195px;
  height: 195px;
  animation: orbit-spin 26s linear infinite;
}

.orbit-b {
  width: 140px;
  height: 140px;
  border-style: dashed;
  animation: orbit-spin 34s linear infinite reverse;
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: 26px;
  background: var(--green);
  box-shadow: 0 18px 38px rgba(49, 93, 73, .23);
  color: white;
  font-size: 39px;
  transform: translate(-50%, -50%);
  animation: core-float 4s ease-in-out infinite;
}

.orbit-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid #f3f4ed;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(197, 148, 88, .12);
}

.dot-a {
  top: 23px;
  left: 53px;
}

.dot-b {
  right: 12px;
  bottom: 46px;
  background: #7ca589;
}

.dot-c {
  top: 43px;
  right: 21px;
  width: 10px;
  height: 10px;
  background: #8395a4;
}

.hero-caption {
  position: absolute;
  right: 34px;
  bottom: 20px;
  color: #819087;
  font-size: .68rem;
  letter-spacing: .05em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 17px 0;
}

.stat-card {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  border: 1px solid rgba(226, 226, 230, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 25px rgba(28, 42, 33, .035);
  animation: rise-in .55s both;
}

.stat-card:nth-child(2) {
  animation-delay: .08s;
}

.stat-card:nth-child(3) {
  animation-delay: .16s;
}

.stat-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 14px;
  background: #e9f0e9;
  color: var(--green);
  font-size: 21px;
}

.stat-icon.rose {
  background: #f5eaed;
  color: #a35d72;
}

.stat-icon.gold {
  background: #f7f0e4;
  color: var(--gold);
}

.stat-card p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: .76rem;
}

.stat-card strong {
  font-family: Manrope, sans-serif;
  font-size: 1.35rem;
}

.stat-card strong.bump {
  animation: number-bump .35s ease;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr);
  gap: 17px;
  align-items: start;
}

.panel {
  padding: 27px;
  border: 1px solid rgba(226, 226, 230, .9);
  border-radius: 23px;
  background: rgba(255, 255, 255, .91);
  box-shadow: 0 10px 34px rgba(28, 42, 33, .04);
}

.form-panel {
  animation: rise-in .55s .2s both;
}

.list-panel {
  min-height: 440px;
  animation: rise-in .55s .28s both;
}

.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.section-title h2,
.sign-panel h2 {
  margin: 0;
  font-size: 1.5rem;
}

.section-title .eyebrow {
  margin-bottom: 6px;
}

.number-tag {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid #e2e2e5;
  border-radius: 50%;
  color: #888d89;
  font-size: .7rem;
  font-weight: 700;
}

.optional {
  margin-left: 4px;
  color: #98989d;
  font-weight: 400;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 4px;
  padding: 12px;
  border: 1px solid #eee5d4;
  border-radius: 13px;
  background: #fbf8f0;
}

.notice > span {
  line-height: 1.4;
}

.notice p {
  margin: 0;
  color: #75684f;
  font-size: .75rem;
  line-height: 1.55;
}

.notice-cool {
  border-color: #e1eae2;
  background: #f4f8f4;
}

.notice-cool p {
  color: #53685a;
}

.submit-button {
  margin-top: 22px;
}

.conditional {
  overflow: hidden;
  animation: reveal .25s ease both;
}

.search-box {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
  color: #85858a;
}

.search-box > span {
  font-size: 1.35rem;
}

.search-box input {
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.search-box input:focus {
  box-shadow: none;
}

.empty-state {
  display: grid;
  justify-items: center;
  padding: 64px 16px 40px;
  text-align: center;
  animation: fade-in .4s;
}

.empty-mark {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 20px;
  background: #edf3ed;
  color: var(--green);
  font-size: 28px;
  animation: float-small 4s ease-in-out infinite;
}

.empty-state h3 {
  margin-bottom: 7px;
  font-size: 1rem;
}

.empty-state p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.6;
}

.asset-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.asset-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 13px;
  padding: 15px;
  border: 1px solid #e8e8eb;
  border-radius: 15px;
  background: white;
  animation: card-in .4s both;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.asset-card:hover {
  transform: translateY(-2px);
  border-color: #cbd9ce;
  box-shadow: 0 10px 24px rgba(28, 42, 33, .07);
}

.asset-card.removing {
  animation: card-out .2s forwards;
}

.asset-main {
  min-width: 0;
}

.asset-type {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 5px 9px;
  border-radius: 99px;
  background: #edf3ed;
  color: var(--green);
  font-size: .67rem;
  font-weight: 700;
}

.asset-title {
  margin: 0 0 4px;
  overflow-wrap: anywhere;
  font-size: .97rem;
  font-weight: 800;
}

.asset-meta {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.asset-instruction {
  display: inline-flex;
  margin-top: 8px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #f5f5f3;
  color: #565d58;
  font-size: .71rem;
}

.remove-button {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #9b6c6c;
  font-size: .73rem;
  font-weight: 700;
}

.remove-button:hover {
  background: #fbefef;
}

.no-results {
  padding: 28px 10px;
  color: var(--muted);
  text-align: center;
  font-size: .86rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 23px 4px 30px;
  color: #85858a;
  font-size: .71rem;
  line-height: 1.5;
}

.agreement-hero {
  padding: 40px 0 32px;
  animation: rise-in .55s both;
}

.agreement-hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
}

.agreement-hero > p:last-child {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
}

.agreement-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 18px;
  align-items: start;
}

.agreement-document,
.sign-panel {
  animation: rise-in .55s .12s both;
}

.document-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}

.document-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-size: 22px;
}

.document-label {
  color: #85858a;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.agreement-document h2 {
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.document-intro {
  max-width: 620px;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.7;
}

.agreement-account {
  margin: 22px 0;
  padding: 16px;
  border: 1px solid #e6ece6;
  border-radius: 15px;
  background: #f7f9f6;
}

.agreement-account span {
  display: block;
  margin-bottom: 7px;
  color: #7c897f;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.agreement-account strong {
  display: block;
  margin-bottom: 4px;
  font-family: Manrope, sans-serif;
}

.agreement-account p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

.terms-list {
  display: grid;
  gap: 0;
}

.terms-list section {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid #ededee;
}

.terms-list section > span {
  color: #93a195;
  font-size: .7rem;
  font-weight: 700;
}

.terms-list h3 {
  margin: 0 0 5px;
  font-size: .91rem;
  letter-spacing: -.025em;
}

.terms-list p {
  margin: 0;
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.6;
}

.sign-panel {
  position: sticky;
  top: 20px;
}

.sign-panel > .eyebrow {
  margin-bottom: 7px;
}

.sign-panel h2 {
  margin-bottom: 9px;
}

.prototype-warning {
  margin: 18px 0;
  padding: 13px;
  border: 1px solid #f0e2c8;
  border-radius: 12px;
  background: #fcf7ed;
  color: #78613c;
  font-size: .77rem;
  line-height: 1.55;
}

.prototype-warning strong {
  color: #604a28;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  color: #4f5551;
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.5;
}

.checkbox-row input {
  width: 17px;
  min-height: 17px;
  flex: 0 0 17px;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.sign-panel .button {
  margin-top: 3px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 5;
  max-width: min(360px, calc(100vw - 36px));
  padding: 13px 17px;
  border-radius: 13px;
  background: #202e26;
  color: white;
  box-shadow: 0 12px 30px rgba(25, 49, 36, .2);
  font-size: .84rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .22s, transform .22s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(9px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes card-out {
  to { opacity: 0; transform: translateX(14px) scale(.98); }
}

@keyframes ambient-drift {
  to { transform: translate(22px, 28px) scale(1.08); }
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes core-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -56%); }
}

@keyframes float-small {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes number-bump {
  50% { transform: scale(1.16); color: var(--green); }
}

@media (max-width: 800px) {
  .hero-card {
    min-height: 300px;
    padding: 40px;
  }

  .hero-art {
    width: 180px;
    height: 180px;
    flex-basis: 180px;
    margin: 0;
  }

  .orbit-a { width: 160px; height: 160px; }
  .orbit-b { width: 115px; height: 115px; }

  .workspace {
    grid-template-columns: 1fr;
  }

  .agreement-layout {
    grid-template-columns: 1fr;
  }

  .sign-panel {
    position: static;
  }

  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    padding: 14px;
  }
}

@media (max-width: 560px) {
  .auth-card {
    padding: 30px 23px;
  }

  .app-shell,
  .agreement-shell {
    width: calc(100% - 24px);
  }

  .topbar {
    height: 70px;
  }

  .hero-card {
    min-height: 290px;
    padding: 30px 24px;
  }

  .hero-art {
    position: absolute;
    right: -75px;
    bottom: -18px;
    opacity: .3;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 320px;
  }

  .hero-caption {
    right: 18px;
    bottom: 13px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 69px;
  }

  .panel {
    padding: 21px 17px;
  }

  .footer {
    flex-direction: column;
  }

  .agreement-hero {
    padding: 30px 3px 22px;
  }

  .agreement-document h2 {
    font-size: 1.45rem;
  }

  .toast {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
/* India financial-control-centre direction: restrained, banking-led surfaces. */
:root{--ink:#111111;--muted:#6f716e;--green:#173d31;--green-dark:#0d2b22;--paper:#f4f2ee;--line:#d9d8d2;--gold:#b18a50;--shadow:0 18px 48px rgba(17,17,17,.08)}
body{background:#f4f2ee;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif}
.auth-screen{align-items:stretch;padding:0;background:linear-gradient(135deg,#f5f3ef 0%,#e9eee8 100%)}
.auth-card{width:min(100%,1180px);min-height:100vh;margin:0 auto;padding:38px clamp(24px,7vw,104px);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.72fr);grid-template-rows:auto 1fr;column-gap:clamp(45px,8vw,130px);align-content:start;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
.auth-card>.brand{grid-column:1/-1;margin-bottom:clamp(70px,13vh,150px)}
.auth-card h1{font-size:clamp(3.2rem,6.4vw,6.9rem);letter-spacing:-.08em;line-height:.9;margin-bottom:24px}.auth-card h1 span{color:var(--green)}.auth-card .lead{max-width:510px;font-size:1.05rem;line-height:1.55;color:#4f5751}
.welcome-points{align-self:end;margin:44px 0 0;padding:20px 0;background:transparent;border:0;box-shadow:none;border-top:1px solid rgba(23,61,49,.2);border-radius:0;display:flex;gap:32px}.welcome-points div{display:block;min-width:112px}.welcome-points span{display:block;margin-bottom:9px;color:var(--gold)}.welcome-points p{font-size:.78rem;line-height:1.35}
.auth-card>#authForm{grid-column:2;grid-row:3;align-self:start;padding:28px;border-radius:20px;background:rgba(255,255,255,.58);border:1px solid rgba(255,255,255,.82);box-shadow:0 24px 70px rgba(23,61,49,.12)}.auth-card>#forgotPasswordButton,.auth-card>#toggleAuth{grid-column:2;justify-self:start;margin-left:28px}
.button-dark{background:var(--green);box-shadow:0 12px 24px rgba(23,61,49,.18)}.button-dark:hover{background:var(--green-dark)}.topbar{height:84px}.brand-symbol{width:32px;height:32px;border-radius:10px;background:var(--green);font-size:17px}
.app-shell,.agreement-shell{width:min(1240px,calc(100% - 48px))}.hero-card{min-height:390px;padding:clamp(36px,6vw,74px);border-radius:28px;background:var(--green);color:#f7f5ef;box-shadow:0 24px 70px rgba(23,61,49,.18)}.hero-card::after{opacity:.36}.hero h1{font-size:clamp(3.2rem,6.5vw,6.4rem);letter-spacing:-.08em}.hero h1 span{color:#d5e2d4}.hero-copy>p:not(.eyebrow){color:#d4ddd6}.hero-card .eyebrow,.hero-link{color:#d1b47d}.hero-caption{color:rgba(247,245,239,.62)}
.stats-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}.stat-card{border-radius:18px;padding:20px 22px;background:#fff;border:1px solid #e4e2dc;box-shadow:none}.stat-card p{color:#74766f}.stat-card strong{font-size:2rem;letter-spacing:-.06em}.workspace{grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr);gap:16px}.panel{border-radius:22px;background:#fff;border:1px solid #e4e2dc;box-shadow:none;backdrop-filter:none}.section-title{border-bottom:1px solid #e6e4de;padding-bottom:18px}.search-box{border-radius:999px;background:#f5f4f0;border-color:#e4e2dc;box-shadow:none}.asset-card{border-radius:16px;background:#faf9f6;border-color:#e7e5df;box-shadow:none}.asset-card:hover{background:#fff;box-shadow:0 12px 30px rgba(17,17,17,.07)}
@media(max-width:780px){.auth-card{display:block;min-height:100svh;padding:26px 22px}.auth-card>.brand{margin-bottom:72px}.auth-card>#authForm{margin-top:34px}.welcome-points{gap:14px}.welcome-points div{min-width:0;flex:1}.workspace{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr 1fr}.stat-card:last-child{grid-column:1/-1}.hero-card{min-height:440px}.hero-art{position:absolute;right:-42px;bottom:-30px;opacity:.55}.hero-copy{max-width:90%}}

/* Blue and white financial palette. */
:root{--ink:#10233f;--muted:#607089;--green:#223BB6;--green-dark:#182d8c;--paper:#f7faff;--line:#dbe6f5;--gold:#5e76d8;--shadow:0 18px 48px rgba(34,59,182,.12)}
body{background:#f7faff;color:var(--ink)}
.auth-screen{position:relative;background-image:linear-gradient(90deg,rgba(255,255,255,.9) 0%,rgba(255,255,255,.7) 34%,rgba(255,255,255,.14) 66%,rgba(255,255,255,.18) 100%),url("assets/luma-family-hero.png");background-position:center top;background-size:cover;background-repeat:no-repeat}
.auth-card h1 span,.hero h1 span{color:#223BB6}.auth-card .lead{color:#607089}.welcome-points{border-color:#cdddf4}.welcome-points span{color:#223BB6}
.brand-symbol{background:#223BB6;box-shadow:0 8px 18px rgba(34,59,182,.24)}
.button-dark{background:#223BB6;box-shadow:0 12px 24px rgba(34,59,182,.24)}.button-dark:hover{background:#182d8c}.text-button,.hero-link{color:#223BB6}
.auth-card>#authForm{background:rgba(255,255,255,.84);border-color:#dbe6f5;box-shadow:0 24px 70px rgba(29,78,137,.12)}
.auth-card>.eyebrow{grid-column:1;grid-row:2}.auth-card>h1{grid-column:1;grid-row:3}.auth-card>.lead{grid-column:1;grid-row:4}.auth-card>.welcome-points{grid-column:1;grid-row:5}.auth-card>#authForm{grid-column:2;grid-row:2 / span 4;align-self:center}
.hero-card{background:#155eef;box-shadow:0 24px 70px rgba(21,94,239,.2)}.hero-card::after{background:radial-gradient(circle at 72% 40%,rgba(255,255,255,.32),transparent 23%),radial-gradient(circle at 22% 80%,rgba(122,185,255,.28),transparent 26%)}.hero-card .eyebrow,.hero-link{color:#cfe1ff}.hero h1 span{color:#e1edff}.hero-copy>p:not(.eyebrow){color:#dbeaff}
.stat-card,.panel{border-color:#dbe6f5;background:#fff}.stat-card p{color:#607089}.stat-icon,.empty-mark{background:#eef5ff;border-color:#d7e6fb;color:#155eef}.stat-icon.rose{color:#3d7df0;background:#f0f6ff}.stat-icon.gold{color:#1769e0;background:#edf5ff}
.search-box{background:#f5f9ff;border-color:#dbe6f5}.asset-card{background:#fbfdff;border-color:#e1ebf8}.asset-card:hover{border-color:#a8c8f7;box-shadow:0 12px 30px rgba(29,78,137,.1)}
input,select{border-color:#cdddf4;background:#fff;color:var(--ink)}input:focus,select:focus{border-color:#5b96f5;box-shadow:0 0 0 4px rgba(21,94,239,.12)}
.notice{background:#f1f7ff;border-color:#c9ddfa}.notice-cool{background:#edf5ff;border-color:#b9d3f7}
@media(max-width:780px){.auth-screen{background:linear-gradient(180deg,#fff 0%,#eef5ff 100%)}}

/* Public launch page: register first, explain second, invite again at launch. */
.auth-screen{display:block;padding:0}.auth-card{margin:0 auto}
.marketing-intro{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:clamp(110px,14vw,190px) clamp(0px,3vw,38px) clamp(90px,12vw,150px);border-top:1px solid #dbe6f5}.marketing-kicker{margin:0 0 18px;color:#155eef;font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.marketing-intro h2{max-width:850px;margin:0;font-size:clamp(3rem,6.3vw,6.8rem);line-height:.92;letter-spacing:-.08em}.marketing-lead{max-width:530px;margin:34px 0 72px;color:#607089;font-size:1.08rem;line-height:1.7}.marketing-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #cdddf4}.marketing-grid article{min-height:220px;padding:28px 24px 20px 0;border-right:1px solid #dbe6f5}.marketing-grid article+article{padding-left:24px}.marketing-grid article:last-child{border-right:0}.marketing-grid span{color:#155eef;font-size:.74rem;font-weight:800}.marketing-grid h3{margin:44px 0 10px;font-size:1.32rem;letter-spacing:-.05em}.marketing-grid p{max-width:260px;margin:0;color:#607089;line-height:1.6;font-size:.9rem}.asset-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:74px}.asset-strip span{padding:11px 16px;border:1px solid #dbe6f5;border-radius:999px;background:#fff;color:#365577;font-size:.8rem}
.launch-panel{padding:clamp(92px,12vw,160px) max(24px,7vw);background:#155eef;color:#fff;text-align:center}.launch-panel .marketing-kicker{color:#cfe1ff}.launch-panel h2{margin:0 auto 58px;font-size:clamp(3.2rem,7vw,7.2rem);line-height:.9;letter-spacing:-.08em}.launch-panel h2 em{color:#e1edff;font-style:normal}.launch-stats{display:flex;justify-content:center;gap:clamp(48px,10vw,150px);margin-bottom:52px}.launch-stats div{display:grid;gap:7px}.launch-stats strong{font-size:clamp(2rem,4vw,4rem);letter-spacing:-.07em}.launch-stats span{color:#cfe1ff;font-size:.8rem}.button-paper{background:#fff;color:#155eef;box-shadow:0 16px 32px rgba(5,45,132,.2)}.button-paper:hover{background:#eaf2ff}.launch-note{margin:18px 0 0;color:#cfe1ff;font-size:.82rem}
.launch-register{min-width:230px}
.plans-section{padding:clamp(92px,12vw,150px) max(24px,7vw);background:#fff}.plans-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin:0 auto 54px;max-width:1180px}.plans-heading h2{margin:0;font-size:clamp(3rem,6vw,6.3rem);line-height:.9;letter-spacing:-.08em}.plans-heading h2 em{color:#155eef;font-style:normal}.plans-heading>p:last-child{max-width:260px;margin:0 0 7px;color:#607089;line-height:1.55}.plans-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:1180px;margin:0 auto}.plan-card{display:flex;min-height:470px;flex-direction:column;padding:26px 22px 22px;border:1px solid #dbe6f5;border-radius:20px;background:#f8fbff}.plan-card.plan-featured{background:#155eef;border-color:#155eef;color:#fff;box-shadow:0 20px 42px rgba(21,94,239,.2)}.plan-label{color:#155eef;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.plan-featured .plan-label{color:#cfe1ff}.plan-card h3{margin:42px 0 14px;font-size:1.8rem;letter-spacing:-.06em}.plan-price{margin:0 0 18px;font-size:2rem;font-weight:800;letter-spacing:-.06em}.plan-price small{font-size:.75rem;font-weight:500;letter-spacing:0}.plan-card>p:not(.plan-price){min-height:72px;margin:0;color:#607089;font-size:.87rem;line-height:1.55}.plan-featured>p:not(.plan-price){color:#dbeaff}.plan-card ul{display:grid;gap:12px;margin:25px 0 28px;padding:20px 0 0;border-top:1px solid #dbe6f5;list-style:none}.plan-featured ul{border-color:rgba(255,255,255,.28)}.plan-card li{font-size:.82rem}.plan-card li::before{margin-right:8px;color:#155eef;content:"✓"}.plan-featured li::before{color:#cfe1ff}.plan-cta{width:100%;margin-top:auto}.button-outline{border:1px solid #b7ccec;background:#fff;color:#155eef}.button-outline:hover{background:#eef5ff}
@media(max-width:780px){.marketing-intro{width:calc(100% - 44px);padding-top:88px}.marketing-lead{margin-bottom:50px}.marketing-grid{grid-template-columns:1fr}.marketing-grid article,.marketing-grid article+article{min-height:0;padding:22px 0;border-right:0;border-bottom:1px solid #dbe6f5}.marketing-grid h3{margin:22px 0 8px}.asset-strip{margin-top:48px}.launch-stats{gap:28px}.launch-stats strong{font-size:2.1rem}}
@media(max-width:980px){.plans-grid{grid-template-columns:repeat(2,1fr)}.plan-card{min-height:420px}.plans-heading{align-items:start;flex-direction:column;gap:18px}.plans-heading>p:last-child{max-width:420px}}
@media(max-width:560px){.plans-grid{grid-template-columns:1fr}.plan-card{min-height:0}.plans-section{padding-right:22px;padding-left:22px}}

/* Brand blue token: #223BB6 */
:root{--green:#223BB6;--green-dark:#182d8c}
.auth-card h1 span,.hero h1 span,.welcome-points span,.text-button,.hero-link,.marketing-kicker,.marketing-grid span,.plans-heading h2 em,.plan-label,.button-outline{color:#223BB6}
.brand-symbol,.button-dark,.hero-card,.launch-panel,.plan-card.plan-featured{background:#223BB6}.button-dark:hover{background:#182d8c}.plan-card.plan-featured{border-color:#223BB6}.button-paper{color:#223BB6}.stat-icon,.empty-mark{color:#223BB6}.plan-card li::before{color:#223BB6}

/* Luma wordmark: the L is a protected asset container, with a light-path cut through it. */
.brand-symbol{position:relative;display:grid;place-items:center;overflow:hidden;border-radius:11px;background:#223BB6;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;font-size:18px;font-weight:800;letter-spacing:-.12em}.brand-mark-l{position:relative;z-index:2;transform:translateY(-1px)}.brand-symbol i{position:absolute;right:-5px;bottom:8px;width:26px;height:2px;background:#9eb8ff;transform:rotate(-28deg);transform-origin:right center;opacity:.95}.brand-symbol i::after{position:absolute;right:0;top:-3px;width:7px;height:7px;border-radius:50%;background:#dce6ff;content:""}
.brand>span:last-child{font-weight:800;letter-spacing:-.055em;color:#10233f}.hero-card .brand>span:last-child{color:#fff}
h1,h2,h3,.stat-card strong,.agreement-account strong{font-family:"Inter",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;font-weight:700;letter-spacing:-.065em}
.auth-screen{background:#f7faff}.auth-card{width:100%;max-width:none;background-image:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.76) 35%,rgba(255,255,255,.2) 68%,rgba(255,255,255,.18) 100%),url("assets/luma-family-hero.png");background-position:center top;background-size:cover;background-repeat:no-repeat}
.brand-logo-mark{display:block;width:110px;height:110px;object-fit:contain;border-radius:10px;mix-blend-mode:multiply}.topbar .brand-logo-mark{width:88px;height:88px}.auth-card>.brand .brand-logo-mark{width:118px;height:118px}.brand-logo-mark+span{display:none}

/* Treat the Luma mark as part of the Hero composition, not a detached nav logo. */
.auth-card>.brand{position:relative;z-index:3;display:inline-flex;align-items:center;justify-content:center;justify-self:start;width:max-content;padding:8px;border:0;border-radius:24px;background:transparent;box-shadow:none;backdrop-filter:none}
.auth-card>.brand .brand-logo-mark{width:100px;height:100px;border-radius:17px;mix-blend-mode:normal}
.auth-card>.brand::after{position:absolute;right:-18px;bottom:13px;width:50px;height:50px;border:1px solid rgba(34,59,182,.22);border-radius:50%;content:"";pointer-events:none}
@media(max-width:780px){.auth-card>.brand{padding:6px;border-radius:19px}.auth-card>.brand .brand-logo-mark{width:86px;height:86px}.auth-card>.brand::after{right:-13px;bottom:9px;width:38px;height:38px}}

/* Persistent top banner: the logo is always available as a route back to registration. */
.site-banner{position:fixed;top:0;left:0;right:0;z-index:20;display:flex;align-items:center;justify-content:space-between;height:72px;padding:8px max(22px,5vw);border-bottom:1px solid rgba(215,222,235,.9);background:rgba(255,255,255,.96);box-shadow:0 8px 28px rgba(16,35,63,.08);backdrop-filter:blur(18px);transform:translateY(-105%);transition:transform .32s ease}
.auth-screen.has-scrolled .site-banner{transform:translateY(0)}

/* More generous type rhythm across the landing page. */
.auth-screen h1,.auth-screen h2,.auth-screen h3{letter-spacing:-.045em}
.auth-card h1{line-height:.98}
.home-slogan{margin:0 0 12px;color:#223BB6;font-size:clamp(1.05rem,1.8vw,1.45rem);font-weight:800;letter-spacing:-.025em;line-height:1.2}
.auth-card .lead,.marketing-lead,.feature-copy p,.asset-showcase-heading>p:not(.showcase-kicker),.launch-note{letter-spacing:.012em;line-height:1.75}
.marketing-intro h2,.feature-copy h2,.asset-showcase h2,.plans-heading h2,.launch-panel h2{letter-spacing:-.045em;line-height:.98}
.feature-copy h2{line-height:1.02}
.showcase-kicker,.marketing-kicker,.feature-number,.plan-label,.site-banner-cta{letter-spacing:.08em}
.marketing-grid h3,.plan-card h3,.showcase-card-label,.showcase-card-footer,.visual-row,.timeline-step,.person-card{letter-spacing:.012em}
.button{letter-spacing:.01em}
.typing-placeholder::placeholder{color:#9fa1aa;opacity:.92}
.field-hint{margin:-8px 0 18px;color:#607089;font-size:.78rem;line-height:1.5;letter-spacing:.01em}
#trustedPersonWrap{display:grid;gap:0;padding:18px;border:1px solid #dbe6f5;border-radius:18px;background:#f7faff}
#trustedPersonWrap label{margin-top:0}

/* Full-width signed-in workspace. Content keeps comfortable gutters without a fixed max-width shell. */
.app-shell,.agreement-shell{width:100%;max-width:none;margin:0;padding-left:clamp(22px,5vw,84px);padding-right:clamp(22px,5vw,84px)}
.app-shell .hero-card,.app-shell .stats-grid,.app-shell .workspace,.agreement-shell>*{width:100%}
@media(max-width:780px){.app-shell,.agreement-shell{padding-left:18px;padding-right:18px}}
.asset-category-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:22px 0 18px}
.category-summary{display:grid;min-height:132px;align-content:space-between;padding:17px;border:1px solid #dbe6f5;border-radius:18px;background:#f8fbff}
.category-summary-label{color:#607089;font-size:.76rem;font-weight:700;letter-spacing:.02em}.category-summary strong{color:#10233f;font-size:2.15rem;letter-spacing:-.06em;line-height:1}.category-summary small{color:#607089;font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-banking{border-top:4px solid #223BB6}.category-protection{border-top:4px solid #e8a46b}.category-investments{border-top:4px solid #4b9d83}.category-other{border-top:4px solid #9ba9bd}
@media(max-width:980px){.asset-category-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.asset-category-summary{grid-template-columns:1fr 1fr;gap:8px}.category-summary{min-height:116px;padding:14px}.category-summary strong{font-size:1.8rem}.category-summary-label{font-size:.7rem}}

.dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 12px}.dashboard-live{display:flex;align-items:center;gap:8px;color:#10233f}.dashboard-live strong{font-size:.78rem}.dashboard-live small{color:#7a8799;font-size:.72rem}.live-pulse{width:8px;height:8px;border-radius:50%;background:#3d9578;box-shadow:0 0 0 5px rgba(61,149,120,.12);animation:dashboard-pulse 2.2s ease-in-out infinite}.dashboard-quick-action{padding:8px 12px;border:1px solid #c9daf3;border-radius:999px;background:#fff;color:#223bb6;font:inherit;font-size:.76rem;font-weight:800;cursor:pointer;transition:background .18s ease,transform .18s ease}.dashboard-quick-action:hover,.dashboard-quick-action:focus-visible{background:#eef5ff;transform:translateY(-1px)}
.dashboard-metrics{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:10px}.dashboard-metric{position:relative;display:grid;align-content:start;min-height:126px;padding:17px;border:1px solid #dbe6f5;border-radius:18px;background:#f8fbff;overflow:hidden}.dashboard-metric-featured{border-color:#10233f;background:#10233f;color:#fff;box-shadow:0 12px 26px rgba(16,35,63,.12)}.dashboard-metric-label{position:relative;z-index:1;color:#607089;font-size:.72rem;font-weight:800;letter-spacing:.03em}.dashboard-metric-featured .dashboard-metric-label{color:#a8c8ff}.dashboard-metric strong{position:relative;z-index:1;margin-top:16px;color:#10233f;font-size:2rem;letter-spacing:-.07em;line-height:1}.dashboard-metric-featured strong{color:#fff}.dashboard-metric small{position:relative;z-index:1;margin-top:10px;color:#607089;font-size:.72rem;line-height:1.45}.dashboard-metric-featured small{color:#c7d1ef}.metric-sheen{position:absolute;right:-24px;bottom:-42px;width:150px;height:150px;border:1px solid rgba(168,200,255,.2);border-radius:50%;box-shadow:0 0 0 20px rgba(168,200,255,.04),0 0 0 40px rgba(168,200,255,.025)}.coverage-bar{height:6px;margin-top:18px;overflow:hidden;border-radius:99px;background:#e0eaf7}.coverage-bar span{display:block;height:100%;width:0;border-radius:inherit;background:#3d9578;transition:width .55s cubic-bezier(.2,.7,.2,1)}
.dashboard-signal-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 18px}.dashboard-signal-panel{min-height:228px;padding:19px;border:1px solid #dbe6f5;border-radius:18px;background:#fff}.dashboard-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.dashboard-panel-heading h3{margin:6px 0 0;color:#10233f;font-size:1.1rem;letter-spacing:-.04em}.dashboard-kicker{color:#223bb6;font-size:.66rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.dashboard-signal-mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid #c9daf3;border-radius:50%;color:#223bb6;font-size:1rem}.allocation-rows{display:grid;gap:14px}.allocation-row{display:grid;gap:7px}.allocation-row-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#38516f;font-size:.77rem}.allocation-row-top strong{color:#10233f;font-size:.72rem}.allocation-track{height:7px;overflow:hidden;border-radius:99px;background:#eef3f9}.allocation-track span{display:block;height:100%;min-width:0;border-radius:inherit;transition:width .55s cubic-bezier(.2,.7,.2,1)}.dashboard-activity-status{color:#7a8799;font-size:.7rem}.dashboard-activity-list{display:grid;gap:12px}.dashboard-activity-empty{margin:8px 0;color:#7a8799;font-size:.82rem;line-height:1.6}.dashboard-activity-item{display:grid;grid-template-columns:10px 1fr;gap:10px;align-items:start}.dashboard-activity-mark{width:8px;height:8px;margin-top:5px;border-radius:50%;background:#223bb6;box-shadow:0 0 0 5px #eef5ff}.dashboard-activity-item div{display:grid;gap:4px}.dashboard-activity-item strong{color:#10233f;font-size:.8rem;overflow-wrap:anywhere}.dashboard-activity-item small{color:#607089;font-size:.72rem;line-height:1.4;overflow-wrap:anywhere}
@keyframes dashboard-pulse{0%,100%{opacity:.65;transform:scale(.9)}50%{opacity:1;transform:scale(1.15)}}
@media(max-width:980px){.dashboard-metrics{grid-template-columns:1fr 1fr}.dashboard-metric-featured{grid-column:1/-1}.dashboard-signal-grid{grid-template-columns:1fr}}
@media(max-width:560px){.dashboard-toolbar{align-items:flex-start;flex-direction:column}.dashboard-quick-action{width:100%}.dashboard-metrics{grid-template-columns:1fr 1fr}.dashboard-metric{min-height:116px;padding:14px}.dashboard-metric-featured{grid-column:1/-1}.dashboard-metric strong{font-size:1.75rem}.dashboard-metric small{font-size:.68rem}.dashboard-signal-panel{padding:16px}.dashboard-panel-heading h3{font-size:1rem}}
@media(prefers-reduced-motion:reduce){.live-pulse{animation:none}}

/* Business overview visual balances the open right side of the introductory page. */
.marketing-intro{position:relative;min-height:720px;padding-right:clamp(420px,42vw,660px)}
.marketing-visual{position:absolute;top:clamp(150px,13vw,220px);right:max(24px,5vw);width:min(39vw,520px);padding:26px;border:1px solid #dbe6f5;border-radius:28px;background:linear-gradient(145deg,#fff,#eef5ff);box-shadow:0 24px 70px rgba(34,59,182,.13);color:#10233f}
.marketing-visual-header{display:flex;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid #dbe6f5;color:#223BB6;font-size:.72rem;font-weight:800;letter-spacing:.1em}.marketing-visual-header span:last-child{color:#607089;font-weight:600;letter-spacing:.02em;text-align:right}
.marketing-visual-total{padding:45px 0 25px}.marketing-visual-total small,.marketing-visual-total span{display:block;color:#607089;font-size:.86rem}.marketing-visual-total strong{display:block;margin:10px 0 7px;font-size:clamp(2.2rem,4vw,4rem);letter-spacing:-.07em}
.marketing-visual-row{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-top:1px solid #e5edf8;font-size:1rem}.marketing-visual-row span{display:flex;align-items:center;gap:10px}.marketing-visual-row b{color:#223BB6;font-size:1.25rem}.overview-dot{width:11px;height:11px;border-radius:50%}.overview-blue{background:#223BB6}.overview-sand{background:#e8a46b}.overview-green{background:#4b9d83}
.marketing-visual-foot{display:flex;align-items:center;justify-content:space-between;margin-top:27px;padding:14px 16px;border-radius:15px;background:#223BB6;color:#fff;font-size:.9rem}.marketing-visual-foot strong{font-size:.95rem}
.marketing-kicker,.showcase-kicker{font-size:.86rem}.marketing-lead{font-size:1.2rem;line-height:1.8}.asset-strip span{font-size:.95rem}.marketing-intro h2{max-width:900px}
@media(max-width:900px){.marketing-intro{min-height:0;padding-right:0}.marketing-visual{position:relative;top:auto;right:auto;width:100%;max-width:600px;margin:70px 0 0}.marketing-intro{padding-bottom:90px}}

/* Global readability pass: lift supporting copy and labels by roughly 2px. */
.feature-copy p,.asset-showcase-heading>p:not(.showcase-kicker),.plans-heading>p:last-child,.launch-note{font-size:1.2rem}
.marketing-grid p,.plan-card>p:not(.plan-price),.plan-card li,.showcase-card-footer{font-size:.95rem}
.plan-label,.feature-number{font-size:.84rem}
.site-banner-brand{display:flex;align-items:center;width:54px;height:54px;padding:3px;border-radius:14px;background:transparent;transition:transform .2s ease,box-shadow .2s ease}.site-banner-brand:hover{transform:translateY(-1px);box-shadow:none}.site-banner-brand img{width:100%;height:100%;object-fit:contain}
.site-banner-cta{display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:999px;background:#223BB6;color:#fff;font-size:.78rem;font-weight:700;text-decoration:none;box-shadow:0 8px 18px rgba(34,59,182,.2)}.site-banner-cta:hover{background:#182d8c}
.auth-card{padding-top:112px}
@media(max-width:780px){.site-banner{height:62px;padding:7px 16px}.site-banner-brand{width:46px;height:46px;border-radius:12px}.site-banner-cta{padding:10px 14px;font-size:.72rem}.auth-card{padding-top:90px}}

/* Financial-assets showcase: a dark, editorial section inspired by the reference layout. */
.asset-showcase{padding:clamp(100px,12vw,170px) max(24px,6vw);background:#050505;color:#fff;text-align:center;overflow:hidden}
.asset-showcase-heading{max-width:850px;margin:0 auto 80px}
.showcase-kicker{margin:0 0 22px;color:#9eb2ff;font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.asset-showcase h2{margin:0 0 24px;font-size:clamp(3.4rem,7vw,7rem);line-height:.9;letter-spacing:-.08em}
.asset-showcase h2 em{color:#8ea5ff;font-style:normal}
.asset-showcase-heading>p:not(.showcase-kicker){max-width:660px;margin:0 auto 34px;color:#c7c9d1;font-size:1.08rem;line-height:1.6}
.showcase-button{min-width:220px;background:#fff;color:#101010;box-shadow:none}
.showcase-button:hover{background:#eaf0ff;color:#10233f}
.asset-showcase-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1200px;margin:0 auto;text-align:left}
.showcase-card{position:relative;min-height:560px;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;border:1px solid rgba(255,255,255,.18);border-radius:28px;background:#17224f;box-shadow:0 24px 60px rgba(0,0,0,.35)}
.showcase-card::before{position:absolute;inset:0;content:"";background:radial-gradient(circle at 72% 18%,rgba(255,255,255,.24),transparent 24%),linear-gradient(160deg,transparent 38%,rgba(0,0,0,.58) 100%);opacity:.9}
.showcase-bank{background:linear-gradient(145deg,#1a56db,#091841 72%)}
.showcase-protection{background:linear-gradient(145deg,#16213d,#6f3a2c 70%)}
.showcase-investments{background:linear-gradient(145deg,#277bd4,#4c7f68 56%,#101722)}
.showcase-card>*{position:relative;z-index:1}
.showcase-card-top{position:absolute;top:24px;left:24px;right:24px;display:flex;justify-content:space-between;gap:12px;color:#fff;font-size:.72rem;letter-spacing:.04em}
.showcase-card-top span:last-child{color:rgba(255,255,255,.68);text-align:right}
.showcase-card strong{font-size:clamp(2.4rem,4vw,4.5rem);letter-spacing:-.08em;line-height:.92}
.showcase-card-label{margin-top:10px;color:rgba(255,255,255,.8);font-size:.9rem}
.showcase-card-footer{display:flex;align-items:center;gap:10px;margin-top:28px;padding:15px 16px;border-radius:16px;background:rgba(255,255,255,.94);color:#131313;font-size:.8rem}
.showcase-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:#223BB6;color:#fff;font-size:1rem}
@media(max-width:900px){.asset-showcase-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.showcase-card:last-child{grid-column:1/-1}}
@media(max-width:560px){.asset-showcase{padding:86px 20px}.asset-showcase-cards{grid-template-columns:1fr}.showcase-card:last-child{grid-column:auto}.showcase-card{min-height:470px}}

/* Three scroll-led product pages, sharing one Revolut-inspired copy rhythm. */
.feature-page{min-height:820px;padding:clamp(86px,11vw,150px) max(24px,7vw);display:grid;grid-template-columns:minmax(0,.82fr) minmax(420px,1.18fr);align-items:center;gap:clamp(50px,8vw,130px);overflow:hidden}
.feature-page-light{background:#f7faff;color:#10233f}.feature-page-dark{background:#050505;color:#fff}.feature-page-blue{background:#223BB6;color:#fff}
.feature-page-dark{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.auth-screen>.marketing-intro,.auth-screen>.feature-page,.auth-screen>.asset-showcase,.auth-screen>.plans-section,.auth-screen>.launch-panel{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.feature-copy{max-width:560px}.feature-number{display:block;margin-bottom:58px;color:#223BB6;font-size:1.05rem;font-weight:800;letter-spacing:.08em}.feature-page-dark .feature-number,.feature-page-blue .feature-number{color:#9eb2ff}.feature-copy .showcase-kicker{display:block;margin-bottom:22px}.feature-page-light .showcase-kicker{color:#223BB6}
.feature-copy h2{margin:0 0 30px;font-size:clamp(3.4rem,6.3vw,6.4rem);line-height:.9;letter-spacing:-.08em}.feature-copy h2 em{color:#223BB6;font-style:normal}.feature-page-dark .feature-copy h2 em,.feature-page-blue .feature-copy h2 em{color:#9eb2ff}
.feature-copy p{max-width:520px;margin:0 0 34px;color:#607089;font-size:1.15rem;line-height:1.6}.feature-page-dark .feature-copy p,.feature-page-blue .feature-copy p{color:#c7d1ef}
.feature-cta{min-width:205px}.feature-cta-light{background:#fff;color:#101010;box-shadow:none}.feature-cta-light:hover{background:#eaf0ff;color:#10233f}
.feature-visual{min-height:500px;display:grid;place-items:center}.visual-window{width:min(100%,530px);padding:25px;border-radius:28px;background:#fff;border:1px solid #dbe6f5;box-shadow:0 28px 70px rgba(34,59,182,.14)}.visual-window-top,.timeline-title{display:flex;justify-content:space-between;gap:20px;color:#607089;font-size:.75rem}.visual-total{margin:54px 0 26px;padding-bottom:26px;border-bottom:1px solid #dbe6f5}.visual-total small{display:block;color:#607089}.visual-total strong{display:block;margin-top:8px;color:#10233f;font-size:clamp(2.6rem,5vw,4.6rem);letter-spacing:-.08em}.visual-row{display:flex;justify-content:space-between;align-items:center;padding:17px 0;border-bottom:1px solid #edf2fa;color:#10233f;font-size:.9rem}.visual-row b{font-size:1rem}.visual-row span{display:flex;align-items:center;gap:10px}.visual-dot{width:11px;height:11px;border-radius:50%}.dot-blue{background:#223BB6}.dot-gold{background:#f0a63b}.dot-green{background:#2b9c77}
.people-visual{position:relative;border-radius:30px;background:radial-gradient(circle at 50% 50%,rgba(142,165,255,.3),transparent 27%),linear-gradient(145deg,#121a3c,#050505 70%)}.people-orbit{position:relative;width:min(82%,480px);aspect-ratio:1}.orbit-line{position:absolute;inset:12%;border:1px solid rgba(158,178,255,.35);border-radius:50%;transform:rotate(-25deg)}.orbit-line-two{inset:23%;transform:rotate(65deg)}.orbit-core{position:absolute;top:50%;left:50%;display:grid;place-items:center;width:92px;height:92px;border-radius:50%;background:#fff;color:#223BB6;font-size:2.5rem;font-weight:800;transform:translate(-50%,-50%);box-shadow:0 0 0 16px rgba(255,255,255,.08)}.person-card{position:absolute;display:grid;gap:5px;width:205px;padding:18px;border:1px solid rgba(255,255,255,.22);border-radius:18px;background:rgba(255,255,255,.1);backdrop-filter:blur(16px)}.person-card strong{font-size:1rem}.person-card small{color:#c7d1ef;font-size:.72rem;line-height:1.4}.person-card span{margin-top:6px;color:#9eb2ff;font-size:.7rem}.person-main{top:3%;left:0}.person-side{right:0;bottom:4%}
.next-step-visual{border-radius:30px;background:linear-gradient(145deg,#3c55d7,#182d8c)}.timeline-card{width:min(88%,500px);padding:25px;border-radius:25px;background:#fff;color:#10233f;box-shadow:0 24px 60px rgba(5,25,110,.28)}.timeline-title{padding-bottom:22px;border-bottom:1px solid #dbe6f5;color:#10233f}.timeline-title span:last-child{color:#223BB6}.timeline-step{display:grid;grid-template-columns:35px 1fr 25px;align-items:center;gap:12px;padding:23px 0;border-bottom:1px solid #edf2fa}.timeline-step>span{color:#223BB6;font-size:.75rem;font-weight:800}.timeline-step strong,.timeline-step small{display:block}.timeline-step strong{font-size:.9rem}.timeline-step small{margin-top:5px;color:#607089;font-size:.72rem}.timeline-step b{color:#223BB6;text-align:right}.timeline-pending b{color:#f0a63b}
@media(max-width:850px){.feature-page{min-height:0;grid-template-columns:1fr;gap:56px;padding-top:90px;padding-bottom:90px}.feature-copy{max-width:680px}.feature-number{margin-bottom:42px}.feature-visual{min-height:430px}.feature-page:nth-of-type(even) .feature-copy{order:0}}
@media(max-width:560px){.feature-page{padding-right:22px;padding-left:22px}.feature-copy h2{font-size:clamp(3.2rem,16vw,5rem)}.feature-copy p{font-size:1rem}.feature-visual{min-height:380px}.visual-window{padding:20px}.person-card{width:170px;padding:14px}.person-main{left:-5%}.person-side{right:-5%}}

.text-button-secondary{color:#155eef;margin-top:8px}
.recipient-auth-form{margin-top:24px;padding-top:24px;border-top:1px solid rgba(215,222,235,.9)}
.recipient-auth-form h2{margin:8px 0 10px;font-size:1.7rem;letter-spacing:-.05em}
.trusted-access-panel{grid-column:1/-1;margin:16px 0;padding:28px}
.trusted-access-panel>.muted{max-width:680px;margin:0 0 20px;line-height:1.6}
.trusted-people-list{display:grid;gap:12px}
.trusted-person-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid #dbe6f5;border-radius:16px;background:#f8fbff}
.trusted-person-row strong{display:block;color:#12284b;font-size:1.05rem}
.trusted-person-row p{margin:5px 0 0;color:#607089;font-size:.92rem}
.invite-button{min-width:150px}
.recipient-view{grid-column:1/-1;margin:16px 0;padding:28px}
.recipient-view .section-title{margin-bottom:20px}
.access-badge{padding:8px 13px;border-radius:999px;background:#e8f7ef;color:#178653;font-size:.8rem;font-weight:800}
.recipient-notice{display:flex;align-items:flex-start;gap:12px;margin:0 0 20px;padding:16px 18px;border:1px solid #dbe6f5;border-radius:16px;background:#f7faff;color:#607089}
.recipient-notice p{margin:0;line-height:1.55}
.recipient-notice-success{border-color:#bfe8d0;background:#f2fbf5;color:#217447}
.verification-form{display:grid;gap:10px;max-width:640px;margin:0 0 22px;padding:20px;border:1px solid #dbe6f5;border-radius:16px;background:#f8fbff}
.verification-form label{margin:0;font-size:.95rem}
.verification-form input[type=file]{padding:12px;border:1px dashed #a8c8f7;border-radius:12px;background:#fff;color:#607089}
.verification-form .field-hint{margin:0}
.verification-form .button{justify-self:start}
.recipient-asset-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.recipient-asset-card{padding:20px;border:1px solid #dbe6f5;border-radius:16px;background:#fff}
.recipient-asset-card h3{margin:12px 0 7px;color:#12284b;font-size:1.15rem}
.recipient-asset-card .asset-meta{margin:0 0 12px;color:#607089}
.recipient-asset-card .asset-instruction{display:inline-block;padding:8px 10px;border-radius:10px;background:#f5f7fb;color:#4e627f;font-size:.86rem}
@media(max-width:780px){.trusted-person-row{align-items:flex-start;flex-direction:column}.invite-button{width:100%}.recipient-asset-list{grid-template-columns:1fr}.trusted-access-panel,.recipient-view{padding:20px}}

.support-section{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding:clamp(90px,12vw,150px) max(24px,7vw);background:#f7faff;color:#10233f}
.support-heading{max-width:1180px;margin:0 auto 54px}.support-heading h2{max-width:820px;margin:0;font-size:clamp(3rem,6vw,6.3rem);line-height:.92;letter-spacing:-.07em}.support-heading h2 em{color:#155eef;font-style:normal}.support-heading>p:last-child{max-width:600px;margin:30px 0 0;color:#607089;font-size:1.12rem;line-height:1.7}
.support-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1180px;margin:0 auto}.support-option{min-height:330px;padding:30px;border:1px solid #dbe6f5;border-radius:24px;background:#fff}.support-option-dark{background:#101b37;color:#fff;border-color:#101b37}.support-option-label{display:block;color:#155eef;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.support-option-dark .support-option-label{color:#a8c8ff}.support-option h3{max-width:380px;margin:58px 0 16px;font-size:2rem;letter-spacing:-.05em}.support-option p{max-width:470px;min-height:80px;color:#607089;line-height:1.65}.support-option-dark p{color:#c7d1ef}.support-option .button{margin-top:22px}
.support-shell{min-height:100vh;background:#f7faff;color:#10233f}.support-shell .topbar{background:rgba(247,250,255,.92)}.support-hero{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:clamp(130px,15vw,190px) 0 90px}.support-hero h1{margin:0;font-size:clamp(3.5rem,7vw,7.2rem);line-height:.9;letter-spacing:-.08em}.support-hero h1 span{color:#155eef}.support-hero>p:last-child{max-width:650px;margin:32px 0 0;color:#607089;font-size:1.1rem;line-height:1.7}.support-access-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:18px;width:min(1180px,calc(100% - 48px));margin:0 auto 18px}.public-resources-panel,.paid-support-panel{padding:28px}.public-resources-panel>.muted,.paid-support-panel>.muted{max-width:650px;line-height:1.65}.resource-links{display:grid;gap:9px;margin-top:22px}.resource-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #dbe6f5;border-radius:14px;background:#fff;color:#10233f;text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.resource-link:hover,.resource-link:focus-visible{transform:translateY(-2px);border-color:#9fc2ff;box-shadow:0 10px 24px rgba(21,94,239,.08)}.resource-link span{display:grid;gap:4px}.resource-link strong{font-size:.95rem}.resource-link small{color:#607089;line-height:1.4}.resource-link b{color:#155eef;font-size:1.2rem}.resource-note{margin:18px 0 0;color:#7a8799;font-size:.82rem;line-height:1.5}.paid-support-panel{background:#10233f;color:#fff;border-color:#10233f}.paid-support-panel .muted{color:#c7d1ef}.paid-support-panel .number-tag{border-color:rgba(255,255,255,.25);color:#c7d1ef}.paid-support-list{display:grid;gap:15px;margin:24px 0 28px;padding:0;list-style:none}.paid-support-list li{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start}.paid-support-list li>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#294cae;color:#fff;font-size:.75rem;font-weight:800}.paid-support-list li div{display:grid;gap:4px}.paid-support-list strong{font-size:.95rem}.paid-support-list small{color:#c7d1ef;line-height:1.45}.paid-support-panel .button{background:#fff;color:#10233f}.guidance-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:18px;width:min(1180px,calc(100% - 48px));margin:0 auto;padding-bottom:100px}.guidance-panel,.help-request-panel{padding:28px}.guidance-list{display:grid;gap:10px;margin-top:24px}.guidance-list details{padding:18px 0;border-bottom:1px solid #dbe6f5}.guidance-list summary{display:flex;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;color:#10233f;font-size:1.05rem;font-weight:800}.guidance-list summary::-webkit-details-marker{display:none}.guidance-list summary::after{content:"+";color:#155eef;font-size:1.3rem}.guidance-list details[open] summary::after{content:"−"}.guidance-list summary small{margin-left:auto;color:#607089;font-size:.78rem;font-weight:500}.guidance-list details>div{max-width:700px;padding:16px 0 2px;color:#607089;line-height:1.65}.guidance-list p{margin:8px 0}.guidance-list p strong{color:#155eef}.institution-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.institution-links a{padding:7px 10px;border:1px solid #c9daf3;border-radius:999px;color:#155eef;font-size:.8rem;font-weight:800;text-decoration:none}.institution-links a:hover,.institution-links a:focus-visible{background:#edf4ff}.guidance-disclaimer{margin-top:24px}.help-request-panel h2{margin:12px 0 16px;font-size:2rem;line-height:1;letter-spacing:-.06em}.help-request-panel>p{line-height:1.65}.help-request-panel form{display:grid;gap:10px;margin-top:24px}.help-request-panel textarea{resize:vertical}.chat-widget{position:fixed;right:24px;bottom:24px;z-index:50}.chat-toggle{display:flex;align-items:center;gap:8px;padding:14px 18px;border:0;border-radius:999px;background:#155eef;color:#fff;box-shadow:0 14px 30px rgba(21,94,239,.28);font:inherit;font-weight:800;cursor:pointer}.chat-panel{position:absolute;right:0;bottom:58px;width:min(360px,calc(100vw - 36px));overflow:hidden;border:1px solid #dbe6f5;border-radius:20px;background:#fff;box-shadow:0 20px 50px rgba(16,35,63,.2)}.chat-header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:#10233f;color:#fff}.chat-header strong,.chat-header small{display:block}.chat-header small{margin-top:4px;color:#b9c8e7;font-size:.72rem}.chat-close{border:0;background:transparent;color:#fff;font-size:1.4rem;cursor:pointer}.chat-messages{display:grid;gap:10px;max-height:300px;overflow:auto;padding:16px;background:#f7faff}.chat-message{max-width:88%;margin:0;padding:10px 12px;border-radius:12px;font-size:.84rem;line-height:1.5}.chat-message-bot{background:#fff;color:#365577;border:1px solid #dbe6f5}.chat-message-user{justify-self:end;background:#155eef;color:#fff}.chat-form{display:flex;gap:8px;padding:12px;border-top:1px solid #dbe6f5}.chat-form input{min-width:0;flex:1;border:0;background:#f7faff;border-radius:10px;padding:10px 12px}.chat-form button{width:40px;border:0;border-radius:10px;background:#155eef;color:#fff;font-size:1rem;cursor:pointer}
@media(max-width:780px){.support-options,.support-access-grid,.guidance-layout{grid-template-columns:1fr}.support-section{padding-right:22px;padding-left:22px}.support-heading h2{font-size:clamp(3rem,14vw,5rem)}.support-hero,.support-access-grid,.guidance-layout{width:calc(100% - 44px)}.support-hero h1{font-size:clamp(3.5rem,16vw,5.5rem)}.support-access-grid{margin-bottom:14px}.public-resources-panel,.paid-support-panel,.guidance-panel,.help-request-panel{padding:22px}.guidance-layout{padding-bottom:70px}.guidance-list summary{align-items:flex-start;flex-wrap:wrap}.guidance-list summary small{width:100%;margin-left:0}.chat-widget{right:16px;bottom:16px}}

/* Enterprise workspace: a clear, full-width operating view for partner teams. */
.text-button-enterprise{display:block;margin-top:4px;color:#223bb6}
.enterprise-auth-form{margin-top:24px;padding-top:24px;border-top:1px solid rgba(215,222,235,.9);animation:rise-in .35s both}
.enterprise-auth-form h2{margin:8px 0 10px;font-size:1.7rem;letter-spacing:-.05em}
.enterprise-auth-form .button{margin-top:18px}

/* The three entry points are deliberately visible together so each audience can choose the right path. */
.auth-tabs{grid-column:2;grid-row:2;align-self:end;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 0 14px;padding:4px;border:1px solid #dbe6f5;border-radius:14px;background:rgba(247,250,255,.92)}
.auth-tab{min-height:42px;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:#607089;font:inherit;font-size:.76rem;font-weight:800;line-height:1.15;cursor:pointer}
.auth-tab.is-active{background:#223bb6;color:#fff;box-shadow:0 8px 18px rgba(34,59,182,.16)}
.auth-tab:hover{color:#223bb6}.auth-tab.is-active:hover{color:#fff}
.auth-tab:focus-visible{outline:3px solid rgba(34,59,182,.22);outline-offset:2px}
.auth-card>#authForm{grid-column:2;grid-row:3;align-self:start}
.auth-card>#resetPasswordForm,.auth-card>#recipientAuthForm,.auth-card>#enterpriseAuthForm{grid-column:2;grid-row:3 / span 3;align-self:start}
.auth-card>.home-slogan{grid-column:1;grid-row:4}
.auth-card>.lead{grid-column:1;grid-row:5}
.auth-card>.welcome-points{grid-column:1;grid-row:6}
.auth-form-meta{display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:14px;text-align:center}
.auth-form-meta .text-button{padding:6px 0}
.auth-form-meta .prototype-note{margin:8px 0 0}
.auth-form-meta .form-message{margin:2px 0 0}
.legacy-auth-toggle{display:none!important}
.required-label{margin-left:6px;color:#223bb6;font-size:.78em;font-weight:800}
.handbook-panel{margin:16px 0 0;padding:clamp(24px,4vw,42px);background:#fff}
.handbook-intro{max-width:760px;margin:0 0 24px;line-height:1.65}
.handbook-controls{display:flex;align-items:center;gap:18px;margin:0 0 24px;padding:16px 18px;border:1px solid #dbe6f5;border-radius:16px;background:#f7faff}
.handbook-controls label{margin:0;color:#10233f;font-size:.82rem;font-weight:800}
.handbook-controls select{min-width:280px;margin:0}
.handbook-guide{padding:24px;border:1px solid #dbe6f5;border-radius:18px;background:#fbfdff}
.handbook-guide-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:18px;border-bottom:1px solid #e3ebf7}
.handbook-label{display:block;color:#223bb6;font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.handbook-guide h3{margin:8px 0 0;font-size:clamp(1.6rem,3vw,2.4rem);letter-spacing:-.05em}
.handbook-official-link{color:#223bb6;font-size:.82rem;font-weight:800}
.handbook-columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:24px;margin-top:24px}
.handbook-columns h4{margin:0 0 14px;font-size:1.05rem}
.handbook-steps ol{display:grid;gap:12px;margin:0;padding:0;list-style:none;counter-reset:handbook-step}
.handbook-steps li{display:grid;grid-template-columns:32px 1fr;gap:12px;color:#607089;line-height:1.55;counter-increment:handbook-step}
.handbook-steps li::before{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eef5ff;color:#223bb6;font-size:.75rem;font-weight:800;content:counter(handbook-step, decimal-leading-zero)}
.handbook-case{padding:20px;border-radius:16px;background:#eef5ff}
.handbook-case p{margin:12px 0 20px;color:#38516f;line-height:1.6}
.handbook-case-action{display:grid;gap:4px;padding-top:14px;border-top:1px solid #cdddf4;color:#10233f}
.handbook-case-action span{color:#607089;font-size:.78rem}
.handbook-note{margin:18px 0 0}
@media(max-width:780px){.handbook-panel{padding:22px}.handbook-controls{display:grid;gap:10px}.handbook-controls select{min-width:0;width:100%}.handbook-guide{padding:18px}.handbook-guide-header{display:grid;gap:12px}.handbook-columns{grid-template-columns:1fr;gap:20px}}

.care-panel{margin:16px 0 0;padding:clamp(24px,4vw,42px);background:#fff}
.care-intro{max-width:780px;margin:0 0 24px;line-height:1.65}
.care-hotline{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 28px;padding:22px 24px;border:1px solid #dbe6f5;border-radius:18px;background:#10233f;color:#fff}
.care-hotline>div{display:grid;gap:8px}.care-hotline strong{font-size:1.35rem;letter-spacing:-.035em}.care-hotline p{max-width:650px;margin:0;color:#c7d1ef;line-height:1.5}.care-label{display:block;color:#537eff;font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.care-hotline .care-label{color:#a8c8ff}.care-status{flex:0 0 auto;padding:9px 12px;border:1px solid rgba(255,255,255,.24);border-radius:999px;color:#d7e1fa;font-size:.75rem;font-weight:800}
.care-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:24px}.care-subheading{margin:0 0 14px;font-size:1.1rem;letter-spacing:-.025em}.care-channel-grid{display:grid;gap:10px}.care-channel{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:12px;width:100%;padding:14px 16px;border:1px solid #dbe6f5;border-radius:15px;background:#fbfdff;color:#10233f;text-align:left;font:inherit;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.care-channel:hover,.care-channel:focus-visible{transform:translateY(-2px);border-color:#9fc2ff;box-shadow:0 10px 24px rgba(21,94,239,.08)}.care-channel-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#eef5ff;color:#223bb6;font-size:1.1rem}.care-channel span:not(.care-channel-icon){display:grid;gap:3px}.care-channel small{color:#607089;font-size:.78rem}.care-channel>b{color:#223bb6;font-size:1.1rem}
.care-booking-form,.care-message-form{display:grid;gap:10px;margin-top:20px;padding:20px;border:1px solid #dbe6f5;border-radius:16px;background:#f7faff}.care-form-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:4px}.care-form-heading>div{display:grid;gap:5px}.care-form-heading strong{font-size:1.05rem}.care-text-button{padding:4px 0;border:0;background:transparent;color:#223bb6;font:inherit;font-size:.8rem;font-weight:800;cursor:pointer}.care-booking-form input,.care-booking-form select,.care-message-form textarea{background:#fff}.care-message-form{background:#fff}.care-message-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.care-message-actions .form-message{margin:0}.care-history{min-width:0;padding:22px;border:1px solid #dbe6f5;border-radius:18px;background:#fbfdff}.care-history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.care-history-heading h3{margin:7px 0 0;font-size:1.45rem;letter-spacing:-.045em}.care-history-count{display:grid;place-items:center;width:36px;height:36px;border:1px solid #c9daf3;border-radius:50%;color:#223bb6;font-size:.78rem;font-weight:800}.care-history-intro{margin:14px 0 18px;color:#607089;font-size:.86rem;line-height:1.55}.care-history-list{display:grid;gap:10px;max-height:440px;overflow:auto}.care-history-empty{margin:0;padding:22px 4px;color:#607089;font-size:.86rem;line-height:1.6}.care-history-item{padding:14px;border:1px solid #e1eaf6;border-radius:13px;background:#fff}.care-history-item-heading{display:flex;justify-content:space-between;gap:14px;align-items:baseline}.care-history-item-heading strong{color:#223bb6;font-size:.82rem}.care-history-item-heading time{color:#8995a7;font-size:.7rem}.care-history-item p{margin:9px 0;color:#38516f;font-size:.84rem;line-height:1.5;overflow-wrap:anywhere}.care-history-item small{color:#6d7d91;font-size:.72rem}.care-note{margin:20px 0 0}
@media(max-width:780px){.care-panel{padding:22px}.care-hotline{align-items:flex-start;flex-direction:column;padding:18px}.care-status{align-self:flex-start}.care-layout{grid-template-columns:1fr}.care-history-list{max-height:none}.care-message-actions{align-items:flex-start;flex-direction:column}.care-message-actions .button{width:100%}}
.plan-d2c{border-color:#b7ddd2;background:#fbfffd}
.plan-d2c .plan-label{color:#2b8877}
.plan-case{border-color:#b9d2f2;background:#f8fbff}
.plan-case .plan-label{color:#3975b9}
.plan-saas h3{max-width:240px}
.pricing-note{max-width:1180px;margin:22px auto 0;color:#7b8798;font-size:.82rem;line-height:1.5;text-align:right}
.chat-widget{top:160px;right:24px;bottom:auto;z-index:30;touch-action:none}
.chat-widget.is-dragging{cursor:grabbing;user-select:none}
.chat-widget.is-dragging .chat-toggle{cursor:grabbing}
.chat-toggle{cursor:grab;touch-action:none}
.chat-panel{top:58px;right:0;bottom:auto}
@media(max-width:780px){
  .auth-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}
  .auth-tab{min-height:44px;padding:7px 5px;font-size:.68rem}
  .auth-card>.prototype-note,.auth-card>#authMessage{margin-left:0}
    .chat-widget{top:140px;right:16px;bottom:auto}
}
.enterprise-shell{min-height:100vh;width:100%;padding:0 max(22px,4vw) 42px;background:#f7faff;color:#10233f;animation:fade-in .65s both}
.enterprise-topbar{width:min(1440px,100%);margin:0 auto}
.enterprise-topbar-actions{display:flex;align-items:center;gap:14px}
.enterprise-account-badge{padding:9px 13px;border:1px solid #dbe6f5;border-radius:999px;background:#fff;color:#607089;font-size:.78rem;font-weight:700}
.enterprise-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:clamp(30px,8vw,120px);align-items:end;width:min(1440px,100%);margin:0 auto;padding:clamp(72px,10vw,140px) 0 clamp(64px,8vw,106px)}
.enterprise-hero h1{max-width:850px;margin:0;font-size:clamp(4rem,8.5vw,9rem);line-height:.87;letter-spacing:-.09em}
.enterprise-hero h1 span{color:#223bb6}
.enterprise-hero>div>p:last-child{max-width:690px;margin:32px 0 0;color:#607089;font-size:1.15rem;line-height:1.75}
.enterprise-hero-note{display:grid;gap:10px;padding:26px;border:1px solid #cbdaf0;border-radius:24px;background:#fff;box-shadow:0 18px 48px rgba(34,59,182,.08)}
.enterprise-hero-note strong{font-size:1.08rem;letter-spacing:-.03em}.enterprise-hero-note small{color:#607089;line-height:1.6}.enterprise-hero-icon{display:grid;width:44px;height:44px;place-items:center;border-radius:14px;background:#e9f1ff;color:#223bb6;font-size:1.4rem;font-weight:800}
.enterprise-action-bar{display:flex;align-items:end;justify-content:space-between;gap:25px;width:min(1440px,100%);margin:0 auto 18px;padding:24px 28px;border:1px solid #dbe6f5;border-radius:22px;background:#fff}
.enterprise-action-bar h2{margin:0;font-size:clamp(1.55rem,2.5vw,2.4rem);letter-spacing:-.06em}.enterprise-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.enterprise-file-button{cursor:pointer}
.enterprise-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:min(1440px,100%);margin:0 auto 18px}.enterprise-stat-card{display:flex;align-items:center;gap:14px;min-height:108px;padding:20px;border:1px solid #dbe6f5;border-radius:18px;background:#fff}.enterprise-stat-card p{margin:0 0 5px;color:#607089;font-size:.82rem}.enterprise-stat-card strong{display:block;max-width:170px;overflow:hidden;color:#10233f;font-size:1.65rem;letter-spacing:-.06em;text-overflow:ellipsis;white-space:nowrap}.enterprise-stat-icon{display:grid;width:44px;height:44px;flex:none;place-items:center;border-radius:14px;background:#edf3ff;color:#223bb6;font-size:.72rem;font-weight:800}.enterprise-stat-icon-warm{background:#fff5e9;color:#b6782b}.enterprise-stat-icon-green{background:#edf8f2;color:#2b8c69}.enterprise-stat-icon-ink{background:#eef0f5;color:#46546b}
.enterprise-workspace{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:18px;width:min(1440px,100%);margin:0 auto 18px;align-items:start}.enterprise-workspace .panel,.enterprise-dashboard-panel{border-color:#dbe6f5;background:#fff;box-shadow:0 12px 34px rgba(34,59,182,.045)}.enterprise-form{display:grid;gap:0}.enterprise-form textarea{width:100%;resize:vertical;padding:13px 14px;border:1px solid #dbe6f5;border-radius:14px;outline:0;background:#f8fbff;color:#10233f;line-height:1.55}.enterprise-form textarea:focus{border-color:#7da9ff;box-shadow:0 0 0 4px rgba(34,59,182,.1)}.enterprise-form input[type=file]{padding:10px;border:1px dashed #a8c8f7;background:#f8fbff;color:#607089}.enterprise-form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.enterprise-form-actions .button{min-width:145px}.field-hint{margin:10px 0 8px;color:#7c8ca5;font-size:.78rem;line-height:1.5}
.enterprise-import-preview{display:grid;gap:12px;margin-top:20px;padding-top:18px;border-top:1px solid #e5edf8;color:#365577;font-size:.84rem}.enterprise-preview-scroll{overflow:auto;border:1px solid #dbe6f5;border-radius:14px}.enterprise-preview-table{min-width:650px;width:100%;border-collapse:collapse;background:#fff;font-size:.78rem}.enterprise-preview-table th,.enterprise-preview-table td{padding:10px 12px;border-bottom:1px solid #edf2fa;text-align:left;white-space:nowrap}.enterprise-preview-table th{background:#f7faff;color:#607089;font-weight:800}
.enterprise-field-chips{display:flex;flex-wrap:wrap;gap:8px;min-height:43px;margin-bottom:18px}.enterprise-field-chips>span,.enterprise-field-chip{padding:8px 10px;border:1px solid #dbe6f5;border-radius:999px;background:#f8fbff;color:#607089;font-size:.75rem}.enterprise-field-chips .enterprise-field-chip-recognised{border-color:#b9d0ff;background:#edf3ff;color:#223bb6;font-weight:800}.saved-template-heading{display:flex;justify-content:space-between;gap:15px;margin-top:28px;padding-top:18px;border-top:1px solid #e5edf8;color:#607089;font-size:.8rem;font-weight:800}.saved-template-heading strong{color:#223bb6}.enterprise-template-list{display:grid;gap:10px;margin-top:12px}.enterprise-template-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 14px;border:1px solid #dbe6f5;border-radius:14px;background:#f8fbff}.enterprise-template-item strong,.enterprise-template-item small{display:block}.enterprise-template-item strong{color:#10233f;font-size:.86rem}.enterprise-template-item small{margin-top:4px;color:#7c8ca5;font-size:.72rem}.enterprise-template-item .text-button{margin:0;padding:5px;color:#223bb6;font-size:.78rem}
.enterprise-dashboard-panel{width:min(1440px,100%);margin:0 auto;padding:28px}.enterprise-dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-4px 0 18px}.enterprise-dashboard-toolbar>.muted{max-width:620px;margin:0}.enterprise-search{width:min(430px,100%);background:#f8fbff;border-color:#dbe6f5}.enterprise-table-wrap{overflow:auto;border:1px solid #dbe6f5;border-radius:16px}.enterprise-table{width:100%;min-width:900px;border-collapse:collapse;background:#fff;font-size:.82rem}.enterprise-table th,.enterprise-table td{padding:16px 15px;border-bottom:1px solid #edf2fa;text-align:left;vertical-align:top}.enterprise-table th{background:#f7faff;color:#607089;font-size:.72rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.enterprise-table td{color:#365577}.enterprise-table td:first-child{color:#10233f;font-weight:800}.enterprise-status{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:.7rem;font-weight:800;white-space:nowrap}.enterprise-status-ready{background:#edf8f2;color:#217447}.enterprise-status-review{background:#fff5e9;color:#a36b24}.enterprise-no-results{text-align:center!important;color:#7c8ca5!important}.enterprise-empty-state{display:grid;justify-items:center;padding:60px 15px 36px;text-align:center}.enterprise-empty-state .empty-mark{background:#edf3ff;color:#223bb6}.enterprise-empty-state h3{margin:0 0 7px;font-size:1.1rem}.enterprise-empty-state p{max-width:330px;margin:0;color:#607089;line-height:1.6;font-size:.86rem}
.enterprise-shell .footer{width:min(1440px,100%);margin:0 auto}.enterprise-shell .button-outline{border:1px solid #cbdaf0;background:#fff;color:#223bb6}.enterprise-shell .button-outline:hover{background:#edf3ff}.enterprise-shell .button-dark{background:#223bb6;box-shadow:0 10px 24px rgba(34,59,182,.18)}.enterprise-shell .button-dark:hover{background:#182d8c}
@media(max-width:900px){.enterprise-hero{grid-template-columns:1fr}.enterprise-hero-note{max-width:540px}.enterprise-action-bar{align-items:flex-start;flex-direction:column}.enterprise-actions{justify-content:flex-start}.enterprise-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.enterprise-workspace{grid-template-columns:1fr}.enterprise-dashboard-toolbar{align-items:stretch;flex-direction:column}.enterprise-search{width:100%}}
@media(max-width:560px){.enterprise-shell{padding-right:16px;padding-left:16px}.enterprise-topbar{height:72px}.enterprise-topbar-actions{gap:8px}.enterprise-account-badge{display:none}.enterprise-hero{padding-top:70px}.enterprise-hero h1{font-size:clamp(3.7rem,18vw,5.8rem)}.enterprise-hero>div>p:last-child{font-size:1rem}.enterprise-action-bar,.enterprise-dashboard-panel,.enterprise-workspace .panel{padding:21px}.enterprise-stats{grid-template-columns:1fr 1fr;gap:9px}.enterprise-stat-card{min-height:96px;padding:13px;gap:9px}.enterprise-stat-icon{width:35px;height:35px;border-radius:11px;font-size:.65rem}.enterprise-stat-card p{font-size:.7rem}.enterprise-stat-card strong{font-size:1.25rem}.enterprise-actions,.enterprise-actions .button,.enterprise-file-button{width:100%}.enterprise-form-actions .button{flex:1}.enterprise-table{min-width:780px}}

/* Signed-in navigation: every workspace module stays one click away. */
.app-shell > .topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100vw;
  min-height: 84px;
  margin-left: calc(50% - 50vw);
  padding: 0 clamp(22px, 5vw, 84px);
  gap: 18px;
  background: rgba(247, 250, 255, .9);
  border-bottom: 1px solid rgba(219, 230, 245, .86);
  box-shadow: 0 8px 24px rgba(34, 59, 182, .06);
  backdrop-filter: blur(18px);
}

.app-shell > .topbar .brand-logo-mark {
  width: 68px;
  height: 68px;
}

.app-nav {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.app-nav::-webkit-scrollbar { display: none; }

.app-nav-link {
  flex: 0 0 auto;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #607089;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.app-nav-link:hover,
.app-nav-link:focus-visible,
.app-nav-link.is-active {
  color: #223bb6;
  border-color: #cbdaf0;
  background: #edf3ff;
}

.app-nav-link:focus-visible {
  outline: 3px solid rgba(34, 59, 182, .2);
  outline-offset: 2px;
}

.app-nav-button { appearance: none; }

#appOverview,
#planner,
#trustedAccessPanel,
#handbookSection,
#careSection {
  scroll-margin-top: 108px;
}

@media (max-width: 900px) {
  .app-shell > .topbar {
    gap: 10px;
  }

  .app-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .app-shell > .topbar {
    min-height: 126px;
    align-content: center;
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .app-shell > .topbar .brand-logo-mark {
    width: 58px;
    height: 58px;
  }

  .app-nav {
    order: 3;
    flex-basis: 100%;
    min-height: 40px;
    justify-content: flex-start;
  }

  .app-nav-link {
    padding: 9px 11px;
    font-size: .74rem;
  }

  .app-shell > .topbar > .button {
    padding: 10px 14px;
    font-size: .78rem;
  }
}

/* Keep the signed-in modules in one full-width reading flow. */
.app-shell .workspace {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.app-shell .workspace > .panel {
  width: 100%;
}

/* Dark visual planner: equal columns with a luminous dashboard surface. */
.app-shell .workspace {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  padding: 18px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(38, 101, 255, 0.22), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(0, 222, 255, 0.13), transparent 30%),
    #030407;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.app-shell .workspace::before {
  content: "";
  position: absolute;
  inset: -35%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(91, 145, 255, 0.18) 46%, rgba(255, 255, 255, 0.12) 50%, rgba(0, 240, 255, 0.16) 54%, transparent 65%);
  background-size: 220% 220%;
  animation: dashboard-flow 12s ease-in-out infinite;
  opacity: 0.85;
}

.app-shell .workspace > * {
  position: relative;
  z-index: 1;
}

.app-shell .workspace > .panel {
  width: 100%;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-color: rgba(255, 255, 255, 0.15);
  background: linear-gradient(145deg, #080a11 0%, #0b1020 55%, #050609 100%);
  color: #f7f9ff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-shell .workspace .section-title {
  border-color: rgba(255, 255, 255, 0.15);
}

.app-shell .workspace .section-title h2,
.app-shell .workspace label,
.app-shell .workspace .dashboard-live,
.app-shell .workspace .dashboard-panel-heading h3 {
  color: #f7f9ff;
}

.app-shell .workspace .muted,
.app-shell .workspace .field-hint,
.app-shell .workspace .dashboard-live small,
.app-shell .workspace .dashboard-activity-status {
  color: #aeb8ce;
}

.app-shell .workspace input,
.app-shell .workspace select,
.app-shell .workspace textarea {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(184, 204, 255, 0.28);
  color: #f7f9ff;
}

.app-shell .workspace input::placeholder,
.app-shell .workspace textarea::placeholder {
  color: #9da8bd;
}

.app-shell .workspace input:focus,
.app-shell .workspace select:focus,
.app-shell .workspace textarea:focus {
  border-color: #78b9ff;
  box-shadow: 0 0 0 4px rgba(74, 139, 255, 0.18), 0 0 26px rgba(0, 210, 255, 0.12);
}

.app-shell .workspace .notice,
.app-shell .workspace #trustedPersonWrap {
  background: rgba(122, 164, 255, 0.1);
  border-color: rgba(148, 190, 255, 0.25);
  color: #e8efff;
}

.app-shell .workspace .category-summary,
.app-shell .workspace .dashboard-metric,
.app-shell .workspace .dashboard-signal-panel {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, rgba(27, 34, 55, 0.95), rgba(8, 11, 19, 0.98));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.app-shell .workspace .category-summary-label,
.app-shell .workspace .dashboard-metric-label {
  color: #b8c6e4;
}

.app-shell .workspace .category-summary strong,
.app-shell .workspace .dashboard-metric strong,
.app-shell .workspace .allocation-row-top strong,
.app-shell .workspace .dashboard-activity-item strong {
  color: #fff;
}

.app-shell .workspace .category-summary small,
.app-shell .workspace .dashboard-metric small,
.app-shell .workspace .allocation-row-top,
.app-shell .workspace .dashboard-activity-item small {
  color: #aeb8ce;
}

.app-shell .workspace .dashboard-metric-featured {
  border-color: rgba(126, 197, 255, 0.5);
  background: radial-gradient(circle at 78% 18%, rgba(0, 223, 255, 0.25), transparent 24%), linear-gradient(140deg, #05070c 0%, #121d45 52%, #1a0e35 100%);
  box-shadow: 0 16px 42px rgba(0, 101, 255, 0.28), 0 0 0 1px rgba(101, 169, 255, 0.15) inset;
  animation: dashboard-gradient 10s ease infinite;
  background-size: 200% 200%;
}

.app-shell .workspace .dashboard-metric-featured .dashboard-metric-label {
  color: #9ed7ff;
}

.app-shell .workspace .dashboard-metric-featured small {
  color: #c4d7ff;
}

.app-shell .workspace .dashboard-quick-action,
.app-shell .workspace .form-panel .button-dark {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(110deg, #155eef, #7a4dff, #00c8ff, #155eef);
  background-size: 240% 100%;
  box-shadow: 0 12px 28px rgba(50, 117, 255, 0.28);
  animation: dashboard-gradient 8s ease infinite;
}

.app-shell .workspace .dashboard-quick-action:hover,
.app-shell .workspace .dashboard-quick-action:focus-visible {
  color: #fff;
  transform: translateY(-2px);
}

.app-shell .workspace .coverage-bar,
.app-shell .workspace .allocation-track {
  background: rgba(255, 255, 255, 0.11);
}

.app-shell .workspace .coverage-bar span,
.app-shell .workspace .allocation-track span {
  background: linear-gradient(90deg, #26e0b2, #55a8ff, #c66cff);
  box-shadow: 0 0 16px rgba(83, 177, 255, 0.75);
}

.app-shell .workspace .dashboard-signal-mark {
  border-color: rgba(124, 204, 255, 0.45);
  color: #87d8ff;
  box-shadow: 0 0 18px rgba(0, 203, 255, 0.26);
}

.app-shell .workspace .dashboard-activity-mark {
  background: #5be7ff;
  box-shadow: 0 0 0 5px rgba(91, 231, 255, 0.13), 0 0 18px rgba(91, 231, 255, 0.55);
}

@keyframes dashboard-flow {
  0%, 100% { transform: translateX(-18%) rotate(-6deg); }
  50% { transform: translateX(18%) rotate(6deg); }
}

@keyframes dashboard-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (max-width: 760px) {
  .app-shell .workspace {
    grid-template-columns: 1fr;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-shell .workspace::before,
  .app-shell .workspace .dashboard-metric-featured,
  .app-shell .workspace .dashboard-quick-action,
  .app-shell .workspace .form-panel .button-dark {
    animation: none;
  }
}

.app-shell {
  background: #fff;
}

.app-shell .workspace > .form-panel {
  background:
    radial-gradient(circle at 12% 4%, rgba(87, 177, 255, 0.26), transparent 28%),
    linear-gradient(145deg, #0a47c9 0%, #172aa4 44%, #080c2d 100%);
  border-color: rgba(141, 196, 255, 0.42);
  box-shadow: 0 22px 55px rgba(8, 28, 118, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.app-shell .workspace > .form-panel .section-title {
  border-color: rgba(255, 255, 255, 0.22);
}

.app-shell .workspace > .form-panel .eyebrow {
  color: #bfe8ff;
}

.app-shell .workspace > .form-panel input,
.app-shell .workspace > .form-panel select,
.app-shell .workspace > .form-panel textarea {
  background: rgba(2, 12, 52, 0.42);
  border-color: rgba(210, 232, 255, 0.36);
}

.app-shell .workspace > .form-panel .notice,
.app-shell .workspace > .form-panel #trustedPersonWrap {
  background: rgba(2, 16, 68, 0.35);
  border-color: rgba(185, 221, 255, 0.32);
}

.dashboard-chart-panel {
  position: relative;
  margin: 10px 0;
  padding: 19px;
  overflow: hidden;
  border: 1px solid rgba(115, 188, 255, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 76% 12%, rgba(70, 116, 255, 0.28), transparent 28%),
    linear-gradient(145deg, rgba(24, 34, 66, 0.98), rgba(6, 9, 18, 0.99));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dashboard-chart-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 34%, rgba(102, 226, 255, 0.11) 49%, transparent 63%);
  transform: translateX(-55%);
  animation: dashboard-chart-sheen 8s ease-in-out infinite;
}

.dashboard-chart-panel > * {
  position: relative;
  z-index: 1;
}

.dashboard-chart-total {
  color: #a9d6ff;
  font-size: .72rem;
  font-weight: 800;
}

.dashboard-bar-chart {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 18px;
  min-height: 150px;
  padding: 10px 12px 0;
  border-bottom: 1px solid rgba(178, 211, 255, 0.22);
}

.dashboard-bar-column {
  display: grid;
  grid-template-rows: 22px 1fr 22px;
  align-items: end;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  height: 140px;
}

.dashboard-bar-value,
.dashboard-bar-label {
  color: #b7c6e3;
  font-size: .68rem;
  font-weight: 800;
  text-align: center;
}

.dashboard-bar-track {
  display: flex;
  align-items: end;
  width: min(34px, 70%);
  height: 100%;
  overflow: hidden;
  border-radius: 12px 12px 3px 3px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(168, 207, 255, 0.1);
}

.dashboard-bar-track > span {
  display: block;
  width: 100%;
  min-height: 5%;
  border-radius: 12px 12px 3px 3px;
  box-shadow: 0 0 18px rgba(92, 180, 255, 0.55);
  transition: height .55s cubic-bezier(.2, .7, .2, 1);
}

@keyframes dashboard-chart-sheen {
  0%, 100% { transform: translateX(-55%); opacity: .1; }
  50% { transform: translateX(55%); opacity: .7; }
}

@media (max-width: 560px) {
  .dashboard-chart-panel { padding: 16px; }
  .dashboard-bar-chart { gap: 10px; padding-left: 4px; padding-right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-chart-panel::after { animation: none; }
}

/* Refined signed-in workspace: compact banner, white form, luminous blue dashboard. */
body { background: #fff; }

.app-shell > .topbar {
  min-height: 62px;
  height: 62px;
  background: #fff;
  border-bottom-color: #e1e9f5;
  box-shadow: 0 8px 22px rgba(34, 59, 182, .07);
}

.app-shell > .topbar .brand-logo-mark {
  width: 48px;
  height: 48px;
}

#appOverview,
#planner,
#trustedAccessPanel,
#handbookSection,
#careSection {
  scroll-margin-top: 80px;
}

.app-shell .workspace {
  background: #fff;
  box-shadow: 0 24px 70px rgba(34, 59, 182, .11);
}

.app-shell .workspace > .form-panel {
  background: #fff;
  color: #10233f;
  border-color: #d8e4f3;
  box-shadow: 0 18px 44px rgba(34, 59, 182, .1), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.app-shell .workspace > .form-panel .section-title {
  border-color: #dbe6f5;
}

.app-shell .workspace > .form-panel .section-title h2,
.app-shell .workspace > .form-panel label {
  color: #10233f;
}

.app-shell .workspace > .form-panel .number-tag {
  border-color: #cbdaf0;
  color: #223bb6;
}

.app-shell .workspace > .form-panel .eyebrow {
  color: #223bb6;
}

.app-shell .workspace > .form-panel input,
.app-shell .workspace > .form-panel select,
.app-shell .workspace > .form-panel textarea {
  background: #fff;
  border-color: #cbdaf0;
  color: #10233f;
}

.app-shell .workspace > .form-panel input::placeholder,
.app-shell .workspace > .form-panel textarea::placeholder {
  color: #8c99ad;
}

.app-shell .workspace > .form-panel .notice,
.app-shell .workspace > .form-panel #trustedPersonWrap {
  background: #f2f7ff;
  border-color: #cbdaf0;
  color: #4c617d;
}

.app-shell .workspace > .list-panel {
  background:
    radial-gradient(circle at 88% 6%, rgba(108, 219, 255, .34), transparent 25%),
    radial-gradient(circle at 18% 70%, rgba(57, 114, 255, .25), transparent 30%),
    linear-gradient(140deg, #0a3ba8 0%, #193cb9 46%, #081337 100%);
  background-size: 180% 180%;
  border-color: rgba(125, 194, 255, .52);
  box-shadow: 0 24px 58px rgba(22, 58, 170, .3), inset 0 1px 0 rgba(255, 255, 255, .18);
  animation: dashboard-panel-flow 14s ease infinite;
}

.app-shell .workspace > .list-panel .section-title {
  border-color: rgba(255, 255, 255, .24);
}

.app-shell .workspace > .list-panel .number-tag {
  border-color: rgba(255, 255, 255, .72);
  color: #fff;
}

.dashboard-pie-layout {
  display: grid;
  grid-template-columns: minmax(170px, .8fr) 1.2fr;
  align-items: center;
  gap: 22px;
  min-height: 220px;
}

.dashboard-pie-chart {
  position: relative;
  display: grid;
  width: min(220px, 100%);
  aspect-ratio: 1;
  margin: auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#26324f 0 25%, #30405e 25% 50%, #253149 50% 75%, #1a2134 75% 100%);
  box-shadow: 0 0 0 12px rgba(112, 191, 255, .07), 0 0 42px rgba(73, 175, 255, .28);
  transition: background .6s ease, transform .35s ease;
}

.dashboard-pie-chart:hover { transform: rotate(4deg) scale(1.02); }

.dashboard-pie-chart::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: #111a31;
  box-shadow: inset 0 0 24px rgba(90, 187, 255, .22), 0 0 0 1px rgba(169, 221, 255, .16);
}

.dashboard-pie-hole {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.dashboard-pie-hole span {
  color: #9fb9e8;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dashboard-pie-hole strong {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: -.05em;
}

.dashboard-pie-legend { display: grid; gap: 2px; }

.dashboard-pie-legend-item {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(183, 215, 255, .16);
}

.dashboard-pie-swatch {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 14px currentColor;
}

.dashboard-pie-legend-item > div { display: grid; gap: 3px; }
.dashboard-pie-legend-item strong { color: #fff; font-size: .78rem; }
.dashboard-pie-legend-item small { color: #b5c8eb; font-size: .68rem; }
.dashboard-pie-legend-item b { color: #9ed7ff; font-size: .8rem; }

@keyframes dashboard-panel-flow {
  0%, 100% { background-position: 0% 45%; }
  50% { background-position: 100% 55%; }
}

@media (max-width: 680px) {
  .app-shell > .topbar {
    min-height: 108px;
    height: auto;
  }

  .app-shell > .topbar .brand-logo-mark {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 560px) {
  .dashboard-pie-layout { grid-template-columns: 1fr; }
  .dashboard-pie-chart { width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .app-shell .workspace > .list-panel,
  .dashboard-pie-chart { animation: none; transition: none; }
}
