/* Core 1.20 — the Nova Home language, adapted to an authenticated workspace. */
.vis-ui .visuai-home.card {
  --home-glass: #f8faff;
  --home-glass-line: rgb(122 150 205 / 22%);
  --home-composer: #fff;
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  align-items: center; gap: 24px; padding: 42px 34px 30px; margin: 0 0 28px;
  overflow: hidden; border: 1px solid var(--home-glass-line); border-radius: 32px;
  background: var(--home-glass); color: var(--vis-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 95%), 0 24px 70px -38px rgb(47 79 143 / 30%);
  animation: home-glass-arrive 650ms cubic-bezier(.2,.7,.2,1) both;
}
.vis-ui .client-fintech-home .visuai-home.card { margin: 0; }
.vis-ui .visuai-home .home-aura { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.vis-ui .home-aura i { position: absolute; display: block; width: 420px; height: 420px; border-radius: 50%; filter: blur(66px); opacity: .34; will-change: transform; animation: home-aura-drift 16s ease-in-out infinite alternate; }
.vis-ui .home-aura i:nth-child(1) { background: #678fff; left: 8%; top: -225px; }
.vis-ui .home-aura i:nth-child(2) { background: #b7a6ff; right: 2%; top: -180px; animation-delay: -6s; }
.vis-ui .home-aura i:nth-child(3) { background: #99e0ec; left: 34%; bottom: -340px; animation-delay: -11s; opacity: .42; }
.vis-ui .visuai-home-intro { position: relative; text-align: center; max-width: 730px; }
.vis-ui .home-assistant-emblem { position: relative; display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 22px; background: linear-gradient(145deg, #fff 4%, #e9efff 46%, #c6d6ff); border: 1px solid rgb(255 255 255 / 90%); box-shadow: inset 0 1px 4px #fff, 0 8px 30px rgb(83 124 224 / 22%); }
.vis-ui .home-assistant-emblem::before { content: ''; position: absolute; inset: -24px; z-index: -1; background: conic-gradient(from 35deg, #75b6ff, #ae95fa, #a3e5ed, #75b6ff); border-radius: 50%; filter: blur(23px); opacity: .5; animation: home-emblem-breathe 6s ease-in-out infinite; }
.vis-ui .home-assistant-emblem span { display: grid; place-items: center; color: #416cde; }
.vis-ui .home-assistant-emblem svg { width: 35px; height: 35px; filter: drop-shadow(0 2px 2px rgb(70 105 185 / 14%)); }
.vis-ui .visuai-home-intro .eyebrow { font-size: 10px; color: var(--vis-muted); font-weight: 550; letter-spacing: .12em; margin: 0 0 10px; }
.vis-ui .visuai-home #visuai-home-title { color: var(--vis-ink); font-size: clamp(30px, 3.4vw, 49px); line-height: 1.12; font-weight: 600; letter-spacing: -.055em; margin: 0; }
.vis-ui .visuai-home-intro > p:not(.eyebrow) { font-size: 13px; line-height: 1.7; margin: 14px 0 0; color: var(--vis-muted); }
.vis-ui .visuai-home-conversation { width: min(100%, 790px); min-width: 0; }
.vis-ui .visuai-home form { position: relative; display: grid; gap: 12px; padding: 22px 22px 16px; border: 1px solid transparent; border-radius: 24px; background: linear-gradient(var(--home-composer), var(--home-composer)) padding-box, linear-gradient(145deg, rgb(255 255 255 / 95%), rgb(124 153 231 / 42%), rgb(188 180 236 / 40%)) border-box; box-shadow: 0 8px 36px -12px rgb(76 108 169 / 18%), inset 0 1px 0 rgb(255 255 255 / 80%); transition: box-shadow 220ms ease, transform 220ms ease; }
.vis-ui .visuai-home form:focus-within { box-shadow: 0 0 0 3px rgb(103 143 255 / 13%), 0 14px 45px -12px rgb(93 129 224 / 28%); transform: translateY(-2px); }
.vis-ui .home-composer-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vis-ui .visuai-home textarea { display: block; width: 100%; min-height: 64px; max-height: 152px; resize: none; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--vis-ink); font: 400 16px/1.7 var(--vis-font); padding: 0; }
.vis-ui .visuai-home textarea:focus { outline: none; box-shadow: none; }
.vis-ui .visuai-home textarea::placeholder { color: var(--vis-muted); opacity: 1; }
.vis-ui .visuai-home-composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vis-ui .visuai-home-composer-bottom > span { display: inline-flex; align-items: center; gap: 7px; color: var(--vis-muted); font-size: 10px; }
.vis-ui .visuai-home-composer-bottom > span svg { color: var(--vis-accent-ink); width: 15px; height: 15px; }
.vis-ui .visuai-home form .button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: auto; min-height: 42px; padding: 10px 14px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 13px; color: #fff; background: linear-gradient(150deg, #4779ec, #355bd4); font-size: 11px; font-weight: 600; box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 4px 12px rgb(66 104 213 / 18%); transition: transform 180ms ease, box-shadow 180ms ease; }
.vis-ui .visuai-home form .button svg { width: 18px; height: 18px; }
.vis-ui .visuai-home form .button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgb(66 104 213 / 30%); }
.vis-ui .visuai-home form .button:active { transform: translateY(0) scale(.98); }
.vis-ui .visuai-home .form-status { font-size: 11px; margin: 0; line-height: 1.5; }
.vis-ui .visuai-home .form-status:empty { display: none; }
.vis-ui .visuai-home-suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 18px; }
.vis-ui .visuai-home-suggestions button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 41px; padding: 9px 12px; border: 1px solid var(--home-glass-line); border-radius: 12px; background: var(--home-composer); color: var(--vis-ink); font: 500 10px/1.4 var(--vis-font); cursor: pointer; box-shadow: inset 0 1px 0 rgb(255 255 255 / 65%); transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.vis-ui .visuai-home-suggestions button svg { width: 16px; height: 16px; color: var(--vis-accent-ink); flex: 0 0 auto; }
.vis-ui .visuai-home-suggestions button:hover { transform: translateY(-3px); border-color: var(--vis-brand); box-shadow: 0 6px 18px -8px rgb(60 101 197 / 40%); }
.vis-ui .visuai-home-suggestions button:active { transform: scale(.98); }
.vis-ui .visuai-home :is(button, a):focus-visible { outline: 3px solid var(--vis-brand); outline-offset: 4px; }
.vis-ui .home-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--vis-muted); font-size: 10px; font-weight: 500; text-decoration: none; }
.vis-ui .home-text-link svg { width: 15px; height: 15px; transition: transform 180ms ease; }
.vis-ui .home-text-link:hover { color: var(--vis-accent-ink); }
.vis-ui .home-text-link:hover svg { transform: translateX(3px); }
html[data-theme="dark"] .vis-ui .visuai-home.card { --home-glass: #121b2d; --home-composer: #1c2840; --home-glass-line: rgb(158 182 234 / 18%); box-shadow: inset 0 1px 0 rgb(202 218 255 / 10%), 0 24px 70px -38px rgb(0 0 0 / 60%); }
html[data-theme="dark"] .vis-ui .home-aura i { opacity: .24; }
html[data-theme="dark"] .vis-ui .home-assistant-emblem { background: linear-gradient(145deg, #405782, #1d2c49 65%, #3f527e); border-color: rgb(163 190 250 / 32%); box-shadow: inset 0 1px 2px rgb(190 210 255 / 28%), 0 8px 30px rgb(65 110 230 / 22%); }
html[data-theme="dark"] .vis-ui .home-assistant-emblem span { color: #c0d2ff; }
html[data-theme="dark"] .vis-ui .visuai-home form { background: linear-gradient(var(--home-composer),var(--home-composer)) padding-box, linear-gradient(145deg,rgb(185 209 255 / 44%),rgb(95 131 219 / 38%),rgb(104 96 157 / 40%)) border-box; box-shadow: inset 0 1px 0 rgb(200 220 255 / 7%), 0 8px 36px -12px rgb(0 0 0 / 20%); }
html[data-theme="dark"] .vis-ui .visuai-home form:focus-within { box-shadow: 0 0 0 3px rgb(103 143 255 / 15%), 0 14px 45px -12px rgb(81 119 224 / 20%); }
html[data-theme="dark"] .vis-ui .visuai-home-suggestions button { box-shadow: inset 0 1px 0 rgb(200 220 255 / 8%); }
@supports (backdrop-filter: blur(20px)) {
  .vis-ui .visuai-home.card { --home-glass: rgb(246 249 255 / 70%); --home-composer: rgb(255 255 255 / 74%); backdrop-filter: blur(24px) saturate(125%); }
  .vis-ui .visuai-home form, .vis-ui .visuai-home-suggestions button { backdrop-filter: blur(18px) saturate(145%); }
  html[data-theme="dark"] .vis-ui .visuai-home.card { --home-glass: rgb(19 28 47 / 80%); --home-composer: rgb(27 40 65 / 80%); }
}
@keyframes home-aura-drift { from { transform: translate3d(-18px, -8px, 0) scale(.95); } to { transform: translate3d(35px, 30px, 0) scale(1.14); } }
@keyframes home-emblem-breathe { 0%,100% { transform: scale(.9); opacity: .36; } 50% { transform: scale(1.16); opacity: .62; } }
@keyframes home-glass-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) {
  .vis-ui .visuai-home.card { padding: 30px 18px 24px; gap: 23px; border-radius: 26px; }
  .vis-ui .visuai-home #visuai-home-title { font-size: clamp(29px, 6.1vw, 40px); }
  .vis-ui .visuai-home-intro > p:not(.eyebrow) { font-size: 12px; max-width: 32ch; margin-inline: auto; }
  .vis-ui .home-assistant-emblem { width: 56px; height: 56px; border-radius: 19px; margin-bottom: 18px; }
  .vis-ui .home-assistant-emblem svg { width: 30px; height: 30px; }
  .vis-ui .visuai-home form { padding: 18px 16px 13px; border-radius: 20px; }
  .vis-ui .visuai-home textarea { font-size: 16px; min-height: 70px; }
  .vis-ui .visuai-home-suggestions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .vis-ui .visuai-home-suggestions button { min-width: 0; justify-content: flex-start; text-align: left; padding: 10px; font-size: 10px; min-height: 48px; }
  .vis-ui .visuai-home-composer-bottom > span { font-size: 9px; }
}
@media (max-width: 360px) {
  .vis-ui .visuai-home.card { padding-inline: 14px; }
  .vis-ui .visuai-home-composer-bottom > span { max-width: 85px; line-height: 1.5; }
  .vis-ui .visuai-home-suggestions button { gap: 6px; padding: 9px 7px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .vis-ui .visuai-home.card, .vis-ui .home-aura i, .vis-ui .home-assistant-emblem::before { animation: none; will-change: auto; }
  .vis-ui .visuai-home *, .vis-ui .visuai-home *::before { transition: none; }
  .vis-ui .visuai-home form:focus-within, .vis-ui .visuai-home button:hover, .vis-ui .home-text-link:hover svg { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .vis-ui .visuai-home.card { --home-glass: #f8faff; --home-composer: #fff; backdrop-filter: none; }
  html[data-theme="dark"] .vis-ui .visuai-home.card { --home-glass: #121b2d; --home-composer: #1c2840; }
  .vis-ui .visuai-home form, .vis-ui .visuai-home-suggestions button { backdrop-filter: none; }
  .vis-ui .home-aura, .vis-ui .home-assistant-emblem::before { display: none; }
}
.vis-ui .client-shell { background: var(--vis-bg); }
.vis-ui .client-header { border-bottom-color: color-mix(in srgb, var(--vis-border) 70%, transparent); background: var(--vis-glass); backdrop-filter: blur(20px) saturate(130%); }
.vis-ui .client-top-nav { gap: 4px; padding: 5px; border: 1px solid var(--vis-border); border-radius: 15px; background: color-mix(in srgb, var(--vis-surface-soft) 60%, transparent); }
.vis-ui .client-top-nav button { padding: 10px 15px; min-height: 40px; font-size: 11px; font-weight: 500; border-radius: 10px; }
.vis-ui .client-top-nav-indicator { border-radius: 10px; background: var(--vis-surface); border: 1px solid color-mix(in srgb, var(--vis-border) 65%, transparent); box-shadow: var(--vis-shadow-sm); }
.vis-ui .client-top-nav button.active { color: var(--vis-ink); font-weight: 650; }
.vis-ui .client-top-nav.is-visuai-active .client-top-nav-indicator { background: var(--vis-accent-soft); }
.vis-ui .client-sidebar .nav-button { min-height: 44px; margin-block: 3px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.vis-ui .client-sidebar .nav-group-title { color: var(--vis-muted); letter-spacing: .07em; font-size: 9px; font-weight: 600; }
.vis-ui .sidebar-nav-indicator { border-radius: 12px; }
.vis-ui .client-sidebar .nav-button.active { font-weight: 650; }
.vis-ui .client-main .page { max-width: 1480px; margin-inline: auto; padding: 32px clamp(20px, 3vw, 48px) 90px; }
.vis-ui .client-fintech-home { display: grid; gap: 28px; }
.vis-ui .client-fintech-home > .client-welcome { min-height: 0; padding: 4px 0; border: 0; border-radius: 0; background: transparent; }
.vis-ui .client-fintech-home .client-welcome h1 { margin-top: 8px; font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; letter-spacing: -.045em; }
.vis-ui .client-fintech-home .client-welcome > div > p:last-child { margin-top: 8px; font-size: 13px; max-width: none; }
.vis-ui .client-fintech-home .eyebrow { color: var(--vis-muted); font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.vis-ui .client-fintech-home .client-overview-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; margin: 0; }
.vis-ui .client-fintech-home .client-intro-stack { display: block; }
.vis-ui .client-fintech-home .client-advisor-card { height: 100%; min-height: 145px; padding: 24px; border-radius: 20px; box-shadow: var(--vis-shadow-sm); }
.vis-ui .client-fintech-home .client-advisor-card > .eyebrow { margin-bottom: 20px; }
.vis-ui .client-fintech-home .client-advisor strong { font-size: 15px; font-weight: 600; }
.vis-ui .client-fintech-home .client-notification-center { padding: 24px; border-radius: 20px; box-shadow: var(--vis-shadow-sm); }
.vis-ui .client-fintech-home .client-notification-center .client-section-heading { margin-bottom: 12px; }
.vis-ui .client-fintech-home .client-section-heading h2 { font-size: 21px; letter-spacing: -.035em; }
.vis-ui .client-fintech-home .client-notification-item { padding: 12px 0; border: 0; border-bottom: 1px solid var(--vis-border); border-radius: 0; }
.vis-ui .client-fintech-home .client-notification-item:last-child { border-bottom: 0; }
.vis-ui .client-fintech-home .financial-home { margin: 0; padding: 26px; border-radius: 22px; box-shadow: var(--vis-shadow-sm); }
.vis-ui .financial-home .card-header { margin-bottom: 22px; }
.vis-ui .financial-home .card-header h2 { font-size: 23px; letter-spacing: -.035em; font-weight: 600; }
.vis-ui .financial-home .card-header p:last-child { font-size: 12px; margin-top: 8px; line-height: 1.65; }
.vis-ui .financial-next-step { background: var(--vis-bg); border: 0; border-radius: 16px; padding: 20px; }
.vis-ui .financial-next-step h3 { font-size: 14px; font-weight: 600; letter-spacing: -.025em; line-height: 1.5; }
.vis-ui .financial-next-step p { font-size: 12px; color: var(--vis-muted); margin-block: 10px 18px; line-height: 1.75; }
.vis-ui .financial-home-preferences { margin-top: 20px; border-top: 1px solid var(--vis-border); padding-top: 16px; font-size: 11px; color: var(--vis-muted); }
.vis-ui .financial-home-preferences summary { cursor: pointer; min-height: 28px; }
.vis-ui .financial-personalization { font-size: 12px; margin-top: 8px; }
.vis-ui .client-fintech-home .client-products { margin-top: 8px; }
.vis-ui .client-fintech-home .client-product-grid { gap: 18px; }
.vis-ui .client-fintech-home .client-product-card { border-radius: 22px; padding: 26px; min-height: 215px; }
.vis-ui .client-fintech-home .client-product-card small { text-transform: uppercase; letter-spacing: .1em; }
.vis-ui .client-fintech-home .client-product-card h3 { font-size: 17px; letter-spacing: -.025em; }
.vis-ui .client-fintech-home .client-product-card p { font-size: 12px; }
.vis-ui .client-fintech-home .client-product-card strong { font-size: 12px; }
.vis-ui .client-shell:has(.vh-hub) > .visuai-fab { display: none; }
.vis-ui .client-shell .mobile-nav { border-radius: 21px; padding: 7px; }
.vis-ui .client-shell .mobile-nav button { border-radius: 14px; gap: 5px; }
.vis-ui .client-shell .mobile-nav button[data-route="plugin:visuai"] { color: var(--vis-accent-ink); }
@media (hover: hover) {
  .vis-ui .client-fintech-home .client-product-card:hover { transform: translateY(-2px); }
}
@media (max-width: 1150px) {
  .vis-ui .client-top-nav button { padding-inline: 9px; font-size: 10px; }
}
@media (max-width: 900px) {
  .vis-ui .client-main .page { padding: 26px 22px 110px; }
  .vis-ui .client-fintech-home .client-overview-grid { grid-template-columns: 1fr 1fr; }
  .vis-ui .client-fintech-home .client-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .vis-ui .client-main .page { padding: 22px 16px 105px; }
  .vis-ui .client-fintech-home { gap: 20px; }
  .vis-ui .client-fintech-home .client-welcome h1 { font-size: 28px; }
  .vis-ui .client-fintech-home .client-welcome > div > p:last-child { font-size: 12px; }
  .vis-ui .client-fintech-home .client-overview-grid { grid-template-columns: 1fr; gap: 16px; }
  .vis-ui .client-fintech-home .client-advisor-card { min-height: 0; padding: 22px; }
  .vis-ui .client-fintech-home .client-advisor-card > .eyebrow { margin-bottom: 12px; }
  .vis-ui .client-fintech-home .financial-home { padding: 22px 18px; }
  .vis-ui .financial-next-steps { grid-template-columns: 1fr; }
  .vis-ui .financial-home .card-header { align-items: flex-start; gap: 16px; }
  .vis-ui .financial-home .card-header h2 { font-size: 21px; }
  .vis-ui .client-fintech-home .client-product-grid { grid-template-columns: 1fr; }
  .vis-ui .client-fintech-home .client-product-card { min-height: 0; padding: 22px; flex-direction: row; gap: 16px; }
  .vis-ui .client-shell > .visuai-fab { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vis-ui .client-fintech-home .client-product-card:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .vis-ui .client-header { background: var(--vis-surface); backdrop-filter: none; }
}

@media (forced-colors: active) {
  .vis-ui .visuai-home form:focus-within { outline: 2px solid Highlight; outline-offset: 3px; }
  .vis-ui .visuai-home form, .vis-ui .visuai-home-suggestions button { border-color: ButtonText; }
  .vis-ui .home-aura, .vis-ui .home-assistant-emblem::before { display: none; }
}
