:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#15243c;background:#f3f6fa;font-synthesis:none;--blue:#235fbe;--green:#379755;--navy:#0a1428}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid #dce3ec;background:white;color:#203552;border-radius:9px;padding:10px 15px;font-weight:600}button:hover{background:#edf3fc}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--blue);border-color:var(--blue);color:white}.primary:hover{background:#194e9f}.danger{color:#b53b42}a{color:var(--blue)}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-1px;margin-bottom:6px}h2{font-size:18px}small,.muted{color:#6a7890}.shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:var(--navy);color:#c2cee0;padding:30px 20px;display:flex;flex-direction:column;gap:30px}.brand{display:flex;gap:12px;align-items:center;font-size:22px;font-weight:750;color:white}.mark{background:linear-gradient(135deg,#2b73dc,#235fbe);width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:white;font-size:18px}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:1.4px;margin-top:4px;color:#91a3bf}.nav{display:grid;gap:7px}.nav button{text-align:left;color:#acbdd6;background:none;border:0;padding:13px 16px}.nav button.active{background:#203352;color:white;box-shadow:inset 3px 0 #5a99ff}.sidebar footer{margin-top:auto;font-size:12px;line-height:1.8;padding:15px;color:#7f92af}.sidebar footer b{color:#dbe6f7}.main{min-width:0}.topbar{height:76px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid #e4eaf2}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:1.8px;color:#8591a5}.private{color:#30744c;background:#eef7f1;border:1px solid #d7eadc;padding:6px 10px;border-radius:30px;font-size:11px;font-weight:700}.content{padding:32px 36px;max-width:1700px;margin:auto}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}.actions{display:flex;gap:8px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat,.card{background:white;border:1px solid #e2e8f1;border-radius:13px;box-shadow:0 3px 10px #11223d03}.stat{padding:20px}.stat .label{font-size:12px;color:#738097}.stat strong{display:block;font-size:28px;letter-spacing:-1px;margin:9px 0}.stat small{font-size:11px}.stat.emphasis{background:var(--navy);color:white;border:0}.stat.emphasis .label,.stat.emphasis small{color:#b1c2dc}.columns{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;margin-bottom:22px}.card{padding:22px}.cardhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.cardhead h2{margin:0}.progress{height:7px;background:#edf1f7;border-radius:8px;overflow:hidden;margin:8px 0}.progress span{display:block;height:100%;background:var(--blue)}.progress span.done{background:var(--green)}.collection{display:flex;align-items:center;gap:28px;padding:12px 0}.ring{width:128px;height:128px;flex:none;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--blue) var(--angle),#ecf0f6 0)}.ring div{width:104px;height:104px;border-radius:50%;background:white;display:grid;place-content:center;text-align:center}.ring strong{font-size:26px}.ring small{font-size:10px}.legend{display:grid;gap:14px;font-size:12px}.legend b{display:block;font-size:19px;margin-top:4px}.dot{display:inline-block;width:8px;height:8px;background:var(--blue);border-radius:50%;margin-right:6px}.dot.gray{background:#d9e1ed}.metricrow{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #edf1f5;font-size:12px}.metricrow:last-child{border:0}.metricrow b{font-size:15px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}th{font-weight:600;color:#77849a;font-size:10px;text-transform:uppercase;letter-spacing:.6px;background:#f8fafc}td,th{padding:15px 12px;border-bottom:1px solid #edf1f5}td small{display:block;margin-top:4px;font-size:10px}td .progress{width:90px}.badge{display:inline-block;border-radius:20px;padding:5px 9px;background:#edf3fd;color:#2860a9;font-size:10px;font-weight:600}.badge.green{background:#eaf6ee;color:#287443}.badge.amber{background:#fff4df;color:#916b27}.empty{text-align:center;padding:44px 20px;color:#79879c;white-space:normal}.empty strong{display:block;color:#243750;font-size:16px;margin-bottom:9px}.filters{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}.filters input{min-width:200px;flex:1}input,select,textarea{border:1px solid #d9e1ec;border-radius:8px;padding:11px 12px;background:white;color:#20324b;max-width:100%}textarea{min-height:90px;resize:vertical}label{display:grid;gap:7px;font-size:12px;font-weight:600}form{display:grid;gap:16px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wide{grid-column:1/-1}dialog{border:0;border-radius:16px;padding:28px;width:min(660px,94vw);max-height:90vh;color:#20324b;box-shadow:0 24px 100px #0004}dialog::backdrop{background:#06152a88;backdrop-filter:blur(3px)}dialog h2{font-size:23px}.dialogfoot{display:flex;justify-content:flex-end;gap:9px;margin-top:8px}.notice{padding:14px 16px;border-radius:9px;background:#eff4fc;border:1px solid #dce8fa;color:#3f5c82;font-size:12px;line-height:1.6;margin-bottom:20px}.notice.amber{background:#fff9ed;border-color:#f3e6c9;color:#846b39}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.loginaside{background:var(--navy);padding:60px;color:white;display:flex;flex-direction:column;justify-content:space-between}.loginaside h1{font-size:48px;line-height:1.13;max-width:480px}.loginaside p{color:#9db0cb;line-height:1.8;max-width:400px}.loginform{display:grid;place-items:center;padding:35px}.loginbox{width:100%;max-width:380px}.loginbox h1{margin:20px 0 10px}.loginbox form{margin-top:28px}.loginbox button{padding:14px}.error{color:#b03940;font-size:12px;line-height:1.6}.formerror{color:#b03940;font-size:12px}.textbutton{background:none;border:0;padding:0;color:var(--blue);font-size:12px}#toast{position:fixed;bottom:22px;right:22px;max-width:440px;background:#0a1428;color:white;padding:14px 20px;border-radius:10px;box-shadow:0 5px 25px #0003;display:none;z-index:20;font-size:13px}.detailgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detailgrid p{line-height:1.7;font-size:13px}.detailgrid b{display:block;font-size:11px;color:#76839a}.chart{display:flex;align-items:flex-end;gap:10px;height:130px;margin-top:18px}.month{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;text-align:center;gap:5px;font-size:10px;color:#7b8799}.month i{display:block;background:#235fbe;border-radius:4px 4px 0 0;min-height:2px}.month span{font-size:9px}.account{display:flex;gap:12px;align-items:center}.account small{font-size:10px}pre{white-space:pre-wrap;word-break:break-word;font-size:11px;background:#f7f9fc;padding:12px;border-radius:8px}.settings{display:grid;gap:18px}.settings p,.settings li{font-size:13px;line-height:1.8}.reportonly{display:none}@media(max-width:1150px){.stats{grid-template-columns:repeat(2,1fr)}.shell{grid-template-columns:190px 1fr}.content{padding:24px}.topbar{padding:0 24px}.columns{grid-template-columns:1fr}}@media(max-width:700px){.shell{display:block}.sidebar{padding:14px 16px;gap:15px}.brand{font-size:19px}.nav{display:flex;overflow:auto}.nav button{padding:10px;white-space:nowrap;font-size:12px}.sidebar footer{display:none}.topbar{height:58px;padding:0 16px}.account small{display:none}.content{padding:22px 16px}.pagehead{align-items:flex-start;flex-direction:column}h1{font-size:26px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:24px}.formgrid,.detailgrid{grid-template-columns:1fr}.login{display:block}.loginaside{padding:25px}.loginaside h1{font-size:28px;margin-top:28px}.loginaside p,.loginaside footer{display:none}.loginform{padding:30px 22px}.collection{gap:18px}.card{padding:18px}.private{font-size:9px}}@media print{.sidebar,.topbar,.actions,.filters,button,#toast,dialog{display:none!important}.shell{display:block}.content{padding:0}.stat,.card{break-inside:avoid;box-shadow:none}.reportonly{display:block}body{background:white}table{white-space:normal}.stats{grid-template-columns:repeat(4,1fr)}}
.credit-scores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.credit-score{border:1px solid #dae3ee;border-radius:12px;padding:20px;text-align:center;display:grid;gap:8px;min-width:0}.credit-score strong{font-size:38px;color:#172d4d}.credit-score small{font-size:11px;overflow-wrap:anywhere}.good{color:#197848!important}.bad{color:#bb3442!important}.neutral{color:#66768c}.credit-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;background:#f4f7fb;padding:12px;border-radius:12px}.credit-metrics p{font-size:12px}.credit-metrics strong{display:block;font-size:26px}.credit-brand{display:flex;gap:12px;align-items:center;margin-top:32px}.credit-brand small{display:block;font-size:10px;letter-spacing:1px;margin-top:6px}.credit-summary h2{margin-top:24px}.credit-entry,fieldset{border:1px solid #dce3ed;border-radius:10px;padding:15px;margin:10px 0}fieldset label{margin-bottom:12px}#credit-results{margin-top:24px}@media(max-width:700px){.credit-scores{gap:6px}.credit-score{padding:12px 5px}.credit-score strong{font-size:28px}.credit-score b{font-size:11px}.credit-score span{font-size:11px}.credit-metrics{grid-template-columns:repeat(2,1fr)}}@media print{body.printing-credit .reportonly,body.printing-credit .pagehead,body.printing-credit .content>*,body.printing-credit #credit-root>*,body.printing-credit #credit-root>article:last-child>*{display:none!important}body.printing-credit .content:has(#credit-root),body.printing-credit #credit-root,body.printing-credit #credit-root>article:last-child,body.printing-credit #credit-results,body.printing-credit .credit-summary{display:block!important}body.printing-credit .credit-summary .tablewrap{overflow:visible}body.printing-credit .credit-summary table{font-size:10px}body.printing-credit .credit-summary tr{break-inside:avoid}.credit-scores{grid-template-columns:repeat(3,1fr)}}
.client-heading{margin:24px 0 18px}.client-heading h2{font-size:27px;margin:8px 0}.client-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:12px;margin-bottom:16px}.client-tabs button{white-space:nowrap;flex-shrink:0}.client-workspace .dialogfoot{flex-wrap:wrap}@media(max-width:700px){.client-heading h2{font-size:24px}.client-tabs button{padding:11px 13px;font-size:12px}.client-workspace .metricrow{flex-wrap:wrap;gap:12px}}@media print{body.printing-credit .client-workspace>*{display:none!important}body.printing-credit .client-workspace,body.printing-credit .client-workspace>#credit-root{display:block!important}}
.credit-report-list{display:grid;gap:12px}.credit-file{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dce3ed;padding:16px;border-radius:10px}.credit-file>div{min-width:0}.credit-file p{overflow-wrap:anywhere;font-size:12px}.credit-file .actions{flex-wrap:wrap;flex-shrink:0}.credit-entry>summary{cursor:pointer;padding:12px;font-size:12px;font-weight:600}@media(max-width:700px){.credit-file{display:block}.credit-file .actions{margin-top:16px}.credit-file .actions button{font-size:12px;padding:10px}}
.jem-logo{display:block;max-width:100%;width:200px;height:auto;object-fit:contain;background:white;border-radius:8px}.brand{display:block}.sidebar .brand{padding:8px;background:white;border-radius:10px}.sidebar .jem-logo{width:100%;border-radius:0}.loginaside .brand{width:280px;max-width:100%;padding:10px;background:white;border-radius:12px}.loginaside .jem-logo{width:100%}.credit-brand .jem-logo{width:180px;flex-shrink:0}.reportonly .jem-logo{width:180px}@media(max-width:700px){.sidebar .brand{width:180px;padding:6px}.loginaside .brand{width:210px}.credit-brand{flex-wrap:wrap}.credit-brand .jem-logo{width:170px}}

/* Dispute workspace */
.ds-spaced{margin-top:20px}.ds-account{border-top:1px solid #dfe6ef;padding:20px 0}.ds-check{display:flex;align-items:flex-start;gap:10px;margin:14px 0;font-weight:400}.ds-check input[type=checkbox]{width:auto;min-width:18px;margin-top:3px;accent-color:#245fbb}.ds-fields{line-height:2.4}.ds-account textarea{min-height:85px}#disputes-root textarea{max-width:100%}#disputes-root code{overflow-wrap:anywhere}#disputes-root details{margin:12px 0}#disputes-root summary{cursor:pointer;color:#245fbb}#disputes-root .error{color:#b42318}#disputes-root .client-tabs{flex-wrap:wrap}#ds-form textarea{width:100%;min-height:130px}#modal pre{font-family:inherit}

/* Compact dashboard viewport and client action slots */
.scroll-help{font-size:11px;color:#738097;margin:-8px 0 12px}.dashboard-client-scroll{height:330px;max-height:45vh;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #e6ecf4;border-radius:9px;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}.dashboard-client-scroll table{min-width:780px}.dashboard-client-scroll th{position:sticky;top:0;z-index:1;background:#f5f8fc}.dashboard-client-scroll td{height:auto;padding:13px 12px;vertical-align:top}.dashboard-client-scroll:focus-visible{outline:2px solid #235fbe;outline-offset:3px}.dashboard-client-scroll tr:hover td{background:#f7faff}.client-directory table{white-space:normal;min-width:780px}.client-directory td{vertical-align:top}.client-directory td:first-child{min-width:250px;max-width:340px}.client-directory td small{line-height:1.5}.client-action-slot{margin-top:12px;background:#f4f7fb;border:1px solid #e2e9f3;border-radius:8px}.client-action-slot summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;color:#456180;font-size:11px;font-weight:600;padding:10px 12px}.client-action-slot summary::-webkit-details-marker{display:none}.client-action-slot[open] summary{border-bottom:1px solid #e2e9f3}.client-action-slot .actions{padding:10px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.client-action-slot .actions button{font-size:11px;padding:9px 7px;white-space:normal}.client-directory .progress{max-width:100%}@media(max-width:700px){.dashboard-client-scroll{height:290px;max-height:45vh}.client-directory{overflow:visible}.client-directory table,.client-directory tbody{display:block;min-width:0;width:100%}.client-directory thead{display:none}.client-directory tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e0e7f0;border-radius:12px;margin-bottom:16px;overflow:hidden}.client-directory td{display:block;min-width:0;padding:13px 15px;border:0;overflow-wrap:anywhere}.client-directory td:first-child{grid-column:1/-1;min-width:0;max-width:none;border-bottom:1px solid #edf1f6;padding-bottom:16px}.client-directory td:not(:first-child)::before{content:attr(data-label);display:block;font-size:10px;letter-spacing:.2px;color:#738097;margin-bottom:7px}.client-directory td:first-child>.textbutton{font-size:16px;text-align:left;line-height:1.4}.client-action-slot .actions{grid-template-columns:1fr 1fr}.client-action-slot .actions button{min-height:42px;font-size:12px}.client-directory tr:last-child{margin-bottom:0}}@media print{.dashboard-client-scroll{height:auto;max-height:none;overflow:visible;border:0}.dashboard-client-scroll th{position:static}.scroll-help,.client-action-slot{display:none!important}.client-directory table{min-width:0}}

/* Horizontal action strip below each client, matching the requested row layout. */
.client-directory tr.client-actions-row td{padding:0 12px 18px;border-bottom:1px solid #e2e9f2;max-width:none}.client-directory tr:not(.client-actions-row)>td{border-bottom:0;padding-bottom:10px}.client-horizontal-actions{padding:9px 11px;background:#f4f7fc;border:1px solid #e1e8f3;border-radius:8px}.client-horizontal-actions .actions{display:flex;flex-wrap:nowrap;gap:8px}.client-horizontal-actions button{font-size:11px;padding:9px 12px;white-space:nowrap;flex-shrink:0}.client-horizontal-actions{overflow-x:auto;-webkit-overflow-scrolling:touch}.client-identity-fields{border:1px solid #dfe6ef;border-radius:10px;padding:16px;min-width:0}.client-identity-fields legend{padding:0 8px;font-size:12px;font-weight:600}.client-identity-fields:disabled{opacity:.6}.animated-progress span{transform-origin:left;animation:jem-grow-bar .7s cubic-bezier(.2,.7,.3,1) both;background-image:linear-gradient(90deg,#235fbe,#4190dc);box-shadow:0 0 8px #235fbe24}.animated-progress span.done{background-image:linear-gradient(90deg,#267e4c,#43b76c)}.animated-progress{height:8px}.stat strong{font-variant-numeric:tabular-nums}.stat:has([data-money-count]){animation:jem-stat-enter .4s ease-out both}@keyframes jem-grow-bar{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes jem-stat-enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:700px){.client-directory tr:not(.client-actions-row){margin-bottom:0;border-radius:12px 12px 0 0;border-bottom:0}.client-directory tr.client-actions-row{display:block;margin:0 0 16px;border-top:0;border-radius:0 0 12px 12px}.client-directory tr.client-actions-row td{display:block;padding:0 12px 14px;max-width:none}.client-directory tr.client-actions-row td::before{display:none}.client-horizontal-actions button{font-size:12px;min-height:42px}.client-directory tr.client-actions-row td:first-child{border:0}.client-horizontal-actions .actions{flex-wrap:nowrap}}@media(prefers-reduced-motion:reduce){.animated-progress span,.stat:has([data-money-count]){animation:none!important}}@media print{.client-actions-row{display:none!important}.animated-progress span{animation:none!important}}

/* Method groups and compact movement/activity windows */
.payment-method-tabs{display:flex;gap:8px;overflow-x:auto;margin:0 0 18px;padding-bottom:4px}.payment-method-tabs button{white-space:nowrap;flex-shrink:0}.payment-scroll,.activity-scroll{height:380px;max-height:55vh;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #e1e8f2;border-radius:9px;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}.payment-scroll table{min-width:840px}.activity-scroll table{min-width:650px}.payment-scroll th,.activity-scroll th{position:sticky;top:0;z-index:1;background:#f5f8fc}.payment-scroll td{vertical-align:top;padding:13px 12px;border-bottom:0}.payment-scroll .payment-actions-row td{padding:0 12px 14px;border-bottom:1px solid #e1e8f2}.payment-horizontal-actions{display:flex;align-items:flex-start;gap:12px;padding:9px 12px;background:#f5f8fc;border:1px solid #e5ebf4;border-radius:8px;white-space:normal}.payment-horizontal-actions details{flex:1;min-width:0}.payment-horizontal-actions summary{cursor:pointer;color:#235fbe;font-size:11px;font-weight:600;padding:7px 0}.payment-horizontal-actions button{font-size:11px;flex-shrink:0}.activity-settings>details>summary{cursor:pointer;font-weight:700;font-size:18px;color:#203552;padding:2px 0}.activity-settings>details[open]>summary{margin-bottom:16px}.payment-scroll:focus-visible,.activity-scroll:focus-visible{outline:2px solid #235fbe;outline-offset:3px}@media(max-width:700px){.payment-scroll,.activity-scroll{height:330px;max-height:50vh}}@media print{.payment-method-tabs,.payment-actions-row{display:none!important}.payment-scroll,.activity-scroll{height:auto;max-height:none;overflow:visible}.payment-scroll th,.activity-scroll th{position:static}}

.contract-group-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.contract-group-card{text-align:left;display:grid;gap:9px;padding:18px;background:white;border:1px solid #dfe6f0;box-shadow:0 3px 10px #11223d03}.contract-group-card span{font-size:12px;color:#5b708b}.contract-group-card strong{font-size:30px;color:#203b60}.contract-group-card small{font-size:10px;font-weight:400}.contract-group-card.chosen{border-color:#235fbe;box-shadow:0 0 0 1px #235fbe;background:#f4f8ff}.contract-group-card .green{color:#287443}.contract-group-card .amber{color:#a06819}.contract-scroll{height:380px;max-height:55vh;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #e1e8f2;border-radius:9px;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}.contract-scroll table{min-width:850px}.contract-scroll th{position:sticky;top:0;z-index:1;background:#f5f8fc}.contract-scroll td{vertical-align:top;padding:13px 12px;border-bottom:0}.contract-scroll .payment-actions-row td{padding:0 12px 14px;border-bottom:1px solid #e1e8f2}.contract-horizontal-actions{display:flex;gap:8px;flex-wrap:nowrap;padding:9px 12px;background:#f4f7fc;border:1px solid #e1e8f3;border-radius:8px}.contract-horizontal-actions button{white-space:nowrap;font-size:11px}.reminder-mail-link{display:inline-block;padding:11px 16px;background:#235fbe;color:white;border-radius:9px;text-decoration:none;font-size:13px}.contract-scroll:focus-visible{outline:2px solid #235fbe;outline-offset:3px}@media(max-width:700px){.contract-group-cards{gap:8px}.contract-group-card{padding:12px 10px}.contract-group-card span{font-size:11px}.contract-group-card strong{font-size:26px}.contract-scroll{height:330px;max-height:50vh}}@media print{.contract-group-cards,.contract-horizontal-actions{display:none!important}.contract-scroll{height:auto;max-height:none;overflow:visible}.contract-scroll th{position:static}}

#disputes-root .ds-template-title{font-size:15px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}

#ds-motives-summary{margin:14px 0;padding:12px 14px;background:#f7f9fc;border:1px solid #e1e8f2;border-radius:10px;min-width:0}#ds-motives-summary .ds-motives-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}#ds-motives-summary h3{font-size:14px;line-height:1.3;margin:0}#ds-motives-summary small{font-size:11px;color:#68768a;white-space:nowrap}#ds-motives-summary .ds-motives-hint{font-size:11px;color:#68768a;margin:5px 0 8px}#ds-motives-summary .ds-motives-scroll{max-height:160px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}#ds-motives-summary ul{list-style:none;margin:0;padding:0 7px 0 0}#ds-motives-summary li{font-size:12px;line-height:1.5;padding:7px 0;border-bottom:1px solid #e5eaf2;overflow-wrap:anywhere}#ds-motives-summary li:last-child{border-bottom:0}#ds-motives-summary .ds-motives-scroll:focus-visible{outline:2px solid #235fbe;outline-offset:2px}@media(max-width:700px){#ds-motives-summary{padding:10px}#ds-motives-summary .ds-motives-scroll{max-height:140px}}

/* Integrated JEM identity: one continuous surface, compact original logo. */
:root{--surface:#fff;--line:#e3eaf2;--ink:#182b46}body{background:#f4f7fb;color:var(--ink)}
.sidebar{background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);color:#465b76;border-right:1px solid var(--line);padding:28px 20px;gap:25px;position:sticky;top:0;height:100vh;overflow:hidden}
.sidebar .brand,.loginaside .brand{padding:0;background:none;border:0;border-radius:0;box-shadow:none;width:100%;max-width:280px}
.brand-logo-window{width:100%;aspect-ratio:2/1;overflow:hidden;position:relative}
.sidebar .jem-logo,.loginaside .jem-logo{display:block;width:100%;max-width:none;height:auto;object-fit:contain;background:transparent;border-radius:0;mix-blend-mode:multiply;transform:translateY(-2px)}
.brand-signature{margin-top:8px}.brand-signature>span{display:block;width:46px;height:3px;background:linear-gradient(90deg,#235fbe 0 62%,#379755 62%);border-radius:4px;margin-bottom:10px}
.brand .brand-signature small{font-size:9px;letter-spacing:1.5px;font-weight:650;color:#77869a;line-height:1.5;margin:0}
.sidebar>.eyebrow{font-size:9px;letter-spacing:1.6px;color:#8492a5;margin:4px 10px -12px}
.sidebar .nav{min-height:0;overflow-y:auto;scrollbar-width:thin;gap:5px;padding:2px}
.sidebar .nav button{color:#50627a;font-size:12px;padding:12px 13px;border-radius:8px;transition:background .15s,color .15s}
.sidebar .nav button:hover{background:#edf3fb;color:#235fbe}.sidebar .nav button.active{background:#eaf1fc;color:#1b54a8;box-shadow:inset 3px 0 #235fbe;font-weight:750}
.sidebar footer{padding:14px 10px 0;border-top:1px solid var(--line);color:#8190a4;font-size:10px;line-height:1.9}.sidebar footer b{color:#415673}
.topbar{background:#ffffffed;border-bottom:1px solid var(--line)}.pagehead{margin-bottom:25px}.pagehead h1{color:#172d4c;letter-spacing:-.9px}
.card,.stat{border-color:#e3eaf2;border-radius:14px;box-shadow:0 4px 18px #182b4605}.cardhead h2,.card>h2{color:#203754}.stat.emphasis{background:linear-gradient(130deg,#10233e,#17385b)}
.primary{box-shadow:0 3px 8px #235fbe16}.private{background:#edf7f0;border-color:#deece3;color:#367250}
.loginaside{background:radial-gradient(ellipse at 0% 100%,#e3efe8 0,transparent 55%),linear-gradient(140deg,#fff,#f1f5fb);color:#172d4c;border-right:1px solid var(--line)}.loginaside p{color:#657891}.loginaside .eyebrow{color:#698098}.loginaside footer small{color:#6e8098}
@media(max-width:1150px) and (min-width:701px){.sidebar{padding:25px 15px;gap:22px}.brand .brand-signature small{font-size:8px;letter-spacing:1px}.sidebar .nav button{padding:11px 10px;font-size:11px}}
@media(max-width:700px){.sidebar{position:relative;height:auto;padding:15px 16px 10px;gap:14px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{width:166px;max-width:48vw}.sidebar .brand-logo-window{aspect-ratio:2.1/1}.sidebar .brand-signature{display:none}.sidebar>.eyebrow{display:none}.sidebar .nav{display:flex;overflow-x:auto;overflow-y:hidden;padding:3px 0 6px;gap:5px}.sidebar .nav button{padding:10px 13px;font-size:12px;flex-shrink:0}.loginaside .brand{width:210px}.loginaside .brand-signature small{font-size:8px}.loginaside .brand-signature>span{margin-bottom:7px}.loginaside{padding:26px}.topbar{height:58px}}
@media(prefers-reduced-motion:reduce){.sidebar .nav button{transition:none}}

/* Signature blue/green sweeps echo the logo without covering content. */
.brand-signature>span{width:120px;height:19px;border-radius:0;background:url('./assets/jem-brand-lines.svg') left center/contain no-repeat;margin-bottom:8px}
.topbar{position:relative}.topbar::after{content:"";position:absolute;left:0;bottom:-1px;width:100%;height:3px;background:linear-gradient(90deg,#235fbe 0 15%,#379755 15% 22%,var(--line) 22% 100%);pointer-events:none}
.pagehead{position:relative;padding-bottom:18px}.pagehead::after{content:"";position:absolute;left:0;bottom:0;width:155px;height:13px;background:url('./assets/jem-brand-lines.svg') left center/100% 100% no-repeat;pointer-events:none}
.sidebar footer{position:relative;padding-top:22px;border-top:0}.sidebar footer::before{content:"";position:absolute;left:10px;right:10px;top:0;height:14px;background:url('./assets/jem-brand-lines.svg') center/100% 100% no-repeat;opacity:.8;pointer-events:none}
.loginaside{position:relative;overflow:hidden}.loginaside::after{content:"";position:absolute;right:-45px;bottom:0;width:300px;height:80px;background:url('./assets/jem-brand-lines.svg') center/contain no-repeat;opacity:.12;pointer-events:none}.loginaside>*{position:relative;z-index:1}
@media(max-width:700px){.pagehead::after{width:120px;height:11px}.topbar::after{height:2px}.sidebar .brand-signature{display:block;margin-top:1px}.sidebar .brand-signature>span{width:100px;height:12px;margin:0}.sidebar .brand-signature small{display:none}}
@media print{.pagehead::after,.topbar::after,.sidebar footer::before{display:none}}

/* Comfortable surfaces and persistent light/dark presentation. */
:root{--page:#e9edf2;--surface:#f5f6f8;--surface-alt:#eaf0f5;--line:#d7e0e9;--ink:#24364c;--muted:#63758b;--control:#edf1f5;--selected:#dce8fa;--accent:#235fbe;color-scheme:light}
:root[data-theme=dark]{--page:#101722;--surface:#192331;--surface-alt:#202e3f;--line:#334256;--ink:#e0e8f2;--muted:#a0b0c4;--control:#243247;--selected:#29466b;--accent:#8bb7fa;--blue:#3475cf;--green:#56aa74;color-scheme:dark}
html,body{background:var(--page);color:var(--ink)}.sidebar,.topbar,.card,.stat,.contract-group-card,.loginform,dialog,.ring div{background:var(--surface);color:var(--ink);border-color:var(--line)}.sidebar{background:linear-gradient(180deg,var(--surface),var(--surface-alt))}.topbar{background:var(--surface)}.sidebar .brand,.loginaside .brand{background:transparent}.pagehead h1,.cardhead h2,.card>h2,h1,h2,h3,.credit-score strong,.sidebar footer b{color:var(--ink)}small,.muted,.eyebrow,.stat .label,.brand .brand-signature small{color:var(--muted)}a{color:var(--accent)}
.sidebar .nav button{display:flex;align-items:center;gap:10px;background:var(--control);border:1px solid var(--line);border-radius:999px;color:var(--ink);padding:8px 12px;min-height:43px}.sidebar .nav{gap:8px}.sidebar .nav-symbol{width:28px;height:28px;flex:0 0 28px;border-radius:50%;display:grid;place-items:center;background:#d6e3f4;color:#235fbe;font-size:14px}.sidebar .nav button:hover{background:var(--selected);color:var(--ink)}.sidebar .nav button.active{background:var(--selected);color:var(--ink);border-color:#8baed8;box-shadow:none}.sidebar .nav button.active .nav-symbol{background:#235fbe;color:#fff}
button,.client-tabs button{background:var(--control);color:var(--ink);border-color:var(--line)}button:hover{background:var(--selected)}button.primary,.primary{background:#235fbe;color:#fff;border-color:#235fbe}.primary:hover{background:#1c52a4}.client-tabs button{border-radius:999px}.client-tabs button.active{background:#235fbe;color:#fff}.theme-toggle{border-radius:999px;white-space:nowrap;font-size:12px;padding:8px 12px;box-shadow:none}.loginform{position:relative}.login-theme{position:absolute;right:24px;top:20px}.loginbox{margin-top:30px}input,textarea,select{background:var(--surface);color:var(--ink);border-color:var(--line)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.9}
th,.dashboard-scroll th,.payment-scroll th,.contract-scroll th{background:var(--surface-alt);color:var(--muted)}td,.metricrow,.sidebar footer,.credit-entry,fieldset{border-color:var(--line)}.client-action-slot,.client-horizontal-actions,.payment-horizontal-actions,.contract-horizontal-actions,.credit-metrics,#ds-motives-summary{background:var(--surface-alt);border-color:var(--line);color:var(--ink)}#ds-motives-summary h3{color:var(--ink)}#ds-motives-summary li{border-color:var(--line)}#ds-motives-summary small,#ds-motives-summary .ds-motives-hint{color:var(--muted)}.notice{background:var(--surface-alt);color:var(--ink);border-color:var(--line)}.progress{background:var(--line)}.stat.emphasis{background:linear-gradient(130deg,#162d48,#23486c);color:#f4f7fc}.stat.emphasis .label,.stat.emphasis small{color:#c1d1e4}.loginaside{background:radial-gradient(ellipse at 0% 100%,#37975516,transparent 55%),linear-gradient(140deg,var(--surface),var(--surface-alt));color:var(--ink)}.loginaside p,.loginaside .eyebrow,.loginaside footer small{color:var(--muted)}
[data-theme=dark] .sidebar .jem-logo,[data-theme=dark] .loginaside .jem-logo{filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen;background:transparent}
[data-theme=dark] .sidebar .nav-symbol{background:#304a6b;color:#b5d3fc}[data-theme=dark] .sidebar .nav button.active .nav-symbol{background:#3475cf;color:#fff}[data-theme=dark] .badge{background:#294568;color:#c6ddff}[data-theme=dark] .badge.green,[data-theme=dark] .private{background:#203e32;color:#a5d6b6;border-color:#365b47}[data-theme=dark] .notice.amber,[data-theme=dark] .badge.amber{background:#3c3322;color:#e7cb8c;border-color:#625239}[data-theme=dark] .good{color:#85cea2!important}[data-theme=dark] .bad,[data-theme=dark] .error,[data-theme=dark] .danger{color:#f2a3a7!important}[data-theme=dark] .neutral{color:var(--muted)!important}[data-theme=dark] .contract-group-card.chosen{background:var(--selected);border-color:#7ea9e0}[data-theme=dark] dialog::backdrop{background:#050a12b3}[data-theme=dark] #toast{background:#dce6f2;color:#172436}[data-theme=dark] .ring{background:conic-gradient(var(--blue) var(--angle),var(--line) 0)}
@media(max-width:700px){.sidebar .nav button{padding:6px 12px;gap:7px;min-height:39px}.sidebar .nav-symbol{width:24px;height:24px;flex-basis:24px;font-size:12px}.account{gap:6px}.theme-toggle{font-size:11px;padding:7px 9px}.login-theme{right:18px;top:16px}}
@media print{html,body,.card,.stat,.topbar,dialog,.ring div,.credit-metrics,th,td{background:white!important;color:#15243c!important}.theme-toggle,.login-theme{display:none!important}}

@media(max-width:480px){.account .private{display:none}.topbar{gap:8px}.topbar>div:first-child{min-width:0}.account .theme-toggle{white-space:nowrap;flex-shrink:0}}

/* Transparent brand: preserve original artwork; recolor only its wordmark. */
.sidebar .brand-logo-window,.loginaside .brand-logo-window{aspect-ratio:1577/997;position:relative;overflow:hidden}
.sidebar .jem-logo,.loginaside .jem-logo,[data-theme=dark] .sidebar .jem-logo,[data-theme=dark] .loginaside .jem-logo{width:100%;height:auto;display:block;transform:none;filter:none;mix-blend-mode:normal;background:transparent}
.jem-logo-theme-text{display:none;pointer-events:none}
[data-theme=dark] .brand-logo-window .jem-logo-theme-text{display:block;position:absolute;inset:0;width:100%;height:auto;filter:brightness(0) invert(1);clip-path:inset(66.5% 0 24% 47.5%)}
/* Case workspace: quiet panels, compact scrolling and side-by-side bureau review. */
.case-root{margin:18px 0}.case-root>.card,.case-root>.columns{margin-bottom:18px}.case-scroll{max-height:420px;overflow:auto;overscroll-behavior:contain}.case-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.case-stats .stat{padding:12px}.case-stats .stat strong{font-size:24px}.case-stats .stat span{font-size:11px}.case-growth{display:flex;align-items:flex-end;gap:8px;min-height:130px;overflow-x:auto}.case-growth>div{flex:1;min-width:25px;display:flex;flex-direction:column;align-items:center;gap:6px}.case-growth i{display:block;width:70%;min-width:16px;background:linear-gradient(#379755,#235fbe);border-radius:6px 6px 2px 2px}.case-growth small{font-size:10px}.case-sql{max-height:260px;overflow:auto;white-space:pre-wrap}.case-audit{margin:16px 0;padding:14px;background:var(--surface-alt);border-radius:16px}.ds-matrix{max-height:760px;overflow:auto;overscroll-behavior:contain;padding:4px}.ds-matrix>h2{font-size:17px;margin:20px 0 10px}.ds-matrix-group{margin:12px 0 20px}.ds-matrix-group>h3{position:sticky;left:0;font-size:15px}.ds-bureau-grid{display:grid;grid-template-columns:repeat(3,minmax(300px,1fr));gap:10px;min-width:950px}.ds-bureau-grid .ds-account{padding:14px;margin:0;border:1px solid var(--line);border-radius:15px;min-width:0;background:var(--surface-alt)}.ds-bureau-grid .ds-negative{background:#f9e4e4;border-color:#e5aaaa}.ds-bureau-grid .ds-positive{background:#e9f2ec;border-color:#b9d9c3}.ds-bureau-grid .formgrid{grid-template-columns:1fr}.ds-bureau-grid textarea{min-height:85px}.ds-bureau-grid label{font-size:12px}.ds-bureau-grid .ds-review{font-size:12px}.ds-no-bureau{padding:22px;background:var(--surface-alt);border-radius:15px;color:var(--muted)}[data-theme=dark] .ds-bureau-grid .ds-negative{background:#3b252e;border-color:#85535d}[data-theme=dark] .ds-bureau-grid .ds-positive{background:#19382e;border-color:#386b54}.ds-template-card[hidden]{display:none}#ds-draft-status{display:block;font-size:12px;color:var(--muted);margin:8px 0}@media(max-width:700px){.case-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-matrix{max-height:650px}.case-growth{gap:4px}}
.case-calendar{display:grid;grid-template-columns:repeat(7,minmax(90px,1fr));gap:5px;overflow-x:auto;margin:14px 0}.case-day{min-height:85px;background:var(--surface-alt);padding:8px;border:1px solid var(--line);border-radius:10px}.case-day small{display:block;font-size:10px;background:var(--selected);padding:5px;border-radius:6px;margin-top:5px}.case-today{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
/* Bandeja WhatsApp */
.wa-layout{display:grid;grid-template-columns:minmax(230px,30%) minmax(0,1fr);gap:20px;margin-top:20px}.wa-contacts{max-height:520px;overflow:auto}.wa-contact{display:block;width:100%;text-align:left;border-radius:14px;padding:14px;margin:8px 0;white-space:normal}.wa-contact span,.wa-contact small{display:block;overflow-wrap:anywhere}.wa-active{border-color:#379755;background:#37975518}.wa-bubbles{height:380px;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:12px;background:#235fbe08;border-radius:16px;margin:12px 0}.wa-bubble{align-self:flex-start;max-width:90%;background:#235fbe12;border:1px solid #235fbe20;border-radius:15px;padding:12px;overflow-wrap:anywhere}.wa-out{align-self:flex-end;background:#37975518;border-color:#37975535}.wa-bubble p{white-space:pre-wrap;margin:5px 0}.wa-code{max-height:250px;overflow:auto;white-space:pre-wrap;font-size:12px}.wa-thread{min-width:0}.wa-thread form small{display:block;margin-top:8px}.wa-card small{line-height:1.6}@media(max-width:760px){.wa-layout{grid-template-columns:1fr}.wa-contacts{max-height:220px}.wa-bubbles{height:330px}}

/* Compact channel inbox, shared by WhatsApp and Instagram. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.messages-hub{max-width:1280px;margin:auto}.messages-intro{margin:0 0 22px}.messages-intro h2{font-size:25px;margin:7px 0}.messages-intro p{color:var(--muted);font-size:14px;margin:0}.message-channel-tabs{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 14px;scrollbar-width:thin}.message-channel-tab{flex:1;min-width:210px;display:flex;gap:13px;align-items:center;text-align:left;padding:17px 20px;border-radius:18px;background:var(--surface);border:1px solid var(--line)}.message-channel-tab b,.message-channel-tab small{display:block}.message-channel-tab b{font-size:16px}.message-channel-tab small{font-size:12px;font-weight:400;margin-top:4px}.message-channel-tab.is-active{border-color:var(--accent);box-shadow:0 3px 12px #142c4710;background:var(--selected)}.message-channel-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-size:26px;flex-shrink:0}.message-channel-icon.wa{background:#37975520;color:var(--green)}.message-channel-icon.ig{background:#b251bd20;color:#b251bd}.channel-arrow{margin-left:auto;color:var(--muted)}.messages-hub [hidden]{display:none!important}.messages-hub .wa-card{--channel:#379755;border-radius:20px;padding:20px;overflow:hidden}.messages-hub .channel-ig{--channel:#b251bd}.inbox-heading{display:flex;gap:8px;align-items:center}.channel-dot{width:8px;height:8px;border-radius:50%;background:var(--channel)}.inbox-heading h2{margin:0;font-size:17px}.messages-hub .cardhead{margin-bottom:4px}.messages-hub .cardhead p{font-size:12px;margin:5px 0 0;color:var(--muted)}.messages-hub .cardhead button{font-size:12px;border-radius:30px}.messages-hub .wa-card>small{font-size:11px}.messages-hub .wa-layout{margin-top:18px;gap:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;grid-template-columns:minmax(230px,32%) minmax(0,1fr);min-height:520px}.inbox-directory{display:flex;flex-direction:column;min-width:0;background:var(--surface-alt);border-right:1px solid var(--line)}.inbox-directory-head{padding:17px 14px 12px}.inbox-directory-head h3{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin:0 0 12px}.inbox-directory-head h3>span{font-size:11px;border-radius:20px;background:var(--surface);padding:3px 8px;color:var(--muted)}.inbox-directory-head input{font-size:12px;border-radius:10px;width:100%;padding:11px}.messages-hub .wa-contacts{height:360px;max-height:360px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 8px 8px}.messages-hub .wa-contact{display:flex;align-items:flex-start;gap:10px;margin:3px 0;border:1px solid transparent;padding:12px 9px;border-radius:12px;background:transparent}.messages-hub .wa-contact:hover{background:var(--surface)}.messages-hub .wa-active{background:var(--surface);border-color:var(--channel);box-shadow:0 2px 8px #10243c08}.inbox-avatar{display:grid!important;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:var(--selected);color:var(--accent);font-size:13px;font-weight:700}.inbox-contact-body{min-width:0;flex:1;display:block}.inbox-contact-body b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messages-hub .inbox-contact-body small{font-size:10px;line-height:1.5;margin-top:3px;font-weight:400}.inbox-contact-body>span{font-size:12px;line-height:1.5;margin-top:6px;font-weight:400;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.inbox-list-footer{display:block;margin-top:auto;padding:10px 14px;border-top:1px solid var(--line);font-size:10px}.inbox-list-empty{padding:24px 12px;color:var(--muted);font-size:12px;line-height:1.7}.messages-hub .wa-thread{background:var(--surface);display:flex;flex-direction:column;min-width:0;min-height:520px}.inbox-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px;flex:1;min-height:420px}.inbox-empty-icon{width:66px;height:66px;border:1px solid var(--line);border-radius:24px;display:grid;place-items:center;font-size:28px;color:var(--channel);background:var(--surface-alt);margin-bottom:20px}.inbox-empty h3{font-size:18px;margin-bottom:8px}.inbox-empty p{max-width:290px;color:var(--muted);font-size:13px;line-height:1.7;margin-bottom:18px}.inbox-empty small{font-size:10px}.inbox-thread-head{display:flex;gap:10px;align-items:center;padding:15px 18px;border-bottom:1px solid var(--line)}.inbox-thread-head h3{font-size:14px;margin:0 0 2px;overflow-wrap:anywhere}.inbox-thread-head small{font-size:10px;overflow-wrap:anywhere}.messages-hub .wa-bubbles{flex:1;height:300px;min-height:220px;max-height:360px;border-radius:0;margin:0;padding:20px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;background:var(--page)}.messages-hub .wa-bubble{background:var(--surface);border-color:var(--line);border-radius:14px 14px 14px 3px;padding:11px 14px;max-width:88%;font-size:13px;box-shadow:0 2px 5px #12283d05}.messages-hub .wa-bubble small{font-size:9px}.messages-hub .wa-out{border-radius:14px 14px 3px 14px;background:var(--selected);border-color:var(--line)}.inbox-composer{padding:14px 18px;border-top:1px solid var(--line)}.inbox-composer label{font-size:11px}.inbox-composer textarea{resize:vertical;min-height:64px;max-height:130px;padding:10px;font-size:13px;border-radius:12px}.inbox-composer>button{float:right;border-radius:30px;font-size:12px;padding:9px 18px}.inbox-composer>small{font-size:10px;max-width:72%;line-height:1.6}.inbox-composer .error{font-size:11px;margin:4px 0}.inbox-setup{font-size:12px;margin:12px 0}.inbox-setup summary{cursor:pointer;font-weight:600}.messages-hub .wa-code{max-height:190px;overflow:auto}.messages-hub .wa-card>.notice{max-height:260px;overflow:auto;overscroll-behavior:contain}
@media(max-width:760px){.message-channel-tab{min-width:170px;padding:12px;gap:9px}.message-channel-icon{width:34px;height:34px;font-size:23px;border-radius:11px}.message-channel-tab b{font-size:14px}.message-channel-tab small{font-size:10px}.messages-hub .wa-card{padding:12px}.messages-hub .wa-layout{grid-template-columns:1fr;min-height:0}.inbox-directory{border-right:0;border-bottom:1px solid var(--line)}.messages-hub .wa-contacts{height:180px;max-height:180px}.inbox-directory-head{padding:12px}.inbox-directory-head h3{margin-bottom:8px}.messages-hub .wa-thread{min-height:350px}.messages-hub .wa-bubbles{height:270px;min-height:200px;max-height:320px;padding:12px}.inbox-empty{min-height:300px;padding:24px}.inbox-empty h3{font-size:16px}.inbox-composer{padding:12px}.messages-intro h2{font-size:21px}}
.messages-hub .inbox-composer>button{width:auto;min-width:110px;margin:5px 0 0 12px}.messages-hub .inbox-composer:after{content:'';display:block;clear:both}

/* Company identity uses the complete uploaded logo in both themes. */
.brand-logo-window{width:100%;max-width:220px;height:92px;overflow:visible}.brand-logo-window .jem-logo{position:static!important;width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important;filter:none!important}.brand-logo-window .jem-logo-theme-text{display:none!important}button.primary,.primary{background:var(--company-primary,#235FBE)}.brand-signature span{background:var(--company-secondary,#379755)}

/* Platform identity: transparent shield and native, theme-aware wordmark. */
.brand-logo-window.creditflow-brand{display:flex;align-items:center;gap:10px;max-width:280px;height:100px;overflow:visible}
.brand-logo-window.creditflow-brand .jem-logo{flex:0 0 76px!important;width:76px!important;height:92px!important;object-fit:contain!important;filter:none!important}
.creditflow-wordmark{min-width:0;display:flex;flex-direction:column;align-items:flex-start;line-height:1.04;color:#122946;letter-spacing:0}
.creditflow-wordmark .creditflow-jem{font-size:19px;font-weight:850;letter-spacing:3px;color:#235fbe;margin-bottom:5px}
.creditflow-wordmark strong{font-size:24px;font-weight:800;white-space:nowrap;letter-spacing:-1px}
.creditflow-wordmark strong span{color:#26884a}
.creditflow-wordmark small{font-size:10px;font-weight:750;letter-spacing:5px;margin-top:7px;color:#526780}
[data-theme="dark"] .creditflow-wordmark{color:#f3f7fc}
[data-theme="dark"] .creditflow-wordmark .creditflow-jem{color:#83b4ff}
[data-theme="dark"] .creditflow-wordmark strong span{color:#6fd69b}
[data-theme="dark"] .creditflow-wordmark small{color:#a9bfd9}
.sidebar .creditflow-brand{height:88px;gap:6px;max-width:100%}
.sidebar .creditflow-brand .jem-logo{flex-basis:53px!important;width:53px!important;height:72px!important}
.sidebar .creditflow-wordmark strong{font-size:18px;letter-spacing:-.7px}
.sidebar .creditflow-wordmark .creditflow-jem{font-size:15px;letter-spacing:2px}
.sidebar .creditflow-wordmark small{font-size:9px;letter-spacing:3px}
.creditflow-wordmark.company-wordmark{font-size:18px;font-weight:750;line-height:1.2;overflow-wrap:anywhere}
.custom-company-logo.creditflow-brand .jem-logo{flex:1!important;width:100%!important;height:100%!important}
.creditflow-brand [hidden]{display:none!important}
