@font-face { font-family:"Sigma Quicksand"; src:url("/fonts/sigma/Quicksand.ttf") format("truetype"); font-style:normal; font-weight:300 700; font-display:swap; }
/* The shared workflows keep their semantics, with Melanion Digital styling.
   These rules apply only to the fixed Sigma deployment. */
html[data-investor-theme] body.sigma-site,
html[data-investor-theme] body.sigma-site :is(.fund-reference,.portal-admin) {
    --mc-gold:#00c4f4; --mc-primary:#00c4f4;
    --mc-bg-primary:#090d1f; --mc-bg-surface:#191f38; --mc-bg-surface-2:#222b49; --mc-bg-hover:#2b3658;
    --mc-text-primary:#fff; --mc-text-secondary:#c9d1eb; --mc-text-muted:#b2bddb;
    --mc-border:#3d4968; --mc-divider:#3d4968; --mc-accent-text:#00c4f4; --mc-accent-soft:#132f47;
    --mc-accent-line:#00c4f4; --mc-on-primary:#090d1f; --mc-pos:#61dfcb; --mc-neg:#ffada8;
    --mc-font-primary:"DM Serif Display",Georgia,serif;
    --mc-font-secondary:"Sigma Quicksand","Montserrat",sans-serif;
    --mc-header-bg:#090d1f; --mc-header-border:#3d4968; --mc-footer-bg:#090d1f;
    --ink:var(--mc-text-primary); --muted:var(--mc-text-secondary); --line:var(--mc-border);
    --card:var(--mc-bg-surface); --bg:var(--mc-bg-primary); --gold:var(--mc-gold); --gold-ink:var(--mc-accent-text);
    --serif:var(--mc-font-primary); --sans:var(--mc-font-secondary);
    background:var(--mc-bg-primary); color:var(--mc-text-primary);
    font-family:var(--mc-font-secondary);
}
html[data-investor-theme="light"] body.sigma-site,
html[data-investor-theme="light"] body.sigma-site :is(.fund-reference,.portal-admin) {
    --mc-bg-primary:#f3f5fc; --mc-bg-surface:#fff; --mc-bg-surface-2:#e5eaf8; --mc-bg-hover:#dce5f5;
    --mc-text-primary:#111a34; --mc-text-secondary:#394763; --mc-text-muted:#4e5f7a;
    --mc-border:#aab6cc; --mc-divider:#aab6cc; --mc-accent-text:#006b85; --mc-accent-soft:#dcf4fa;
    --mc-accent-line:#00768e; --mc-pos:#006d61; --mc-neg:#a42f35;
}
html[data-investor-theme] .sigma-site .portal-admin .admin-navigation { grid-template-columns:repeat(8,minmax(0,1fr)); }
.sigma-site .portal-admin .fund-admin-panel .form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-bottom:18px; }
.sigma-site .portal-admin .fund-admin-panel .field { display:block; min-width:0; margin-bottom:18px; }
.sigma-site .portal-admin .fund-admin-panel .field label { display:block; margin-bottom:8px; }
.sigma-site .portal-admin .fund-admin-panel .field :is(input,textarea,select) { display:block; box-sizing:border-box; width:100%; }
.sigma-site .fund-draft-preview { position:fixed; z-index:90; bottom:0; left:0; right:0; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px; padding:16px 24px; background:var(--mc-bg-surface); color:var(--mc-text-primary); border-top:2px solid var(--mc-accent-line); box-shadow:0 -8px 24px #0005; font:12px/1.5 var(--mc-font-secondary); }
.sigma-site .fund-draft-preview strong { display:block; color:var(--mc-accent-text); font-size:14px; }
.sigma-site .fund-draft-preview span { display:block; color:var(--mc-text-secondary); }
.sigma-site .fund-draft-preview .preview-action { display:inline-block; padding:9px 12px; background:transparent; color:var(--mc-text-primary); border:1px solid var(--mc-border); border-radius:6px; font:600 12px/1.5 var(--mc-font-secondary); text-decoration:none; cursor:pointer; }
.sigma-site .fund-draft-preview .preview-action.primary { background:#00c4f4; color:#090d1f; border-color:#00c4f4; }
.sigma-site .fund-draft-preview details form { box-sizing:border-box; position:absolute; right:24px; bottom:calc(100% + 8px); width:min(400px,calc(100vw - 48px)); padding:20px; background:var(--mc-bg-surface); border:1px solid var(--mc-accent-text); box-shadow:0 0 30px #0006; }
.sigma-site .fund-draft-preview label { display:flex; gap:9px; align-items:start; margin-bottom:16px; font:12px/1.6 var(--mc-font-secondary); }
.sigma-site .fund-draft-preview input[type=checkbox] { flex:none; width:16px; height:16px; margin-top:2px; accent-color:#00c4f4; }
html[data-investor-theme] .sigma-site :is(.fund-reference,.portal-admin) :is(h1,h2,h3,h4) { font-family:var(--mc-font-primary); }
html[data-investor-theme] .sigma-site .fund-reference :is(button,input,select,textarea,.button,.filter-button) { font-family:var(--mc-font-secondary); }
html[data-investor-theme] .sigma-site .fund-reference .document-actions .button { background:#00c4f4; color:#090d1f; border-color:#00c4f4; }
html[data-investor-theme] .sigma-site .fund-reference .document-actions .button.secondary { background:transparent; color:var(--mc-accent-text); border-color:var(--mc-accent-text); }
html[data-investor-theme] .sigma-site .fund-reference .brand { font-family:var(--mc-font-secondary); }
html[data-investor-theme] .sigma-site .sigma-reference .brand { font-family:"Sigma Quicksand","Montserrat",sans-serif; }
html[data-investor-theme] .sigma-site .sigma-reference .brand img { background:transparent; padding:0; border-radius:0; }
html[data-investor-theme] .sigma-site :is(.sigma-shared-header,.sigma-shared-footer) { min-height:0; }
html[data-investor-theme] .sigma-site .sigma-shared-header { background:#090d1f; color:#fff; }
html[data-investor-theme] .sigma-site .sigma-shared-header .hdr { position:relative; }
html[data-investor-theme] .sigma-site .sigma-shared-header .hdr__in { min-height:76px; height:auto; padding-block:18px; flex-wrap:wrap; }
html[data-investor-theme] .sigma-site .sigma-shared-header .brand { flex-wrap:wrap; min-width:0; gap:18px; line-height:1.1; }
html[data-investor-theme] .sigma-site .sigma-shared-header .brand img { width:170px; height:auto; margin:0; padding:0; background:none; }
html[data-investor-theme] .sigma-site .sigma-shared-header .md-nav { display:flex; position:static; padding:0; background:none; flex-wrap:wrap; }
html[data-investor-theme] .sigma-site .sigma-shared-header .md-nav a { color:#fff; }
html[data-investor-theme] .sigma-site .sigma-shared-header .md-nav a:hover { color:#00c4f4; }
.sigma-site .sigma-theme-toggle { display:inline-grid; place-items:center; width:40px; height:40px; flex:none; border-radius:50%; border:1px solid #00c4f4; background:transparent; color:#00c4f4; cursor:pointer; }
.sigma-site .sigma-theme-toggle:hover { background:#15334a; }
html[data-investor-theme] .sigma-site .sigma-entry { min-height:100vh; }
html[data-investor-theme] .sigma-site .sigma-entry .login__intro h1 { font-size:clamp(46px,6vw,84px); line-height:.98; color:#fff; margin:10px 0 26px; letter-spacing:normal; }
html[data-investor-theme] .sigma-site .sigma-entry .login__intro p { color:#eef1ff; }
html[data-investor-theme] .sigma-site .sigma-entry .login__intro .md-eyebrow { color:#00c4f4; font-size:15px; line-height:1.2; }
html[data-investor-theme] .sigma-site .sigma-entry .login__intro .login__legal { color:#c3cce5; font-size:13px; line-height:20px; }
html[data-investor-theme] .sigma-site .sigma-entry .lcard h2 { color:#fff; font-size:34px; margin-bottom:6px; line-height:1.05; }
html[data-investor-theme] .sigma-site .sigma-entry .lcard .sub { color:#cbd4ee; margin-bottom:26px; }
html[data-investor-theme] .sigma-site .sigma-entry .fld { display:block; width:100%; height:auto; min-height:0; margin:0 0 18px; padding:0; background:transparent; border:0; }
html[data-investor-theme] .sigma-site .sigma-entry .fld label { display:block; color:#cbd4ee; margin:0 0 8px; font-size:12px; font-weight:700; }
html[data-investor-theme] .sigma-site .sigma-entry .md-field { display:block; width:100%; max-width:none; background:rgba(9,13,31,.55); color:#fff; border:1px solid #7985a1; border-radius:50px; padding:8px 20px; height:50px; }
html[data-investor-theme] .sigma-site .sigma-entry .ack { color:#eef1ff; }
html[data-investor-theme] .sigma-site .sigma-entry .more { color:#fff; }
html[data-investor-theme] .sigma-site .sigma-entry .go { width:100%; background:#00c4f4; color:#090d1f; border-color:#00c4f4; font-weight:700; }
html[data-investor-theme] .sigma-site .sigma-entry .mc-dialog { background:var(--mc-bg-surface); color:var(--mc-text-primary); border-color:var(--mc-border); }
html[data-investor-theme] .sigma-site .sigma-entry .mc-dialog :is(h2,p,.declaration-copy) { color:var(--mc-text-primary); }
html[data-investor-theme] .sigma-site .sigma-entry .mc-dialog :is(.mc-dialog-head,.mc-dialog-foot) { background:var(--mc-bg-surface-2); color:var(--mc-text-primary); border-color:var(--mc-border); margin:0; }
html[data-investor-theme] .sigma-site .sigma-entry .mc-dialog-foot { padding:20px 28px; }
html[data-investor-theme] .sigma-site .sigma-shared-footer footer { background:#090d1f; color:#fff; border-color:#3d4968; margin:0; padding:70px 0 34px; font:400 14px/1.5 var(--mc-font-secondary); }
html[data-investor-theme] .sigma-site .sigma-shared-footer :is(h4,p,a,li,.foot-bottom) { color:#eef1ff; }
html[data-investor-theme] .sigma-site .sigma-shared-footer .foot-grid h4 { font:700 15px/1.2 var(--mc-font-secondary); margin:0 0 16px; }
.sigma-site .sigma-shared-footer .md-small { max-width:300px; }
html[data-investor-theme] .sigma-site .sigma-shared-footer .session-controls { display:flex; gap:18px; align-items:center; flex-wrap:wrap; margin-top:24px; }
.sigma-site .sigma-shared-footer .session-controls form { display:inline; margin:0; }
html[data-investor-theme] .sigma-site .sigma-shared-footer .session-controls :is(button,a) { color:#00c4f4; padding:6px 0; background:transparent; border:0; border-bottom:1px solid #00c4f4; cursor:pointer; font:inherit; }
html[data-investor-theme] .sigma-site .sigma-shared-footer .foot-bottom { border-color:#3d4968; }
html[data-investor-theme="light"] .sigma-site .sigma-entry :is(.login,.lcard) { background:var(--mc-bg-primary); }
html[data-investor-theme="light"] .sigma-site .sigma-entry .lcard { background:var(--mc-bg-surface); border-color:var(--mc-border); }
html[data-investor-theme="light"] .sigma-site .sigma-entry :is(.login__intro h1,.login__intro p,.lcard h2,.lcard .sub,.fld label,.ack,.more) { color:var(--mc-text-primary); }
html[data-investor-theme="light"] .sigma-site .sigma-entry .login__intro :is(.login__legal,.md-eyebrow) { color:var(--mc-accent-text); border-color:var(--mc-border); }
html[data-investor-theme="light"] .sigma-site .sigma-entry :is(.md-field,.ack) { color:var(--mc-text-primary); background:var(--mc-bg-surface-2); border-color:var(--mc-border); }
html[data-investor-theme="light"] .sigma-site .sigma-entry .ack input { border-color:var(--mc-accent-text); }
@media(max-width:1050px) {
    .sigma-site .sigma-shared-header .brand__tag,.sigma-site .sigma-shared-header .brand__sep { display:none; }
}
@media(max-width:900px) {
    html[data-investor-theme] .sigma-site .portal-admin .admin-navigation { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:600px) {
    .sigma-site .sigma-draft-preview { padding-bottom:220px !important; }
    .sigma-site .fund-draft-preview { justify-content:flex-start; padding:12px 16px; gap:8px; }
    .sigma-site .fund-draft-preview>div { width:100%; }
    .sigma-site .fund-draft-preview details form { right:16px; width:calc(100vw - 32px); max-height:60vh; overflow:auto; }
    .sigma-site .portal-admin .fund-admin-panel .form-grid { grid-template-columns:1fr; gap:0; }
    html[data-investor-theme] .sigma-site .sigma-shared-header .brand { gap:10px; }
    html[data-investor-theme] .sigma-site .sigma-shared-header .brand__smx { width:100%; font-size:11px; }
    html[data-investor-theme] .sigma-site .sigma-shared-header .hdr__in { gap:14px; padding-inline:16px; }
    html[data-investor-theme] .sigma-site .sigma-shared-header .brand img { width:135px; }
    html[data-investor-theme] .sigma-site .sigma-shared-header .hdr__r { gap:8px; }
    html[data-investor-theme] .sigma-site .sigma-shared-header .md-nav a { padding:8px 6px; font-size:11px; }
    html[data-investor-theme] .sigma-site .sigma-entry .login__intro h1 { font-size:46px; }
    html[data-investor-theme] .sigma-site .sigma-entry .lcard { padding:26px 20px; }
    html[data-investor-theme] .sigma-site .sigma-shared-footer .foot-bottom nav { flex-wrap:wrap; gap:14px; }
}

/* V4 document surface and the Sigma assistant use the same site palette. */
.sigma-site .sigma-documents { min-height:0; }
.sigma-site .sigma-documents .md-btn--filled { color:#090d1f; background:#00c4f4; }
.sigma-site .sigma-documents .dp-hero { color:#eef1ff; }
.sigma-site .sigma-documents .dp-hero :is(h1,p) { color:#eef1ff; }
.sigma-site .sigma-documents .dp-hero h1 em { color:#00c4f4; }
html[data-investor-theme="light"] .sigma-site .sigma-documents { --md-navy-900:#f3f5fc; --md-navy-800:#fff; --md-white:#111a34; --md-mist-100:#394763; --md-white-11:#aab6cc; }
html[data-investor-theme="light"] .sigma-site .sigma-documents :is(.doc,.sigma-policy) { background:#fff; color:#111a34; }
html[data-investor-theme="light"] .sigma-site .sigma-documents :is(.doc h4,.doc p,.foot-note) { color:#394763; }
html[data-investor-theme="light"] .sigma-site .sigma-documents :is(.grp,.ico,.md-btn--outline) { color:#006b85; border-color:#006b85; }
.sigma-site .sigma-documents .sigma-policy { margin:auto; max-height:85vh; overflow:auto; color:var(--md-mist-100); background:var(--md-navy-800); border:1px solid var(--md-white-11); }
.sigma-site .sigma-policy::backdrop { background:#000a; }
.sigma-site .sigma-policy form { margin-top:24px; }
.sigma-site .investor-chat-widget { --chat-bg:#090d1f; --chat-raised:#191f38; --chat-text:#eef1ff; --chat-muted:#c9d1eb; --chat-line:#3d4968; --chat-gold:#00c4f4; font-family:"Sigma Quicksand",sans-serif; }
.sigma-site .chat-launcher { background:#00c4f4; color:#090d1f; }
.sigma-site .chat-launcher:hover { background:#9dcfdb; }
.sigma-site .chat-window-header { background:#191f38; }
.sigma-site :is(.chat-brand-icon,.chat-floating .chat-question) { background:#132f47; border-color:#3d4968; }
.sigma-site .chat-floating .chat-composer { border-color:#3d4968; }
.sigma-site .chat-thinking-dots { color:#00c4f4; }
.sigma-site .chat-window { background:#090d1f; border-color:#00c4f4; }
html[data-investor-theme] .sigma-site .portal-admin .admin-navigation { grid-template-columns:repeat(9,minmax(0,1fr)); }
@media(max-width:767px){html[data-investor-theme] .sigma-site .portal-admin .admin-navigation { grid-template-columns:repeat(3,minmax(0,1fr)); }}
