:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f8f7f7;--surface:#fff;--text:#251e21;--muted:#62575c;--line:#e9dfe2;--input-line:#baaaaf;--accent:#c5132b;--accent-hover:#a71125;--accent-text:#a41529;--accent-soft:#fff0f1;--wine:#671622;--wine-deep:#411019;--on-red-muted:#ffe0e5;--danger:#9c1d2e;--danger-hover:#7d1624;--shadow-card:0 2px 4px #41101908, 0 12px 32px #41101906;--chart-primary:#fff;--chart-secondary:#f3929f;--chart-empty:#ffffff36;font-family:Helvetica Neue,Arial,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}h1,h2,h3,p,dl{overflow-wrap:anywhere;margin:0}h1{letter-spacing:-.045em;font-size:clamp(1.9rem,4.5vw,2.75rem);font-weight:700;line-height:1.08}h2{letter-spacing:-.015em;font-size:1.15rem;line-height:1.3}p,dd{line-height:1.55}dt{color:var(--muted);font-size:.875rem}dd{margin:.2rem 0 0}a{color:var(--accent-text);text-underline-offset:.17em}.muted{color:var(--muted)}.small{font-size:.85rem}.auth-shell{isolation:isolate;background:var(--surface);grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-content:center;justify-items:center;min-height:100svh;padding:clamp(1rem,3vw,2.5rem);display:grid;position:relative}.auth-shell:before{content:"";z-index:-1;background:linear-gradient(145deg, transparent 42%, #ffffff16 42% 62%, transparent 62%), linear-gradient(145deg, transparent 63%, #0000001c 63%), var(--accent);position:absolute;inset:0 60% 0 0}.auth-shell:after{content:"";z-index:-1;aspect-ratio:1;clip-path:polygon(40% 15%,60% 15%,60% 40%,85% 40%,85% 60%,60% 60%,60% 85%,40% 85%,40% 60%,15% 60%,15% 40%,40% 40%);background:#ffffff2b;width:min(20vw,13rem);position:absolute;top:50%;left:20%;translate:-50% -50%}@media (max-width:45rem){.auth-shell{background:var(--bg);grid-template-columns:minmax(0,1fr)}.auth-shell:before{height:min(30svh,13rem);inset:0 0 auto}.auth-shell:after{display:none}}.card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-card);border-radius:.85rem;gap:1rem;min-width:0;padding:clamp(1.15rem,4vw,1.65rem);display:grid}.auth-card,.setup-card{width:min(100%,28rem);padding:clamp(1.4rem,5vw,2.2rem)}.auth-card{border-top:4px solid var(--accent);grid-column:2;gap:1.25rem;box-shadow:0 12px 38px #41101912}.auth-card h1{margin-top:.4rem}@media (max-width:45rem){.auth-card{grid-column:1}}.brand{letter-spacing:-.035em;white-space:nowrap;align-items:center;gap:.6rem;font-size:1.15rem;font-weight:750;display:inline-flex}.brand-mark{aspect-ratio:1;background:var(--accent);border-radius:.42rem;flex:none;place-items:center;width:2rem;display:inline-grid}.brand-mark:before{content:"";aspect-ratio:1;clip-path:polygon(40% 15%,60% 15%,60% 40%,85% 40%,85% 60%,60% 60%,60% 85%,40% 85%,40% 60%,15% 60%,15% 40%,40% 40%);background:#fff;width:1.4rem}.form,.mfa-setup,.credentials{gap:.9rem;display:grid}label{gap:.35rem;min-width:0;font-size:.9rem;font-weight:600;display:grid}input,button{font:inherit}input:not([type=hidden]){border:1px solid var(--input-line);background:var(--surface);width:100%;min-width:0;min-height:2.75rem;color:var(--text);border-radius:.55rem;padding:.65rem .75rem;font-weight:400}button{cursor:pointer;border:1px solid #0000;border-radius:.55rem;min-height:2.55rem;padding:.55rem .85rem;font-weight:620}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button:disabled{cursor:default;opacity:.6}.primary{color:#fff;background:var(--accent)}.primary:hover:not(:disabled){background:var(--accent-hover)}.secondary{color:var(--text);background:var(--surface);border-color:var(--line)}.secondary:hover:not(:disabled){background:var(--accent-soft);border-color:var(--input-line)}.danger,.form-error{color:var(--danger)}.danger-fill{background:var(--danger)}.danger-fill:hover:not(:disabled){background:var(--danger-hover)}.notice,.credentials{background:var(--accent-soft);border-radius:.55rem;padding:.85rem}.container{width:min(75rem,100%);margin-inline:auto;padding-inline:clamp(1rem,5vw,2.5rem)}.topbar{background:var(--surface);border-top:3px solid var(--accent);border-bottom:1px solid var(--line)}.topbar-inner{justify-content:space-between;align-items:center;gap:1rem;min-height:4.2rem;display:flex}.portal{gap:1.4rem;padding-block:clamp(1.5rem,5vw,3rem);display:grid}.admin-grid{grid-template-columns:minmax(0,1fr) minmax(15rem,19rem);align-items:start;gap:1rem;display:grid}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:.9rem}td,th{border-bottom:1px solid var(--line);white-space:nowrap;padding:.75rem .75rem .75rem 0}th{color:var(--muted);font-size:.8rem}tr:last-child td{border-bottom:0}td:last-child,th:last-child{text-align:right;padding-right:0}.pagination{gap:1rem;display:flex}.pagination:empty{display:none}dialog{border:1px solid var(--line);width:min(100% - 2rem,27rem);color:var(--text);border-radius:.85rem;padding:1.4rem}dialog::backdrop{background:#2b121b80}dialog p{margin-block:.5rem 1rem}.dialog-buttons{flex-wrap:wrap;justify-content:end;gap:.5rem;display:flex}.qr{max-width:100%;height:auto;display:block}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (max-width:52rem){.admin-grid{grid-template-columns:1fr}.admin-grid>:last-child{grid-row:1}}.shell-controls,.language-switch{align-items:center;gap:.5rem;display:flex}.shell-controls{flex-wrap:wrap;justify-content:space-between}.language-switch{border:1px solid var(--line);border-radius:.6rem;gap:0;padding:.15rem}.language-switch button{min-height:2rem;color:var(--muted);background:0 0;padding:.2rem .42rem;font-size:.8rem}.language-switch button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-text)}.profile-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.details-grid,.form-columns,.custom-field{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.details-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr))}.custom-field{border-bottom:1px solid var(--line);align-items:end;padding-block:.7rem}fieldset{border:1px solid var(--line);border-radius:.55rem;min-width:0;padding:.9rem}legend{padding-inline:.3rem;font-weight:600}select{border:1px solid var(--input-line);background:var(--surface);width:100%;min-width:0;min-height:2.75rem;color:var(--text);font:inherit;border-radius:.55rem;padding:.65rem .75rem;font-weight:400}.fit{justify-self:start}.balance-value{overflow-wrap:anywhere;font-size:clamp(1.3rem,4vw,2rem)}.button-link{border:1px solid var(--line);border-radius:.55rem;padding:.55rem .85rem;font-weight:620;text-decoration:none;display:inline-block}.row-actions{justify-content:end;align-items:center;gap:.55rem;display:flex}td.wrap{white-space:normal;overflow-wrap:anywhere;min-width:8rem}@media (max-width:52rem){.profile-grid{grid-template-columns:1fr}}@media (max-width:36rem){.form-columns,.custom-field{grid-template-columns:1fr}}.mfa-card{justify-self:center;width:min(100%,37rem)}.mfa-enrollment{border:1px solid var(--line);border-radius:.65rem;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:1rem;padding:1rem;display:grid}.otp-input{font-variant-numeric:tabular-nums;letter-spacing:.35em}.workspace{grid-template-columns:11.5rem minmax(0,1fr);gap:clamp(1rem,3vw,2rem);display:grid}.workspace-content{align-content:start;gap:1.25rem;min-width:0;display:grid}.workspace-sidebar{background:linear-gradient(165deg, var(--wine), var(--wine-deep));color:#fff;border-radius:.85rem;align-self:start;padding:.75rem;position:sticky;top:1rem}.workspace-sidebar p{padding:.6rem .65rem .8rem;font-weight:650}.workspace-sidebar nav,.metrics-grid{gap:.35rem;display:grid}.workspace-sidebar a{color:var(--on-red-muted);white-space:nowrap;border-radius:.5rem;padding:.55rem .65rem;text-decoration:none}.workspace-sidebar a:hover{color:#fff;background:#ffffff1f}.workspace-sidebar a[aria-current=page]{color:var(--accent-text);background:#fff;font-weight:700}.workspace-sidebar a:focus-visible{outline-color:#fff}.metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}.metric-card{color:var(--muted);gap:.5rem;font-size:.9rem;text-decoration:none}.metric-card:hover{border-color:var(--accent-text)}.metric-card strong{color:var(--accent-text);font-variant-numeric:tabular-nums;font-size:clamp(1.75rem,3vw,2.4rem)}.section-heading,.filter-bar{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.section-heading{justify-content:space-between}.filter-bar a{color:var(--muted);border-radius:.45rem;padding:.35rem .6rem;text-decoration:none}.filter-bar a:is(:hover,[aria-current=page]){background:var(--accent-soft);color:var(--accent-text)}.status-pill{background:var(--accent-soft);width:fit-content;color:var(--accent-text);border-radius:99px;padding:.25rem .6rem;font-size:.83rem;font-weight:620;display:inline-block}td small{color:var(--muted);margin-top:.2rem;display:block}.transaction-table td:nth-last-child(-n+2){font-variant-numeric:tabular-nums}.amount-credit{color:#164;font-weight:600}@media (max-width:57rem){.workspace{grid-template-columns:minmax(0,1fr)}.workspace-sidebar{position:static}.workspace-sidebar p{padding:.4rem .65rem}.workspace-sidebar nav{flex-wrap:wrap;display:flex}.workspace .admin-grid{grid-template-columns:minmax(0,1fr)}.workspace .admin-grid>:last-child{grid-row:1}}@media (max-width:36rem){.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mfa-enrollment{grid-template-columns:minmax(0,1fr)}.mfa-enrollment .qr{justify-self:center}}.client-workspace{grid-template-columns:8.25rem minmax(0,1fr);align-items:start;gap:clamp(1.1rem,4vw,3rem);display:grid}.client-content{align-content:start;gap:1.4rem;min-width:0;display:grid}.client-navigation{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-card);border-radius:1rem;gap:.35rem;padding:.4rem;display:grid;position:sticky;top:1rem}.client-navigation a{min-width:0;min-height:4.7rem;color:var(--muted);text-align:center;overflow-wrap:anywhere;border-radius:.63rem;align-content:center;justify-items:center;gap:.45rem;padding:.55rem .35rem;font-size:.82rem;font-weight:620;text-decoration:none;display:grid;position:relative}.client-navigation svg{width:1.3rem;height:1.3rem}.client-navigation a:is(:hover,[aria-current=page]){background:var(--accent-soft);color:var(--accent-text)}.client-navigation a[aria-current=page]:before{content:"";background:var(--accent);border-radius:3px;width:3px;position:absolute;inset:24% auto 24% 0}@media (max-width:40rem){.client-workspace{grid-template-columns:minmax(0,1fr)}.client-navigation{grid-template-columns:repeat(3,minmax(0,1fr));gap:.15rem;padding:.3rem;position:static}.client-navigation a{min-height:3.75rem;padding:.4rem .1rem;font-size:clamp(.65rem,2.5vw,.82rem)}.client-navigation a[aria-current=page]:before{width:auto;height:2px;inset:auto 27% 0}}@media (max-width:28rem){.topbar-inner{gap:.4rem}.topbar .brand{gap:.35rem;font-size:1rem}.topbar .shell-controls{justify-content:end;gap:.3rem}.topbar .secondary{padding-inline:.5rem;font-size:.8rem}}@media (prefers-reduced-motion:no-preference){.client-content,.workspace-content,.auth-card{animation:.22s ease-out both reveal}.client-navigation a,.workspace-sidebar a,button,.button-link,.filter-bar a{transition:background-color .16s,color .16s,border-color .16s}}@keyframes reveal{0%{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.investment-overview{grid-template-columns:repeat(auto-fit,minmax(min(100%,23rem),1fr));gap:1rem;display:grid}.portfolio-tile{background:linear-gradient(145deg, var(--accent-hover), var(--wine));color:#fff;border-radius:1rem;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;padding:clamp(1rem,4vw,1.75rem);display:grid}.portfolio-eyebrow{color:var(--on-red-muted);font-size:.83rem}.portfolio-tile h2{font-variant-numeric:tabular-nums;margin:.25rem 0 1rem;font-size:clamp(1.5rem,4vw,2.5rem)}.portfolio-legend{gap:.45rem;display:grid}.portfolio-legend>div{flex-wrap:wrap;justify-content:space-between;gap:.35rem .7rem;display:flex}.portfolio-legend dt{color:var(--on-red-muted)}.portfolio-legend dd{font-variant-numeric:tabular-nums;margin:0;font-size:.88rem}.portfolio-legend dt:before{content:"";background:var(--chart-primary);border-radius:50%;width:.57rem;height:.57rem;margin-inline-end:.42rem;display:inline-block}.portfolio-legend>:nth-child(2) dt:before{background:var(--chart-secondary)}.portfolio-ring{aspect-ratio:1;border-radius:50%;place-items:center;width:clamp(4.8rem,19vw,8.25rem);display:grid}.portfolio-ring span{aspect-ratio:1;background:var(--wine);color:#fff;border-radius:50%;place-items:center;width:73%;font-weight:700;display:grid}.accounts-overview{grid-template-columns:minmax(0,1fr)}.accounts-overview .portfolio-tile{--chart-primary:var(--accent);--chart-secondary:#ec9ba8;--chart-empty:var(--line);background:var(--surface);color:var(--text);border:1px solid var(--line);box-shadow:var(--shadow-card);gap:clamp(.75rem,4vw,2rem)}.accounts-overview :is(.portfolio-eyebrow,.portfolio-legend dt){color:var(--muted)}.accounts-overview .portfolio-tile h2{letter-spacing:-.035em;font-size:clamp(1.6rem,5vw,2.6rem)}.accounts-overview .portfolio-ring span{background:var(--surface);color:var(--wine)}.currency-allocation{--currency-EUR:var(--accent);--currency-GBP:#724b8f;--currency-USD:#216c76;--currency-CHF:#ad6528}.currency-chart{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:clamp(.75rem,4vw,2rem);display:grid}.currency-chart .portfolio-ring span{background:var(--surface);color:var(--wine)}.currency-legend{gap:.45rem;margin:.8rem 0 0;padding:0;font-size:.88rem;list-style:none;display:grid}.currency-legend li{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:.25rem .6rem;display:flex}.currency-legend strong{margin-inline-start:auto}.currency-legend li:before{content:"";aspect-ratio:1;background:var(--swatch);border-radius:50%;width:.6rem}.currency-legend [data-currency=EUR]{--swatch:var(--currency-EUR)}.currency-legend [data-currency=GBP]{--swatch:var(--currency-GBP)}.currency-legend [data-currency=USD]{--swatch:var(--currency-USD)}.currency-legend [data-currency=CHF]{--swatch:var(--currency-CHF)}.contract-card{border-inline-start:4px solid var(--accent)}.contract-title h3{margin-top:.1rem}.contract-details dd,.withdrawal-wallet dd{font-weight:650}.interest-panel,.review-panel{border-top:1px solid var(--line);padding-top:.8rem}.interest-panel summary,.review-panel summary,.contract-editor summary{cursor:pointer;font-weight:620}.interest-metrics,.interest-figure,.interest-panel>p,.contract-editor .form,.review-panel>form{margin-top:.9rem}.interest-metrics{flex-wrap:wrap;gap:.8rem 2rem;display:flex}.interest-metrics>div{gap:.2rem;display:grid}.interest-metrics span{color:var(--muted);font-size:.83rem}.interest-figure{background:var(--accent-soft);border-radius:.7rem;margin-inline:0;padding:.9rem}.interest-bars{gap:.5rem;margin:.65rem 0 0;padding:0;list-style:none;display:grid}.interest-bars li{text-align:center;grid-template-rows:auto 6rem auto;align-items:end;gap:.3rem;min-width:0;display:grid}.bar-amount,.interest-bars time{overflow-wrap:anywhere;font-size:clamp(.66rem,1.8vw,.84rem)}.bar-amount{font-weight:650}.interest-bars time{color:var(--muted)}.interest-bar-slot{border-bottom:1px solid var(--input-line);justify-content:center;align-items:flex-end;height:100%;display:flex}.interest-bar{background:var(--accent);border-radius:.35rem .35rem 0 0;width:min(66%,3.5rem)}.withdrawal-list{gap:1rem;display:grid}.status-pill:is([data-status=pending],[data-status=payout_pending]){color:#70480d;background:#fff2d5}.status-pill:is([data-status=recorded],[data-status=active]){color:#185d44;background:#dff3e8}.status-pill[data-status=rejected]{color:#8b252d;background:#fde9e9}.status-pill:is([data-status=inactive],[data-status=closed]){color:var(--muted);background:#f1ecee}@media (max-width:30rem){.portfolio-tile{gap:.6rem}.interest-figure{padding:.65rem .4rem}.interest-bars{gap:.2rem}}
