/* EUI Client App styles (28 Nov 2026). Welcome page copied from the adviser portal's sign-in look (website style). */
*, *::before, *::after { box-sizing: border-box; }
/* welcome / sign-in page (23 Nov 2026: "jazz up our login page"; then "Say Dublin Cork and international can you use similar look and
   feel to website") – the euiprivatewealth.com look: deep navy, the dotted globe with gold routes from Dublin and Cork, wide-spaced
   gold capitals, Cormorant Garamond headline, square light button. Always navy, whatever the theme. */
body.welcome { min-height: 100vh; min-height: 100dvh; margin: 0; background: #0A1220; color: #E9EEF4; overflow-x: hidden; font-family: Manrope, var(--f), system-ui, sans-serif; }
.w-bg { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(900px 600px at 78% 30%, rgba(31,95,139,.22), transparent 70%); }
.w-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
@keyframes w-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes w-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.w-wrap { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; box-sizing: border-box; max-width: 1180px; margin: 0 auto; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "top top" "hero globe" "foot foot"; grid-template-rows: auto 1fr auto; align-items: center; gap: 24px 56px;
  padding: max(28px, env(safe-area-inset-top)) max(28px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left)); }
.w-top { grid-area: top; }
.w-logo { width: 150px; height: auto; display: block; }
.w-globe { grid-area: globe; margin: 0; justify-self: center; width: min(100%, 560px); animation: w-in 1s ease-out both; }
.w-globe img { width: 100%; height: auto; display: block; }
.w-hero { grid-area: hero; animation: w-up .8s .1s ease-out both; }
.w-eyebrow { margin: 0; color: #C9A96B; font-size: 12.5px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.w-hero h1 { margin: 22px 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(44px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -.005em; color: #F2F5F8; }
.w-lead { margin: 24px 0 0; max-width: 480px; color: #A9B6C6; font-size: 17px; line-height: 1.65; }
.w-sign { margin-top: 34px; max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
.w-btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; border-radius: 0; background: #E6EAEE; color: #0A1220; font-weight: 600; font-size: 16px; letter-spacing: .01em; text-decoration: none; transition: background .15s, transform .1s; }
.w-btn:hover { background: #fff; } .w-btn:active { transform: translateY(1px); }
.w-btn:focus-visible { outline: 2px solid #C9A96B; outline-offset: 3px; }
.w-note { margin: 0; font-size: 13.5px; color: #8E9DAF; }
.w-note b { color: #E9EEF4; font-weight: 600; }
.w-points { margin: 30px 0 0; padding: 18px 0 0; max-width: 420px; border-top: 1px solid rgba(255,255,255,.12); list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; color: #8E9DAF; }
.w-points li { display: flex; gap: 10px; align-items: flex-start; }
.w-points li::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 2px; background: #C9A96B; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.w-foot { grid-area: foot; margin: 0; font-size: 12.5px; color: #6F7E90; text-align: center; letter-spacing: .02em; }
@media (max-width: 860px) {
  .w-wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "globe" "hero" "foot"; grid-template-rows: auto auto auto auto; align-content: start; gap: 18px; max-width: 560px; }
  .w-globe { width: min(58vw, 240px); margin-top: 0; }
  .w-eyebrow { font-size: 11.5px; letter-spacing: .28em; }
  .w-hero h1 { margin-top: 14px; font-size: 44px; }
  .w-lead { margin-top: 14px; font-size: 15.5px; }
  .w-sign { margin-top: 22px; max-width: none; }
  .w-points { margin-top: 22px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .w-globe, .w-hero { animation: none; } }

/* ---------- signed-in app: light, calm, EUI navy and gold; built for iPhone first ---------- */
body.app { margin: 0; background: #F4F6F9; color: #0B1626; font: 15px/1.5 Manrope, system-ui, -apple-system, sans-serif; -webkit-text-size-adjust: 100%; overflow-x: hidden;
  padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; background: #0A1220; color: #E9EEF4;
  padding: max(12px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 12px max(18px, env(safe-area-inset-left)); }
.bar-logo { height: 30px; width: auto; display: block; }
.bar-out { color: #C9A96B; text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 4px; }
.page { max-width: 760px; margin: 0 auto; padding: 22px max(18px, env(safe-area-inset-left)) 24px; }
.h { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 34px; line-height: 1.1; margin: 4px 0 16px; color: #0A1220; }
.h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #6B7A8C; margin: 26px 0 10px; font-weight: 600; }
.muted { color: #6B7A8C; } .small { font-size: 13px; } .big { font-size: 20px; font-weight: 600; margin: 0 0 12px; }
.card { background: #fff; border: 1px solid #E3E8EF; border-radius: 14px; padding: 18px; margin: 0 0 14px; }
.card p:first-child { margin-top: 0; } .card p:last-child { margin-bottom: 0; }
a { color: #00608B; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: #0A1220; color: #fff; font: 600 15px Manrope, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.btn:disabled { opacity: .55; }
.btn:focus-visible, .tabs button:focus-visible, .pick button:focus-visible { outline: 2px solid #C9A96B; outline-offset: 2px; }
.totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0 0 10px; }
.total { background: #0A1220; color: #fff; border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.total .lbl { color: #C9A96B; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.total .val { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 34px; line-height: 1.05; }
.acct { background: #fff; border: 1px solid #E3E8EF; border-radius: 14px; margin: 12px 0; overflow: hidden; }
.acct summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.acct summary::-webkit-details-marker { display: none; }
.a-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.a-name { font-weight: 600; min-width: 0; overflow-wrap: anywhere; } .a-val { font-weight: 700; white-space: nowrap; }
.a-src { font-size: 12.5px; color: #6B7A8C; } .a-src::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.a-src.feed::before { background: #2E9E6A; } .a-src.stmt::before { background: #C9A96B; }
.funds { width: 100%; border-collapse: collapse; font-size: 14px; }
.funds th { text-align: left; font-size: 12px; color: #6B7A8C; font-weight: 600; padding: 8px 18px; border-top: 1px solid #EEF1F5; }
.funds td { padding: 10px 18px; border-top: 1px solid #EEF1F5; vertical-align: top; overflow-wrap: anywhere; }
.funds .num { text-align: right; white-space: nowrap; }
.sub { display: block; font-size: 12.5px; color: #6B7A8C; }
.disclaimer { margin-top: 18px; }
.up label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; margin: 0 0 14px; }
.up select, .up input[type=text], .up input[type=file] { font: 16px Manrope, system-ui, sans-serif; min-height: 46px; padding: 10px 12px; border: 1px solid #CBD3DD; border-radius: 10px; background: #fff; width: 100%; }
.msg { min-height: 1.4em; margin: 10px 0 4px; font-weight: 600; color: #00608B; }
.list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid #E3E8EF; border-radius: 14px; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid #EEF1F5; overflow-wrap: anywhere; }
.list li:first-child { border-top: 0; }
.tag { flex: none; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #FFF4DE; color: #8A6516; }
.tag.ok { background: #E3F4EB; color: #1F7A4F; }
.pick { display: flex; gap: 8px; margin: -4px 0 16px; flex-wrap: wrap; }
.pick button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #CBD3DD; background: #fff; font: 600 14px Manrope, system-ui, sans-serif; color: #0B1626; }
.pick button[aria-current] { background: #0A1220; color: #fff; border-color: #0A1220; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid #E3E8EF;
  padding: 6px max(8px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
.tabs button { min-height: 50px; border: 0; background: none; font: 600 14px Manrope, system-ui, sans-serif; color: #6B7A8C; border-radius: 10px; }
.tabs button[aria-current] { color: #0A1220; background: #F1EBDD; }
@media (min-width: 900px) { .h { font-size: 42px; } }

/* 30 Nov 2026: second buttons, call row, address, home-screen card */
.btn.ghost { background: #fff; color: #0A1220; border: 1px solid #0A1220; }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; margin-left: 6px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.card p > .btn.ghost { margin: 4px 6px 4px 0; }
.row .btn { margin: 0; }
.btn.ghost { box-shadow: none; }
.shareic { vertical-align: -2px; color: #00608B; }
.h3 { font-size: 17px; margin: 0 0 8px; font-weight: 700; }
.addr p { margin: 0 0 10px; }
.install { max-width: 760px; margin: 14px auto 0; padding: 0 max(18px, env(safe-area-inset-left)); }
.install-in { display: flex; align-items: center; gap: 12px; background: #FFF8EA; border: 1px solid #E8D7B0; border-radius: 14px; padding: 12px 14px; }
.install-in img { border-radius: 9px; flex: none; }
.install-t { display: flex; flex-direction: column; gap: 2px; font-size: 14px; flex: 1; min-width: 0; }
.install-x { flex: none; border: 0; background: none; font-size: 26px; line-height: 1; color: #6B7A8C; min-width: 40px; min-height: 40px; cursor: pointer; }
@media (max-width: 420px) { .tabs button { font-size: 13px; } }
