@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');
body[data-portal-brand="wincredit"] {
  --ink:#152641; --text:#152641; --muted:#61738b; --line:#dce5ef;
  --bg:#f4f7fb; --tint:#edf7fb; --surface-soft:#f4f8fc;
  --green:#59c9dc; --green-dark:#126276; --lime:#59c9dc; --lime-dark:#126276; --teal:#101e38;
  --wincredit-navy:#101e38; --wincredit-cyan:#59c9dc;
  --title-font:'DM Serif Display',Georgia,serif;
  background:radial-gradient(ellipse at 80% 0%,#dceef6 0,transparent 45%),var(--bg);
}
body[data-portal-brand="wincredit"] :is(h1,h2) { font-weight:400;letter-spacing:-.025em; }
body[data-portal-brand="wincredit"] .wincredit-brand-lockup { display:grid;gap:5px;min-width:0;width:100%; }
body[data-portal-brand="wincredit"] .wincredit-wordmark { display:block;width:min(210px,100%);height:auto;object-fit:contain;border-radius:5px; }
body[data-portal-brand="wincredit"] .wincredit-brand-lockup small { margin:0;color:var(--muted); }
body[data-portal-brand="wincredit"] .crm-logo { padding:0; }
body[data-portal-brand="wincredit"] .pf-brand { width:230px; }
body[data-portal-brand="wincredit"] .pf-brand small { font-size:9px;letter-spacing:.14em; }
body[data-portal-brand="wincredit"] .crm-sidebar { background:var(--wincredit-navy);border-color:#203450; }
body[data-portal-brand="wincredit"] .crm-sidebar :is(.nav-caption,.sidebar-note p,.crm-logo small) { color:#a6bad2; }
body[data-portal-brand="wincredit"] .crm-sidebar :is(.sidebar-note strong,.sidebar-mark) { color:#59c9dc; }
body[data-portal-brand="wincredit"] .crm-sidebar .sidebar-note { border-color:#2b3e5a; }
body[data-portal-brand="wincredit"] .crm-navigation .nav-link { color:#d2deed; }
body[data-portal-brand="wincredit"] .crm-navigation .nav-link:hover { background:#1b3550;color:#fff; }
body[data-portal-brand="wincredit"] .crm-navigation :is(.nav-link.active,.nav-link[aria-current]) { background:#153d54;border-color:#22647a;color:#79d7e5; }
body[data-portal-brand="wincredit"] .crm-navigation .crm-create { background:#59c9dc;color:#102d42; }
body[data-portal-brand="wincredit"] .crm-navigation .crm-create:hover { background:#7cd8e6; }
body[data-portal-brand="wincredit"] :is(.primary,.primary-btn,.admin-btn) { background:#59c9dc;border-color:#43b6ca;color:#102d42; }
body[data-portal-brand="wincredit"] :is(.primary,.primary-btn,.admin-btn):hover:not(:disabled) { background:#7cd8e6;border-color:#35a8bd; }
body[data-portal-brand="wincredit"] :is(button,.button,a,input,select,textarea):focus-visible { outline:3px solid #20889f;outline-offset:3px; }
body[data-portal-brand="wincredit"] :is(input,select,textarea):focus { outline-color:#20889f; }
body[data-portal-brand="wincredit"] input:is([type=checkbox],[type=radio]) { accent-color:#16849c; }
body[data-portal-brand="wincredit"] :is(.workspace-heading>span,.eyebrow,.account,.user-chip) { color:#38617c; }
body[data-portal-brand="wincredit"] :is(.login-story,.hero-card) { background:radial-gradient(ellipse at 100% 100%,#16546b,transparent 75%),#101e38;border-color:#203f5b; }
body[data-portal-brand="wincredit"] .login-story .crm-logo small { color:#aec7dc; }
body[data-portal-brand="wincredit"] .login-story h2 { color:#fff; }
body[data-portal-brand="wincredit"] .login-story h2 span { color:#73d8e8; }
body[data-portal-brand="wincredit"] .login-story p { color:#bfd0e3; }
body[data-portal-brand="wincredit"] :is(.hero-card>.eyebrow,.hero-rotator-label,.hero-card .hero-rotator-note,.mini-stat span) { color:#b6d4e5; }
body[data-portal-brand="wincredit"] .hero-rotator-value { color:#73d8e8; }
body[data-portal-brand="wincredit"] .hero-card::after { border-color:#75cddb33;box-shadow:0 0 0 24px #75cddb08,0 0 0 48px #75cddb06; }
body[data-portal-brand="wincredit"] .login-orbit { border-color:#75cddb40;box-shadow:0 0 0 40px #75cddb08,0 0 0 80px #75cddb06; }
body[data-portal-brand="wincredit"].crm-login #submit { background:#59c9dc;color:#102d42; }
body[data-portal-brand="wincredit"].crm-login #submit:hover { background:#7cd8e6; }
body[data-portal-brand="wincredit"] :is(.chat-message.mine,.chat-bubble.mine) { background:#e6f5fa;border-color:#c6e3ed; }
body[data-portal-brand="wincredit"] .chat-page-top { background:#101e38; }
body[data-portal-brand="wincredit"] .chat-page-list { background:radial-gradient(circle at 15% 20%,#e1f0f6,transparent 60%),#f4f8fc; }
body[data-portal-brand="wincredit"] :is(.chat-topline>span,.header-count,.soft-badge,.collab-tag) { background:#e7f2f8;color:#365f7c; }
body[data-portal-brand="wincredit"] :is(.tile-header.tile-link:hover,.inquiry-card:hover) { background:#f3f8fc; }
body[data-portal-brand="wincredit"] :is(.app-card,.notary-card,.qa-item,.item-card,.metric-card,.empty,.upload,.collab-rules,.form-card,.client-detail,.detail-card,.history-sidebar,.lv-panel,.lv-finding) { background:#f4f8fc;border-color:#d4e2ee; }
body[data-portal-brand="wincredit"] .upload { border-color:#adc6dc; }
body[data-portal-brand="wincredit"] input[type=file]::file-selector-button { color:#245b79;border-color:#b9cede; }
body[data-portal-brand="wincredit"] :is(.message,.precontract-cta,.pf-private-workspace,#pf-admin-link-box) { background:#edf7fb;border-color:#b9d9e6;color:#244f6c; }
body[data-portal-brand="wincredit"] .pf-private-workspace p { color:#365f7c; }
body[data-portal-brand="wincredit"] .section-tabs button { background:#f4f8fc;border-color:#d4e2ee; }
body[data-portal-brand="wincredit"] .section-tabs button[aria-selected=true] { background:#101e38;border-color:#101e38; }
body[data-portal-brand="wincredit"] .section-tabs button[aria-selected=true] .section-step { color:#b6d4e5; }
body[data-portal-brand="wincredit"] .section-tabs button[aria-selected=true] .section-count { background:#59c9dc;color:#102d42; }
body[data-portal-brand="wincredit"] .process-track li[aria-current] { background:#edf7fb;border-color:#20889f;color:#245b79; }
body[data-portal-brand="wincredit"] table thead th { background:#edf4fa;color:#456580;border-color:#d3e1ed; }
body[data-portal-brand="wincredit"] table tbody tr:nth-child(odd) td { background:#fbfdff; }
body[data-portal-brand="wincredit"] table tbody tr:hover td { background:#f0f6fb; }
body[data-portal-brand="wincredit"] .contracts-table th.subhead { background:#e3eff7; }
body[data-portal-brand="wincredit"] #contracts-view .mini-panel { background:#f4f8fc;border-color:#d4e2ee; }
body[data-portal-brand="wincredit"] .modal-header,body[data-portal-brand="wincredit"] .modal-footer { background:#f5f9fd; }
body[data-portal-brand="wincredit"] .modal,body[data-portal-brand="wincredit"] dialog::backdrop { background:#101e3870; }
body[data-portal-brand="wincredit"] #lv-save-review { background:#59c9dc;color:#102d42; }
body[data-portal-brand="wincredit"] #check-submit,body[data-portal-brand="wincredit"] .pf-admin-card button.primary { background:#59c9dc;border-color:#43b6ca;color:#102d42; }
body[data-portal-brand="wincredit"] .lv-spinner { border-color:#cbe3ed;border-top-color:#20889f; }
body[data-portal-brand="wincredit"] .lv-viewer { background:#edf3f8; }
/* Decision outcomes, yellow evidence and fixed green calculator options stay semantic. */
@media(max-width:1000px) { body[data-portal-brand="wincredit"] .crm-logo { max-width:220px; } }
