/* Client-portal styles, translated from New Designs/client-zone/Auth.dc.html and Portal.dc.html.
   Per-adviser brand tokens are set on <html> by the layout from the website theme:
   --cz-hbg header background, --cz-hf header font, --cz-bbg button background, --cz-bf button font,
   --cz-body-bg, --cz-body-font, --cz-footer-bg, --cz-footer-font. */

:root {
  --cz-hbg: #05004d; --cz-hf: #ffffff; --cz-bbg: #3b71ca; --cz-bf: #ffffff;
  --cz-body-bg: #f4f6fa; --cz-body-font: #3a4152; --cz-footer-bg: #ffffff; --cz-footer-font: #7a8296;
  --cz-ink: #1c2536; --cz-muted: #7a8296; --cz-muted-2: #8a92a4; --cz-hint: #9aa3b2; --cz-line: #e6e9ef; --cz-line-soft: #f0f2f6;
  --awx-success: #26b050; --awx-success-100: #e3f6e9; --awx-danger: #e50000; --awx-danger-100: #fdeaea; --awx-warning: #e2952b;
}

html, body { margin: 0; min-height: 100%; background: var(--cz-body-bg); color: var(--cz-body-font); font-family: 'Open Sans', system-ui, sans-serif; }
* { box-sizing: border-box; }
a { color: var(--cz-bbg); }

.cz-page { min-height: 100vh; display: flex; flex-direction: column; }
.cz-main { flex: 1; padding: 34px 24px; }
.cz-container { max-width: 1180px; margin: 0 auto; }

/* header */
.cz-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 34px; background: var(--cz-hbg); color: var(--cz-hf); }
.cz-brand { display: flex; align-items: center; gap: 14px; min-width: 0; color: inherit; text-decoration: none; }
.cz-brand img { height: 42px; max-width: 220px; object-fit: contain; }
.cz-brand svg { flex-shrink: 0; }
.cz-brand-name { font-size: 20px; font-weight: 300; letter-spacing: .01em; white-space: nowrap; line-height: 1.15; }
.cz-brand-name strong { font-weight: 800; }
.cz-brand-tag { font-size: 12px; opacity: .85; }
.cz-header-actions { display: flex; align-items: center; gap: 26px; }
.cz-header-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--cz-hf); text-decoration: none; cursor: pointer; background: none; border: none; padding: 0; font-family: inherit; }

/* tabs */
.cz-tabs { background: #fff; border-bottom: 1px solid var(--cz-line); }
.cz-tabs-inner { max-width: 1180px; margin: 0 auto; display: flex; gap: 4px; overflow-x: auto; padding: 0 16px; }
.cz-tab { flex-shrink: 0; border: none; background: transparent; cursor: pointer; padding: 16px 16px; font-family: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; color: var(--cz-muted-2); text-decoration: none; }
.cz-tab.active { color: var(--cz-bbg); box-shadow: inset 0 -3px 0 0 var(--cz-bbg); }

/* footer */
.cz-footer { padding: 16px 28px; background: var(--cz-footer-bg); border-top: 1px solid var(--cz-line); font-size: 13px; color: var(--cz-footer-font); text-align: center; }
.cz-footer span { color: var(--cz-bbg); }

/* primitives */
.cz-card { background: #fff; border-radius: 14px; box-shadow: 0 4px 18px rgba(20,30,60,.06); }
.cz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 26px; border: none; border-radius: 8px; background: var(--cz-bbg); color: var(--cz-bf); font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: filter .15s; text-decoration: none; }
.cz-btn:hover { filter: brightness(.93); }
.cz-btn.block { width: 100%; }
.cz-btn:disabled { opacity: .6; cursor: default; }
.cz-in { width: 100%; padding: 14px 16px; border: 1px solid #dfe4ee; border-radius: 8px; background: #eef2fb; font-family: inherit; font-size: 15px; color: var(--cz-ink); outline: none; transition: box-shadow .15s, border-color .15s; }
.cz-in:focus { border-color: var(--cz-bbg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cz-bbg) 22%, transparent); background: #fff; }
.cz-link { color: var(--cz-bbg); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; background: none; border: none; padding: 0; font-family: inherit; }
.cz-link:hover { text-decoration: underline; }
.cz-title { font-size: 19px; font-weight: 700; color: var(--cz-bbg); margin: 0 0 20px; }
.cz-error { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 10px 12px; border-radius: 8px; background: var(--awx-danger-100); color: #a31515; font-size: 13.5px; }
.cz-note { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 13px; color: var(--awx-warning); }
@keyframes czFade { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }

/* auth screens */
.cz-auth { flex: 1; display: flex; align-items: center; justify-content: center; padding: 56px 40px; }
.cz-auth-login { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: center; width: 100%; animation: czFade .2s ease-out; }
.cz-auth-illustration { flex: 1; min-width: 280px; max-width: 500px; }
.cz-auth-illustration img { width: 100%; border-radius: 14px; }
.cz-auth-card { width: 100%; max-width: 420px; background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.08); padding: 34px 32px; animation: czFade .2s ease-out; }
.cz-auth-card.wide { max-width: 440px; padding: 36px 34px; }
.cz-auth-card h2 { margin: 0 0 12px; font-size: 24px; font-weight: 700; color: var(--cz-ink); letter-spacing: -.01em; }
.cz-auth-card p { margin: 0 0 26px; font-size: 15px; color: #5c6478; line-height: 1.55; }
.cz-auth-card p strong { color: var(--cz-ink); }
.cz-auth-card .cz-in { margin-bottom: 16px; }
.cz-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.cz-auth-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid #eef1f5; font-size: 12.5px; color: var(--cz-hint); }
.cz-auth-back { display: inline-block; margin-top: 20px; }
.cz-badge { width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--cz-bbg) 14%, #fff); }
.cz-badge.ok { background: var(--awx-success-100); }
.cz-badge.bad { background: var(--awx-danger-100); }
.cz-otp { display: flex; gap: 12px; margin-bottom: 18px; }
.cz-otp .cz-in { width: 60px; height: 64px; text-align: center; font-size: 26px; font-weight: 700; padding: 0; margin: 0; }
.cz-otp-one { height: 64px; text-align: center; font-size: 26px; font-weight: 700; letter-spacing: .6em; padding-left: .6em; }
.cz-strength { display: flex; gap: 6px; margin: -4px 0 6px; }
.cz-strength div { flex: 1; height: 5px; border-radius: 3px; background: #dfe4ee; }
.cz-strength-label { font-size: 12.5px; font-weight: 600; margin-bottom: 18px; color: var(--cz-hint); }

/* profile */
.cz-profile { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.cz-side { display: flex; flex-direction: column; gap: 22px; }
.cz-avatar-card { padding: 30px 24px; text-align: center; }
.cz-avatar { width: 130px; height: 130px; margin: 0 auto 18px; border-radius: 50%; background: color-mix(in srgb, var(--cz-bbg) 14%, #eef2fb); display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 700; color: var(--cz-bbg); overflow: hidden; }
.cz-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cz-avatar-name { font-size: 20px; font-weight: 700; color: var(--cz-ink); }
.cz-avatar-sub { font-size: 14px; color: var(--cz-muted); margin-top: 4px; }
.cz-links { padding: 10px 0; overflow: hidden; }
.cz-links a { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--cz-line-soft); color: var(--cz-body-font); font-size: 14px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cz-links a:last-child { border-bottom: none; }
.cz-links a span.i { color: var(--cz-bbg); display: flex; flex-shrink: 0; }
.cz-links a:hover { background: #f7f9fc; }
.cz-detail { padding: 28px 30px; }
.cz-detail-grid { display: grid; grid-template-columns: 170px 1fr; gap: 22px 18px; }
.cz-label { font-size: 14px; color: var(--cz-muted); }
.cz-value { font-size: 15px; color: var(--cz-ink); }
.cz-value.strong { font-weight: 600; }
.cz-stack { display: flex; flex-direction: column; gap: 8px; }
.cz-row { display: flex; align-items: center; gap: 10px; }
.cz-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 5px; background: #e7eeff; color: var(--cz-bbg); font-size: 11px; font-weight: 700; }
.cz-empty { font-size: 14px; color: var(--cz-hint); }
.cz-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cz-widget { padding: 22px 24px; }
.cz-widget h3 { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--cz-ink); }
.cz-widget-row { display: flex; justify-content: space-between; font-size: 13.5px; color: #5c6478; padding: 6px 0; border-bottom: 1px solid var(--cz-line-soft); font-variant-numeric: tabular-nums; }
.cz-widget-row b { color: var(--cz-ink); }
.cz-widget-row.total { border-bottom: none; font-weight: 700; color: var(--cz-ink); }
.cz-widget svg { display: block; width: 100%; height: auto; margin-top: 12px; }
.cz-asat { font-size: 12px; color: var(--cz-hint); margin-top: 8px; }
.cz-soon { padding: 64px 24px; text-align: center; color: var(--cz-muted); }

/* my documents */
.cz-folders, .cz-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.cz-folder { display: flex; flex-direction: column; gap: 8px; min-height: 120px; padding: 22px; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.cz-folder:hover { box-shadow: 0 8px 26px rgba(20,30,60,.12); transform: translateY(-1px); }
.cz-folder-head { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 700; color: var(--cz-ink); line-height: 1.3; }
.cz-folder-head svg { flex-shrink: 0; }
.cz-folder-desc { font-size: 13px; color: var(--cz-muted-2); line-height: 1.5; }
.cz-doc-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cz-doc-toolbar .cz-crumbs { flex: 1; margin-bottom: 0; }
.cz-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--cz-muted); margin-bottom: 22px; }
.cz-crumbs a { color: var(--cz-bbg); font-weight: 600; text-decoration: none; }
.cz-crumbs a:hover { text-decoration: underline; }
.cz-crumbs .sep { color: var(--cz-hint); }
.cz-crumbs .current { color: var(--cz-ink); font-weight: 600; }
.cz-doc { display: flex; flex-direction: column; min-height: 150px; padding: 20px; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.cz-doc:hover { box-shadow: 0 8px 26px rgba(20,30,60,.12); transform: translateY(-1px); }
.cz-doc.archived { opacity: .7; }
.cz-doc-body { display: flex; align-items: flex-start; gap: 14px; flex: 1; }
.cz-doc-body svg { flex-shrink: 0; }
.cz-doc-name { font-size: 15px; font-weight: 600; color: var(--cz-ink); line-height: 1.35; overflow-wrap: anywhere; }
.cz-doc-foot { border-top: 1px solid var(--cz-line-soft); padding-top: 12px; margin-top: 12px; text-align: center; }
.cz-doc-owner { font-size: 13px; color: #5c6478; }
.cz-doc-date { font-size: 12.5px; color: var(--cz-hint); margin-top: 2px; font-variant-numeric: tabular-nums; }
.cz-doc-empty { padding: 64px 24px; text-align: center; }
.cz-doc-empty-icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: #eef2fb; display: flex; align-items: center; justify-content: center; }
.cz-doc-empty-icon svg { stroke: var(--cz-hint); width: 28px; height: 28px; }
.cz-doc-empty-title { font-size: 16px; font-weight: 600; color: var(--cz-ink); margin-bottom: 4px; }
.cz-doc-empty-sub { font-size: 14px; color: var(--cz-muted); }
.cz-doc-toast { margin: -6px 0 18px; padding: 10px 14px; border-radius: 8px; background: var(--awx-success-100); color: #1d7a3a; font-size: 13.5px; animation: czFade .2s ease-out; }
.cz-upload { padding: 30px; max-width: 720px; }
.cz-upload-label { font-size: 15px; color: var(--cz-body-font); margin-bottom: 12px; }
.cz-dropzone { display: block; border: 2px dashed #cfd6e2; border-radius: 10px; padding: 22px; text-align: center; cursor: pointer; background: #f7f9fc; margin-bottom: 22px; transition: border-color .15s, background .15s; }
.cz-dropzone:hover, .cz-dropzone.has-file { border-color: var(--cz-bbg); background: #f2f6fd; }
.cz-dropzone input[type=file] { display: none; }
.cz-dropzone-text { display: inline-flex; align-items: center; gap: 10px; color: var(--cz-bbg); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.cz-dropzone-sub { display: block; margin-top: 6px; font-size: 12.5px; color: var(--cz-hint); }
.cz-progress { margin-bottom: 22px; }
.cz-progress-bar { height: 8px; border-radius: 4px; background: var(--cz-line); overflow: hidden; }
.cz-progress-bar div { height: 100%; background: var(--cz-bbg); border-radius: 4px; transition: width .2s; }
.cz-progress-text { font-size: 13px; color: var(--cz-muted); margin-top: 8px; }
.cz-upload-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.cz-cancel { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--cz-hint); text-decoration: none; padding: 0 12px; }
.cz-cancel:hover { color: var(--cz-muted); }

/* assets & liabilities (also reused by income & expenses) */
.cz-desk { display: block; }
.cz-mob { display: none; }
.cz-title-sub { color: #9aa2b4; font-weight: 600; }
.cz-al-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cz-al-toolbar .cz-title { margin: 0; }
.cz-al-card { padding: 6px 8px 8px; overflow-x: auto; }
.cz-al-grid { display: grid; align-items: center; }
.cz-al-grid.view { min-width: 900px; grid-template-columns: minmax(150px, 1.6fr) 120px 110px 92px 120px 96px 130px; }
.cz-al-grid.edit { min-width: 1040px; grid-template-columns: 120px minmax(150px, 1.4fr) 132px 120px 92px 132px 92px 130px; }
.cz-al-grid .span3 { grid-column: span 3; }
.cz-al-grid .span4 { grid-column: span 4; }
.cz-al-cgt-head { text-align: center; background: #f7f9fc; border-radius: 8px 8px 0 0; font-size: 12px; font-weight: 700; color: #5c6478; padding: 9px 8px; margin-top: 6px; }
.cz-al-grid .h { font-size: 12px; font-weight: 700; color: var(--cz-muted-2); padding: 12px 12px; align-self: stretch; }
.cz-al-grid.edit .h { padding: 12px 10px; }
.cz-al-grid .h.cgt { background: #f7f9fc; }
.cz-al-grid .r { text-align: right; }
.cz-al-grid .center { text-align: center; }
.cz-al-grid .c { font-size: 14px; color: var(--cz-ink); padding: 14px 12px; border-bottom: 1px solid var(--cz-line-soft); align-self: stretch; }
.cz-al-grid .c.cgt { background: #fbfcfe; }
.cz-al-grid .muted { color: #5c6478; }
.cz-al-grid .t { font-size: 14px; font-weight: 700; color: var(--cz-ink); padding: 16px 12px; }
.cz-al-grid .t.r { font-weight: 800; }
.cz-al-grid .e { padding: 8px 8px; border-bottom: 1px solid #f4f6f9; align-self: stretch; display: flex; align-items: center; }
.cz-al-grid .e.type { font-size: 13.5px; color: #5c6478; padding: 8px 10px; }
.cz-al-grid .e.cgt { background: #fbfcfe; }
.cz-rand { color: var(--cz-bbg); }
.cz-cell { width: 100%; box-sizing: border-box; border: 1px solid #d3dae6; border-radius: 6px; padding: 8px 10px; font-size: 14px; font-family: inherit; color: var(--cz-ink); outline: none; background: #fff; }
.cz-cell.r { text-align: right; }
.cz-cell.big { border-radius: 7px; padding: 10px 12px; font-size: 15px; margin-bottom: 12px; }
.cz-cell:focus, .cz-money:focus-within { border-color: var(--cz-bbg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cz-bbg) 18%, transparent); }
.cz-money { display: flex; align-items: center; gap: 5px; width: 100%; box-sizing: border-box; border: 1px solid #d3dae6; border-radius: 6px; padding: 7px 9px; background: #fff; }
.cz-money span { color: var(--cz-bbg); font-size: 13px; }
.cz-money input { border: none; outline: none; width: 100%; min-width: 0; font-size: 14px; font-family: inherit; color: var(--cz-ink); text-align: right; background: transparent; }
.cz-money input::-webkit-outer-spin-button, .cz-money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cz-money input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.cz-al-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 20px 10px 10px; }
.cz-btn.small { height: 40px; padding: 0 26px; }
.cz-btn-ghost { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #cfd6e2; background: #fff; color: #5c6478; border-radius: 8px; height: 40px; padding: 0 20px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; text-decoration: none; }
.cz-btn-ghost:hover { background: #f7f9fc; }
.cz-btn-ghost.block { flex: 1; height: 46px; font-size: 15px; }
.cz-al-mcard { padding: 16px 18px; margin-bottom: 12px; }
.cz-al-mhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cz-al-mtitle { font-size: 15px; font-weight: 700; color: var(--cz-ink); }
.cz-al-msub { font-size: 11.5px; color: #9aa2b4; margin-top: 1px; }
.cz-al-mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.cz-al-mgrid .k { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: #9aa2b4; margin-bottom: 3px; }
.cz-al-mgrid .v { font-size: 15px; color: var(--cz-ink); }
.cz-al-mgrid .v.muted { color: #5c6478; }
.cz-al-mgrid .cz-cell, .cz-al-mgrid .cz-money { border-radius: 7px; }
.cz-al-mtotal { padding: 16px 18px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; background: #f2f5fb; font-size: 14px; font-weight: 700; color: var(--cz-ink); }
.cz-al-mtotal b { font-size: 15px; font-weight: 800; }
.cz-al-mtotal small { color: #9aa2b4; font-weight: 600; font-size: 13px; }
.cz-al-mactions { display: flex; gap: 12px; margin-top: 6px; }
.cz-al-mactions .cz-btn.block { flex: 1; height: 46px; }

/* income & expenses */
.cz-ie-top { display: grid; grid-template-columns: 360px 1fr; gap: 20px; margin-bottom: 20px; }
.cz-ie-chart { padding: 22px 24px; }
.cz-ie-chart h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--cz-ink); }
.cz-ie-chart svg { display: block; width: 100%; height: auto; }
.cz-ie-legend { display: flex; gap: 16px; margin-bottom: 14px; font-size: 12px; color: #5c6478; }
.cz-ie-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cz-ie-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.cz-ie-table { padding: 8px 12px; overflow-x: auto; }
.cz-ie-grid { display: grid; grid-template-columns: 1fr 190px 190px; min-width: 520px; align-items: center; }
.cz-ie-grid.summary { grid-template-columns: 1fr minmax(96px, 130px) minmax(96px, 130px); min-width: 0; }
.cz-ie-grid.edit { grid-template-columns: 170px 1fr 160px 160px; min-width: 760px; }
.cz-ie-grid .h { font-size: 14px; font-weight: 700; color: var(--cz-ink); padding: 18px 14px; }
.cz-ie-grid.edit .h { padding: 16px 12px; }
.cz-ie-grid .h.big { font-size: 15px; }
.cz-ie-grid .r { text-align: right; }
.cz-ie-grid .center { text-align: center; }
.cz-ie-grid .c { font-size: 15px; color: var(--cz-body-font); padding: 15px 14px; border-top: 1px solid var(--cz-line-soft); align-self: stretch; }
.cz-ie-grid .c.r { color: var(--cz-ink); }
.cz-ie-grid .g { grid-column: 1 / -1; font-size: 15px; font-weight: 700; color: var(--cz-ink); padding: 20px 14px 6px; border-top: 1px solid var(--cz-line-soft); }
.cz-ie-grid.edit .g { padding: 18px 12px 6px; }
.cz-ie-grid .g + .c, .cz-ie-grid .g + .c + .c, .cz-ie-grid .g + .c + .c + .c { border-top: none; }
.cz-ie-grid .t { font-size: 15px; font-weight: 800; color: var(--cz-ink); padding: 16px 14px; border-top: 2px solid var(--cz-line); align-self: stretch; }
.cz-ie-grid .t.pos { color: #2f8a5b; }
.cz-ie-grid .t.neg { color: #c0392b; }
.cz-ie-grid.summary .t { font-weight: 700; }
.cz-ie-grid.summary .t.r { font-weight: 800; }
.cz-ie-grid .e { padding: 7px 10px; border-top: 1px solid #f4f6f9; align-self: stretch; display: flex; align-items: center; }
.cz-ie-grid .e.type { font-size: 14.5px; color: var(--cz-body-font); padding: 7px 12px; }
.cz-ie-grid.edit .cz-money, .cz-ie-grid.edit .cz-cell { border-radius: 7px; }
.cz-money.ro { background: #eef1f5; border-color: #e2e6ee; }
.cz-money.ro span { color: #9aa2b4; }
.cz-money.ro input { color: var(--cz-muted); }
.cz-help { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--cz-bbg); color: var(--cz-bbg); font-size: 10px; font-weight: 700; vertical-align: middle; margin-left: 4px; cursor: help; }

/* my advisor + contact + map */
.cz-avatar.big { width: 150px; height: 150px; font-size: 48px; }
.cz-adv-quals { font-size: 14px; color: var(--cz-muted); margin-top: 14px; line-height: 1.5; }
.cz-map { padding: 0; overflow: hidden; }
.cz-map-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid #eef1f5; }
.cz-map-title { font-size: 15px; font-weight: 700; color: var(--cz-ink); }
.cz-map-head a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--cz-bbg); text-decoration: none; }
.cz-map-head a:hover { text-decoration: underline; }
.cz-map iframe { display: block; width: 100%; border: none; }
.cz-contact-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.cz-contact-head .cz-title { margin: 0; }
.cz-btn-ghost.small { height: 38px; padding: 0 16px; font-size: 13px; gap: 7px; }
.cz-btn-ghost.upper { margin-top: 26px; height: 44px; padding: 0 26px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.cz-contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
.cz-contact-info { display: flex; flex-direction: column; gap: 22px; }
.cz-contact-lines { display: flex; flex-direction: column; gap: 18px; padding: 4px 4px 0; }
.cz-contact-line { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--cz-ink); line-height: 1.5; }
.cz-contact-line .i { color: var(--cz-bbg); display: flex; flex-shrink: 0; margin-top: 2px; }
.cz-contact-line a { color: var(--cz-ink); text-decoration: none; }
.cz-contact-line a.mail { color: var(--cz-bbg); font-weight: 600; }
.cz-contact-card { padding: 32px 34px; }
.cz-contact-card h2 { margin: 0; font-size: 22px; font-weight: 700; color: var(--cz-ink); }
.cz-contact-card p { margin: 6px 0 26px; font-size: 14px; color: var(--cz-muted); }
.cz-contact-form { display: flex; flex-direction: column; gap: 18px; }
.cz-contact-form .cz-in { height: 52px; padding: 0 16px; border-radius: 9px; background: #fff; border-color: #dfe3ea; }
.cz-contact-form .cz-in.cz-ta { height: auto; padding: 14px 16px; resize: vertical; min-height: 120px; }
.cz-contact-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.cz-validation { margin: 0; padding-left: 18px; font-size: 13px; color: var(--awx-danger); }
.cz-validation:empty { display: none; }
.cz-recaptcha-note { font-size: 11.5px; color: var(--cz-hint); }
.cz-recaptcha-note a { color: var(--cz-muted); }
.cz-contact-sent { text-align: center; padding: 30px 10px; }
.cz-contact-sent-icon { width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%; background: #e3f6e9; display: flex; align-items: center; justify-content: center; }
.cz-contact-sent-title { font-size: 22px; font-weight: 700; color: var(--cz-ink); }
.cz-contact-sent-sub { font-size: 15px; color: #5c6478; margin: 10px auto 0; line-height: 1.55; max-width: 380px; }

@media (max-width: 860px) {
  .cz-desk { display: none; }
  .cz-mob { display: block; }
  .cz-contact { grid-template-columns: 1fr; }
  .cz-contact-card { padding: 22px 18px; }
  .cz-ie-top { grid-template-columns: 1fr; }
  .cz-ie-grid { grid-template-columns: 1fr 88px 88px; min-width: 0; }
  .cz-ie-grid .h, .cz-ie-grid .c, .cz-ie-grid .t { padding-left: 8px; padding-right: 8px; font-size: 14px; }
  .cz-folders, .cz-docs { grid-template-columns: 1fr; }
  .cz-upload { padding: 22px 18px; }
  .cz-header { padding: 16px 18px; }
  .cz-main { padding: 22px 16px; }
  .cz-auth { padding: 32px 20px; }
  .cz-profile { grid-template-columns: 1fr; }
  .cz-widgets { grid-template-columns: 1fr; }
  .cz-detail-grid { grid-template-columns: 1fr; gap: 6px 0; }
  .cz-detail-grid .cz-label { margin-top: 14px; }
  .cz-header-actions { gap: 16px; }
}

/* phones: the practice name wraps and the header links drop to their own row instead of overlapping it */
@media (max-width: 560px) {
  .cz-header { flex-wrap: wrap; row-gap: 10px; }
  .cz-brand-name { white-space: normal; font-size: 17px; }
  .cz-header-actions { width: 100%; justify-content: flex-end; gap: 22px; }
}

/* Coming-soon pages (Investments, Policies): banner on top, then the page as designed (Portal.dc.html) */
.cz-soon-banner { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; margin-bottom: 24px; border-left: 5px solid var(--cz-bbg); }
.cz-soon-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: color-mix(in srgb, var(--cz-bbg) 12%, #ffffff); color: var(--cz-bbg); }
.cz-soon-title { font-size: 17px; font-weight: 800; color: var(--cz-ink); margin-bottom: 4px; }
.cz-soon-text { font-size: 14.5px; line-height: 1.6; color: #5c6478; padding-right: 90px; }
.cz-soon-tag { position: absolute; top: 14px; right: 16px; background: var(--cz-bbg); color: var(--cz-bf); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.cz-grow { flex: 1; }
.cz-center { text-align: center; margin-top: 16px; }
.cz-right { text-align: right; }
.cz-ink { color: #1c2536; }
.cz-soft { color: #8a92a4; font-weight: 400; }
.cz-accent { color: var(--cz-bbg); }
.cz-neg { color: #c0392b !important; }
.cz-tool { border: 1px solid #cfd6e2; background: #fff; border-radius: 8px; height: 34px; padding: 0 12px; font-family: inherit; font-size: 12.5px; font-weight: 600; color: #5c6478; cursor: pointer; }
.cz-tool-ic { width: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.cz-tool-link { color: var(--cz-bbg); font-size: 13px; padding: 0 20px; }
.cz-seg { display: flex; gap: 4px; background: #f2f5fb; border-radius: 9px; padding: 3px; }
.cz-seg-btn { border: none; width: 34px; height: 30px; border-radius: 7px; cursor: pointer; display: flex; align-items: center; justify-content: center; background: #eef2fb; color: #8a92a4; }
.cz-seg-btn.on { background: var(--cz-bbg); color: #fff; }

/* Investments */
.cz-inv-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.cz-inv-title { font-size: 19px; font-weight: 700; color: var(--cz-bbg); }
.cz-inv-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.cz-inv-card { padding: 24px 26px; }
.cz-inv-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.cz-inv-card-title { font-size: 17px; font-weight: 700; color: #1c2536; }
.cz-inv-date { font-size: 13px; font-weight: 600; color: var(--cz-bbg); background: #eef2fb; border-radius: 7px; padding: 6px 12px; white-space: nowrap; }
.cz-inv-bal { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: #f2f5fb; border-radius: 8px; font-size: 15px; font-weight: 700; color: #1c2536; }
.cz-inv-bal-close { margin-top: 10px; color: var(--cz-bbg); }
.cz-inv-moves { padding: 8px 4px 4px; }
.cz-inv-move { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; border-bottom: 1px solid #f0f2f6; font-size: 14px; color: #5c6478; }
.cz-inv-move b { font-weight: 600; color: #1c2536; }
.cz-inv-move-total { padding: 11px 10px; border-bottom: 1px solid #e0e4ec; }
.cz-inv-move-total span, .cz-inv-move-total b { font-weight: 700; color: #1c2536; }
.cz-inv-move-note { border-bottom: none; }
.cz-inv-move-note span { font-size: 13.5px; color: #8a92a4; max-width: 70%; line-height: 1.4; }
.cz-inv-stats { display: flex; gap: 16px; background: #f7f9fc; border-radius: 12px; padding: 22px; }
.cz-inv-stats > div { flex: 1; text-align: center; }
.cz-inv-stat-n { font-size: 40px; font-weight: 800; color: var(--cz-hbg); line-height: 1; }
.cz-inv-stat-l { font-size: 13px; color: #8a92a4; margin-top: 6px; }
.cz-inv-stat-sep { flex: 0 0 1px !important; background: #e0e4ec; }
.cz-inv-cols { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid #eef1f5; margin-bottom: 4px; font-size: 12px; font-weight: 700; color: #8a92a4; }
.cz-inv-cols3 { display: grid; grid-template-columns: 1fr auto 52px; gap: 8px 14px; }
.cz-inv-row { padding: 11px 0; border-bottom: 1px solid #f4f6f9; }
.cz-inv-row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; color: #1c2536; }
.cz-inv-row-top b { font-weight: 600; white-space: nowrap; }
.cz-inv-bar { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cz-inv-bar-track { flex: 1; height: 4px; background: #eef1f5; border-radius: 2px; }
.cz-inv-bar-fill { height: 4px; border-radius: 2px; }
.cz-inv-bar > span { font-size: 11.5px; color: #9aa3b2; width: 44px; text-align: right; }
.cz-inv-admin { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cz-inv-admin svg { flex-shrink: 0; margin: 0; width: 150px; height: 150px; }
.cz-inv-admin-row { display: grid; grid-template-columns: 1fr auto 52px; gap: 8px 14px; align-items: center; padding: 9px 0; font-size: 14px; color: #1c2536; }
.cz-inv-admin-row > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.cz-inv-admin-row i { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.cz-inv-chart { display: flex; justify-content: center; margin-bottom: 14px; overflow-x: auto; }
.cz-inv-chart svg { margin: 0; }
.cz-inv-scroll { overflow-x: auto; }
.cz-inv-contract { margin-bottom: 22px; min-width: 760px; }
.cz-inv-contract-head { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 14px; background: #f2f5fb; border-radius: 8px; padding: 12px 16px; font-size: 13.5px; color: #5c6478; }
.cz-inv-contract-head strong { color: #1c2536; font-weight: 700; }
.cz-inv-fund-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr; gap: 8px; padding: 11px 12px; border-bottom: 1px solid #f4f6f9; font-size: 13px; color: #3a4152; }
.cz-inv-fund-h { padding: 10px 12px; border-bottom: 1px solid #eef1f5; font-size: 11px; font-weight: 700; color: #8a92a4; }
.cz-inv-fund-h .cz-ink { font-size: 12px; }
.cz-inv-sub { display: flex; align-items: center; justify-content: space-between; padding: 12px; border-top: 1px solid #e0e4ec; font-size: 14px; font-weight: 700; color: #1c2536; }
.cz-inv-sub-vals { display: flex; gap: 40px; }
.cz-inv-grand { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--cz-hbg); border-radius: 8px; font-size: 15px; font-weight: 700; color: #fff; min-width: 760px; }

/* Policies */
.cz-pol-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.cz-pol-title { flex: 1; min-width: 120px; font-size: 22px; font-weight: 700; color: #1c2536; letter-spacing: -.02em; }
.cz-pol-switch { display: flex; gap: 4px; background: #eef1f6; border-radius: 10px; padding: 4px; }
.cz-pol-switch button { border: none; cursor: pointer; padding: 8px 18px; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 700; color: #59617a; background: transparent; }
.cz-pol-switch button.on { color: #fff; background: var(--cz-bbg); }
.cz-pol-section { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 19px; color: #3a4152; letter-spacing: -.02em; }
.cz-pol-rule { flex: 1; height: 1px; background: #e6e9ef; }
.cz-pol-chev { width: 34px; height: 34px; border: none; border-radius: 8px; background: #eef1f6; color: var(--cz-bbg); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cz-pol-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 34px; }
.cz-pol-card { padding: 22px 24px; }
.cz-pol-card-title { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; font-size: 18px; color: #1c2536; font-weight: 600; }
.cz-pol-grid3, .cz-pol-grid2 { display: grid; gap: 9px 22px; font-size: 14px; color: #3a4152; }
.cz-pol-grid3 { grid-template-columns: 1fr auto auto; }
.cz-pol-grid2 { grid-template-columns: 1fr auto; }
.cz-pol-grid3 .h, .cz-pol-grid2 .h { font-size: 13px; font-weight: 700; color: #59617a; }
.cz-pol-grid3 .r, .cz-pol-grid2 .r { text-align: right; }
.cz-pol-grid3 .b, .cz-pol-grid2 .b { font-weight: 700; color: #1c2536; }
.cz-pol-grid3 .b.cz-accent, .cz-pol-grid2 .b.cz-accent { color: var(--cz-bbg); }
.cz-pol-grid3 .t { border-top: 1px solid #e0e4ec; padding-top: 8px; font-weight: 700; color: var(--cz-bbg); }
.cz-pol-pcts { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: #3a4152; margin-bottom: 6px; }
.cz-pol-stack { display: flex; height: 9px; border-radius: 6px; overflow: hidden; margin-bottom: 18px; }
.cz-pol-legend { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; font-size: 14px; color: #3a4152; }
.cz-pol-legend > div:nth-child(odd) { display: flex; align-items: center; gap: 9px; }
.cz-pol-legend i { width: 11px; height: 11px; border-radius: 50%; }
.cz-pol-legend .r { text-align: right; }
.cz-pol-legend .b { font-weight: 600; }
.cz-pol-legend .sub { color: #7a8296; }
.cz-pol-legend > div.sub:nth-child(odd) { padding-left: 20px; }
.cz-pol-h2 { font-size: 19px; font-weight: 600; color: var(--cz-bbg); margin-bottom: 12px; }
.cz-pol-scroll { overflow-x: auto; margin-bottom: 34px; }
.cz-pol-table { min-width: 900px; }
.cz-pol-th, .cz-pol-tr, .cz-pol-tf { display: grid; gap: 12px; padding: 14px; font-size: 13.5px; color: #3a4152; }
.cz-pol-th { padding: 12px 14px; background: #eef1f6; border-radius: 8px 8px 0 0; font-size: 12.5px; font-weight: 700; color: #59617a; }
.cz-pol-tr { border-bottom: 1px solid #e6e9ef; }
.cz-pol-tf { background: #f5f7fb; font-weight: 700; color: #1c2536; }
.cz-pol-table .r { text-align: right; }
.cz-pol-table .sub { color: #7a8296; }
.cz-pol-life > div { grid-template-columns: 1.4fr 1.2fr 1fr 1.2fr .9fr 1fr 1fr .8fr 1.1fr; }
.cz-pol-ip > div { grid-template-columns: 1.4fr 1.2fr 1fr 1.2fr 1fr 1fr .8fr 1.1fr; }
.cz-pol-ra > div { grid-template-columns: 1.3fr 1.4fr 1fr 1.2fr 1.2fr .8fr 1.1fr; }
.cz-pol-inv { min-width: 960px; }
.cz-pol-inv > div { grid-template-columns: 1.3fr 1.3fr .9fr 1.1fr .9fr 1fr 1.2fr .8fr 1.1fr; }
@media (max-width: 860px) { .cz-inv-grid2, .cz-pol-cards { grid-template-columns: 1fr; } .cz-soon-text { padding-right: 0; } .cz-soon-tag { position: static; display: inline-block; margin-top: 8px; } }
