/* Shared dark workspace for partner onboarding and the private CRM. */
html.private-area{color-scheme:dark}
html.private-area body{background:#0d1210;color:#edf2eb}
html.private-area body>header,html.private-area body>footer{background:#111a15;color:#edf2eb;border-color:#2b3a31}
html.private-area a{color:inherit}
html.private-area a.button,html.private-area button.button{color:#111711}
html.private-area .crm-v2{width:min(1540px,calc(100% - 32px))!important;max-width:none!important;margin:20px auto 80px!important;display:grid;grid-template-columns:minmax(210px,240px) minmax(0,1fr);align-items:start;gap:18px}
html.private-area .crm-v2__head{position:sticky;top:16px;display:block;grid-column:1;grid-row:1 / span 15;max-height:calc(100vh - 32px);overflow:auto;padding:22px;background:#172019;border:1px solid #34443a;border-radius:20px}
html.private-area .crm-v2__head h1{font-size:32px;line-height:1.03}
html.private-area .crm-v2__head .crm-tabs{display:grid;grid-template-columns:1fr;justify-content:stretch;gap:5px;margin:20px 0 0}
html.private-area .crm-v2__head .crm-tabs a{justify-content:flex-start;min-height:42px;padding:10px 12px!important;border:1px solid transparent;border-radius:10px;background:transparent;color:#c7d2c8;font-size:12px!important;text-align:left}
html.private-area .crm-v2__head .crm-tabs a:hover,html.private-area .crm-v2__head .crm-tabs a.is-active{background:#d8ff43;color:#111711;border-color:#d8ff43}
html.private-area .crm-v2>.crm-kpis,html.private-area .crm-v2>.crm-section{grid-column:2;min-width:0;margin:0}
html.private-area .crm-v2>.crm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
html.private-area .crm-v2>.crm-kpis article{background:#172019;color:#edf2eb;border:1px solid #34443a;border-radius:14px}
html.private-area .crm-v2 .crm-section{background:#172019;color:#edf2eb;border:1px solid #34443a;border-radius:20px;padding:clamp(18px,3vw,32px)}
html.private-area .crm-v2 .crm-section[hidden]{display:none!important}
html.private-area .crm-v2 [hidden]{display:none!important}
html.private-area .crm-v2 .crm-section-search{display:flex;align-items:center;gap:12px;margin:-6px 0 20px}
html.private-area .crm-v2 .crm-section-search input{flex:1;min-width:0;max-width:480px}
html.private-area .crm-v2 .crm-section-search span{color:#b8c8b8;font-size:12px;white-space:nowrap}
html.private-area .crm-v2 .crm-section__head{border-color:#34443a}
html.private-area .crm-v2 .crm-section__head .eyebrow,html.private-area .crm-v2 small,html.private-area .crm-v2 label{color:#aebdad}
html.private-area .crm-v2 :is(.crm-request,.crm-item,.crm-user360,.crm-create,.crm-legal-profile,.crm-referral-application,.withdrawal-card,.strategy-admin-item,.settings-block,.crm-subsection,.proposal-list article,.audit-list p,.crm-legal-profile dt,.crm-legal-profile dd){background:#202b23;color:#edf2eb;border-color:#3b4c3e}
html.private-area .crm-v2 :is(input:not([type=checkbox]),select,textarea){background:#101812;color:#edf2eb;border:1px solid #526454;border-radius:10px;min-height:42px;padding:10px 12px;font:inherit}
html.private-area .crm-v2 :is(input,select,textarea):focus-visible,html.private-area .referral-join :is(input,select,textarea):focus-visible{outline:2px solid #d8ff43;outline-offset:2px}
html.private-area .crm-v2 input::placeholder,html.private-area .crm-v2 textarea::placeholder{color:#a1afa2}
html.private-area .crm-v2 .crm-action{background:#d8ff43;color:#111711;border-color:#d8ff43}
html.private-area .crm-v2 .crm-action--edit{background:#334438;color:#f1f5ed;border-color:#526454}
html.private-area .crm-v2 .crm-action--delete,html.private-area .crm-v2 button.crm-action--delete.danger{background:#352322;color:#ffb9b2;border-color:#86534e}
html.private-area .crm-v2 :is(.crm-request,.crm-item,.crm-user360,.strategy-admin-item) {box-shadow:0 8px 24px rgba(0,0,0,.12)}
html.private-area .crm-v2 :is(.crm-request,.crm-item,.crm-user360) details>summary{min-height:44px}
html.private-area .crm-v2 .crm-user-management>h3,html.private-area .crm-v2 .crm-user-management>p{display:none}
html.private-area .crm-v2 .crm-user360__forms{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}
html.private-area .crm-v2 .crm-user360__forms>form,html.private-area .crm-v2 .crm-user360__forms>details{background:#172019;border:1px solid #3b4c3e;border-radius:12px;padding:14px}
html.private-area .crm-v2 .crm-user360__forms{display:block}
html.private-area .crm-v2 .crm-user-actions>summary{font-size:14px;font-weight:800;color:#d8ff43}
html.private-area .crm-v2 .crm-user360__action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;padding-top:14px}
html.private-area .crm-v2 .crm-user360__action-grid>form,html.private-area .crm-v2 .crm-user360__action-grid>details{display:grid;align-content:start;gap:10px;min-width:0;padding:14px;background:#202b23;border:1px solid #3b4c3e;border-radius:12px}
html.private-area .crm-v2 .crm-referral-application{padding:16px;border-radius:14px}
html.private-area .crm-v2 .referral-application-review{display:flex;flex-wrap:wrap;gap:8px}
html.private-area .crm-v2 .referral-application-review input{flex:1 1 220px}
html.private-area .crm-v2 .referral-application-review button{flex:0 1 150px}
html.private-area .crm-v2 .strategy-admin-list{display:grid;gap:12px}
html.private-area .crm-v2 .strategy-admin-item{border-radius:14px;padding:12px}
html.private-area .crm-v2 .strategy-admin-item>details>summary{padding:10px 12px}
html.private-area .crm-v2 .strategy-admin-item>details>form{margin:18px 0 0;max-width:180px}
html.private-area .crm-v2 .strategy-editor{display:grid;gap:12px;padding-top:14px}
html.private-area .crm-v2 .strategy-editor .strategy-language{background:#172019;border:1px solid #435646;border-radius:12px;padding:12px 14px}
html.private-area .crm-v2 .strategy-editor .strategy-language>summary{font-size:13px;font-weight:800}
html.private-area .crm-v2 .strategy-editor .strategy-language fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 0;padding:0;border:0}
html.private-area .crm-v2 .strategy-editor .strategy-language fieldset label:last-child{grid-column:1/-1}
html.private-area .crm-v2 .strategy-editor fieldset{border:1px solid #435646;border-radius:12px;margin:12px 0;padding:14px}
html.private-area .crm-v2 .audit-list{background:#34443a}
html.private-area .crm-v2 .crm-legal-profile dl{background:#34443a}
html.private-area .my-profile :is(.profile-heading,.profile-contact-card,.wallet-panel,.referral-dashboard,.referral-code-card,.referral-application,.profile-section,.profile-tool-card){background:#172019;color:#edf2eb;border-color:#34443a}
html.private-area .my-profile :is(input:not([type=checkbox]),select,textarea){background:#101812;color:#edf2eb;border:1px solid #526454}
html.private-area .my-profile :is(.profile-contact-preview,.wallet-panel__description,.referral-application p){color:#bfd0bf}
html.private-area .wallet-panel :is(.wallet-balance,.wallet-panel__history li,.wallet-withdrawal,.wallet-panel__payouts){background:#202b23;color:#edf2eb;border-color:#3b4c3e}
html.private-area .referral-legal-page>section,html.private-area .referral-agreement-document,html.private-area .referral-agreement-content section,html.private-area .referral-agreement-content>p{background:#172019;color:#edf2eb;border-color:#34443a}
html.private-area .referral-legal-page :is(input,select,textarea){background:#101812;color:#edf2eb;border-color:#526454}
html.private-area .referral-agreement-content p{color:#c6d1c5}
.referral-join{width:min(1040px,calc(100% - 36px));margin:34px auto 100px;color:#edf2eb}
.referral-join>header{padding:24px 0;background:none!important}
.referral-join h1{font-size:clamp(40px,6vw,72px);line-height:1;letter-spacing:-.06em;margin:8px 0 12px}
.referral-join>header p:last-child{color:#bfd0bf}
.referral-join__form{display:grid;gap:18px}
.referral-join__form>section{padding:clamp(20px,3vw,34px);background:#172019;border:1px solid #34443a;border-radius:20px}
.referral-join__form h2{margin:0 0 18px;font-size:clamp(24px,3vw,34px)}
.referral-join__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.referral-join__grid label{display:grid;gap:7px;color:#c9d6c9;font-weight:700}
.referral-join__grid .wide{grid-column:1/-1}
.referral-join__grid :is(input,select,textarea){width:100%;min-width:0;min-height:48px;padding:12px 14px;border:1px solid #526454;border-radius:10px;background:#101812;color:#edf2eb;font:inherit}
.referral-join__grid textarea{min-height:100px;resize:vertical}
.join-agreement{max-height:400px;overflow:auto;border:1px solid #526454;border-radius:12px;background:#101812;padding:18px}
.join-agreement[hidden]{display:none}
.join-agreement h3{margin:0 0 14px}
.join-agreement__text{line-height:1.55}
.join-agreement__text section{margin:0 0 18px}
.join-agreement__text h2{font-size:18px;margin:0 0 5px}
.referral-join__consent{display:flex;align-items:flex-start;gap:12px;margin-top:16px;line-height:1.5}
.referral-join__consent input{flex:0 0 20px;width:20px;height:20px;margin:2px 0 0}
.referral-join__submit{justify-self:end;min-height:50px;padding:12px 24px}
@media(max-width:1000px){html.private-area .crm-v2{grid-template-columns:1fr}html.private-area .crm-v2__head{position:static;grid-column:1;grid-row:auto;max-height:none}html.private-area .crm-v2__head .crm-tabs{display:flex;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}html.private-area .crm-v2__head .crm-tabs a{flex:0 0 auto;white-space:nowrap}html.private-area .crm-v2>.crm-kpis,html.private-area .crm-v2>.crm-section{grid-column:1}}
@media(max-width:700px){html.private-area .crm-v2{width:100%!important;gap:10px;margin:0 0 84px!important}html.private-area .crm-v2__head,html.private-area .crm-v2 .crm-section{border-radius:0;padding:18px 16px}html.private-area .crm-v2>.crm-kpis{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 12px}html.private-area .crm-v2__head .crm-tabs{display:flex!important;grid-template-columns:none!important;width:100%}html.private-area .crm-v2__head .crm-tabs a{font-size:12px!important}html.private-area .crm-v2 :is(.crm-request,.crm-item,.crm-user360){min-width:0}html.private-area .crm-v2 .crm-user360__forms{grid-template-columns:1fr}html.private-area .crm-v2 .referral-application-review button{flex:1 1 100%}.referral-join{width:100%;margin:0 0 80px}.referral-join>header{padding:24px 18px}.referral-join__form{gap:0}.referral-join__form>section{border-radius:0;border-left:0;border-right:0}.referral-join__grid{grid-template-columns:1fr}.referral-join__grid .wide{grid-column:auto}.referral-join__submit{justify-self:stretch;margin:18px}}
.partners-program{background:#111a14!important;color:#edf2eb!important;border:1px solid #34443a;border-radius:24px;padding:clamp(18px,3vw,36px)}
.partners-program :is(.partners-program__workspace,.partners-program__heading,.referral-dashboard,.referral-code-card,.referral-application,.partners-program__rank,.rank-card,.wallet-panel,.referral-profile-guide,.referral-activation){background:#172019!important;color:#edf2eb!important;border-color:#34443a!important}
.partners-program :is(p,small){color:#c5d1c4}
.partners-program :is(input,select,textarea){background:#101812!important;color:#edf2eb!important;border-color:#526454!important}
.partners-program .button{color:#111711!important}
html.private-area .wallet-withdrawal{display:grid;gap:12px;padding:18px;border:1px solid #3b4c3e;border-radius:14px}
html.private-area .wallet-withdrawal h3,html.private-area .wallet-withdrawal p{margin:0}
html.private-area .wallet-withdrawal form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html.private-area .wallet-withdrawal form label{display:grid;gap:7px}
html.private-area .wallet-withdrawal form button{grid-column:1/-1;justify-self:start}
html.private-area .wallet-withdrawal :is(input,textarea){width:100%;min-width:0;padding:11px;border:1px solid #526454;border-radius:10px;background:#101812;color:#edf2eb}
@media(max-width:700px){.partners-program{border-radius:0;padding:18px}.partners-program__workspace{min-width:0}html.private-area .wallet-withdrawal form,html.private-area .crm-v2 .strategy-editor .strategy-language fieldset{grid-template-columns:1fr}html.private-area .crm-v2 .strategy-editor .strategy-language fieldset label:last-child{grid-column:auto}html.private-area .wallet-withdrawal form button{grid-column:auto;width:100%}}

/* Stable two-column CRM layout: all panels live in one content column. */
html.private-area .crm-v2{grid-template-columns:minmax(218px,248px) minmax(0,1fr);gap:18px}
html.private-area .crm-v2__head{grid-column:1;grid-row:1;max-height:calc(100vh - 32px)}
html.private-area .crm-v2__content{grid-column:2;grid-row:1;display:grid;align-content:start;gap:16px;min-width:0}
html.private-area .crm-v2__content>.crm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}
html.private-area .crm-v2__content>.crm-kpis article{min-width:0;border:1px solid #34443a;border-radius:14px;background:#202b23;color:#edf2eb}
html.private-area .crm-v2__content>.crm-section{min-width:0;margin:0;padding:clamp(18px,3vw,32px);scroll-margin-top:110px;border:1px solid #34443a;border-radius:20px;background:#172019;color:#edf2eb}
html.private-area .crm-v2__content>.crm-section[hidden]{display:none!important}
html.private-area .crm-v2 :is(.crm-referral-applications,.crm-referral-history,.crm-contract-builder,.crm-contract-history,.crm-directory,.crm-agreement,.referral-agreement-admin,.crm-legal-assets,.crm-user-referred){background:#18231c!important;color:#edf2eb!important;border:1px solid #3b4c3e;border-radius:14px}
html.private-area .crm-v2 :is(.crm-referral-applications,.crm-contract-builder,.crm-directory){padding:clamp(16px,2vw,24px);margin:0 0 18px}
html.private-area .crm-v2 :is(.crm-referral-applications,.crm-contract-builder,.crm-directory) h3{color:#f0f4ed}
html.private-area .crm-v2 :is(.crm-user360,.crm-referral-application,.crm-agreement,.crm-contract-history li){background:#202b23!important;color:#edf2eb!important;border:1px solid #405144}
html.private-area .crm-v2 :is(.crm-user360,.crm-referral-application) :is(p,small){color:#bac9bc}
html.private-area .crm-v2 .crm-user360{overflow:hidden;margin:0;border-radius:14px}
html.private-area .crm-v2 .crm-user360>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;background:#202b23;color:#edf2eb;cursor:pointer}
html.private-area .crm-v2 .crm-user360[open]>summary{border-bottom:1px solid #405144;background:#28362b}
html.private-area .crm-v2 .crm-user360__identity{display:grid;min-width:0;gap:4px}
html.private-area .crm-v2 .crm-user360__identity b{font-size:17px;color:#f4f7f0}
html.private-area .crm-v2 .crm-user360__identity small{overflow-wrap:anywhere}
html.private-area .crm-v2 .crm-user360__badge{flex:none;padding:7px 10px;border-radius:999px;background:#344438;color:#d8ff43;font-size:11px;font-weight:800}
html.private-area .crm-v2 .crm-user360__body{display:grid;gap:16px;padding:18px}
html.private-area .crm-v2 .crm-user360__quick a{display:inline-flex;align-items:center;min-height:42px;padding:9px 13px;border:1px solid #617848;border-radius:9px;color:#d8ff43;text-decoration:none;font-size:12px;font-weight:800}
html.private-area .crm-v2 .crm-user360__stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;margin:0}
html.private-area .crm-v2 .crm-user360__stats span{min-width:0;padding:12px;background:#101812;color:#aebdad;border:1px solid #3b4c3e;border-radius:10px}
html.private-area .crm-v2 .crm-user360__stats b{overflow-wrap:anywhere;color:#f0f4ed}
html.private-area .crm-v2 .crm-user360__forms{display:block;min-width:0}
html.private-area .crm-v2 .crm-user-actions{padding:0;border:1px solid #435646;border-radius:12px;background:#172019}
html.private-area .crm-v2 .crm-user-actions>summary{padding:12px 16px;color:#d8ff43;cursor:pointer}
html.private-area .crm-v2 .crm-user360__action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;padding:12px}
html.private-area .crm-v2 .crm-user360__action-grid>form,html.private-area .crm-v2 .crm-user360__action-grid>details{display:grid;grid-template-columns:1fr;align-content:start;gap:10px;min-width:0;margin:0;padding:14px;border:1px solid #3b4c3e;border-radius:12px;background:#202b23}
html.private-area .crm-v2 .crm-user360__action-grid>details>form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
html.private-area .crm-v2 .crm-user360__action-grid :is(input,select,textarea,button){max-width:100%;min-width:0}
html.private-area .crm-v2 .crm-user360__action-grid .crm-action{width:auto;min-height:42px;white-space:normal}
html.private-area .crm-v2 .crm-user-referred{padding:12px}
html.private-area .crm-v2 .crm-user-referred summary{cursor:pointer;color:#d8ff43}
html.private-area .crm-v2 .crm-user-referred ul{margin:12px 0 0;padding-left:20px}
html.private-area .crm-v2 .crm-section__intro{margin:0 0 20px;color:#bac9bc;line-height:1.5}
html.private-area .crm-v2 .crm-directory__filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(170px,1fr) auto;align-items:end;gap:12px;margin:0 0 12px;padding:0;border:0;background:transparent}
html.private-area .crm-v2 .crm-directory__filters label{display:grid;gap:7px;font-weight:750}
html.private-area .crm-v2 .crm-directory__filters :is(input,select){width:100%;min-width:0}
html.private-area .crm-v2 .crm-directory__count{margin:0 0 14px;color:#aebdad;font-size:12px}
html.private-area .crm-v2 .crm-directory__list{display:grid;gap:10px}
html.private-area .crm-v2 .crm-directory__pages{display:flex;gap:10px;margin-top:16px}
html.private-area .crm-v2 .crm-directory__pages a{padding:9px 13px;border:1px solid #526454;border-radius:9px;color:#d8ff43;text-decoration:none}
html.private-area .crm-v2 .crm-contract-builder{display:grid;gap:16px}
html.private-area .crm-v2 .crm-contract-builder p{color:#b8c8b8;line-height:1.5}
html.private-area .crm-v2 .crm-contract-link-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;border:0;background:transparent}
html.private-area .crm-v2 .crm-contract-link-form>label{display:grid;gap:7px}
html.private-area .crm-v2 .crm-contract-link-form>details,html.private-area .crm-v2 .crm-contract-link-result{grid-column:1/-1}
html.private-area .crm-v2 .crm-contract-link-form>details{padding:12px;border:1px solid #405144;border-radius:10px}
html.private-area .crm-v2 .crm-contract-link-form>details[open]{display:grid;gap:12px}
html.private-area .crm-v2 .crm-contract-link-form>details label{display:grid;gap:7px;margin-top:12px}
html.private-area .crm-v2 .crm-contract-translations{margin-top:14px;padding:12px;border:1px solid #405144;border-radius:10px;background:#172019}
html.private-area .crm-v2 .crm-contract-link-result label{display:grid;gap:8px;padding:12px;border:1px solid #78993b;border-radius:10px;background:#22311f;color:#edf2eb}
html.private-area .crm-v2 .crm-contract-link-result input{width:100%}
html.private-area .crm-v2 .crm-contract-link-result button{justify-self:start;padding:8px 12px;border:1px solid #d8ff43;border-radius:8px;background:#d8ff43;color:#111711}
html.private-area .crm-v2 .crm-contract-history{padding:12px}
html.private-area .crm-v2 .crm-contract-history ul{display:grid;gap:8px;margin:12px 0 0;padding:0;list-style:none}
html.private-area .crm-v2 .crm-contract-history li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:10px}
html.private-area .crm-v2 .crm-contract-history li span{display:grid;gap:4px}
html.private-area .crm-v2 .crm-contract-history li em{color:#d8ff43;font-style:normal}
html.private-area .crm-v2 .crm-partners-section .settings-block{margin:0 0 18px;padding:18px;border:1px solid #3b4c3e;border-radius:14px;background:#18231c;color:#edf2eb}
html.private-area .crm-v2 .crm-partners-section .settings-block>form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;background:#202b23;color:#edf2eb}
html.private-area .crm-v2 .crm-partners-section .settings-block :is(details,form,textarea,input,select){max-width:100%;min-width:0}
html.private-area .crm-v2 :is(.crm-legal-profile,.crm-legal-profile__details,.crm-legal-editor,.crm-legal-review,.crm-agreement form){background:#18231c!important;color:#edf2eb!important;border-color:#405144!important}
html.private-area .crm-v2 :is(.crm-legal-profile,.crm-agreement,.crm-referral-history) :is(summary,dt,dd){color:#edf2eb}
html.private-area .crm-v2 :is(.crm-agreement textarea,.crm-contract-link-form textarea){min-height:160px}
html.private-area .referral-invitation-result{width:min(800px,calc(100% - 32px));margin:50px auto;padding:28px;border:1px solid #405144;border-radius:18px;background:#172019;color:#edf2eb}
html.private-area .referral-invitation-result input{width:100%;padding:12px;border:1px solid #526454;border-radius:8px;background:#101812;color:#edf2eb}
html.private-area .referral-legal-page :is(h1,h2,h3,label,li,dt,dd){color:#edf2eb}
html.private-area .referral-legal-page :is(.legal-truth-confirmation,.legal-documents li,.legal-documents form){background:#202b23!important;color:#edf2eb!important;border-color:#405144!important}
html.private-area .referral-legal-page :is(input:not([type=checkbox]),select,textarea){background:#101812!important;color:#edf2eb!important;border-color:#526454!important}
@media(max-width:1100px){html.private-area .crm-v2{grid-template-columns:1fr}html.private-area .crm-v2__head{position:static;grid-column:1;grid-row:1;max-height:none}html.private-area .crm-v2__content{grid-column:1;grid-row:2}html.private-area .crm-v2__content>.crm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){html.private-area .crm-v2{width:100%!important;margin:0 0 80px!important;gap:0}html.private-area .crm-v2__head{border-radius:0}html.private-area .crm-v2__content{gap:10px}html.private-area .crm-v2__content>.crm-kpis{margin:12px}html.private-area .crm-v2__content>.crm-section{border-radius:0;padding:18px 14px}html.private-area .crm-v2 .crm-directory__filters,html.private-area .crm-v2 .crm-contract-link-form,html.private-area .crm-v2 .crm-user360__action-grid,html.private-area .crm-v2 .crm-user360__action-grid>details>form{grid-template-columns:1fr}html.private-area .crm-v2 .crm-user360>summary{align-items:flex-start;flex-direction:column}html.private-area .crm-v2 .crm-user360__body{padding:12px}html.private-area .crm-v2 .crm-contract-history li{align-items:flex-start;flex-direction:column}html.private-area .crm-v2 .crm-referral-application__head{flex-direction:column}}
@media(max-width:700px){html.private-area .crm-v2{max-width:100vw!important;min-width:0!important;grid-template-columns:minmax(0,1fr)!important;overflow:hidden!important}html.private-area .crm-v2__head,html.private-area .crm-v2__content{width:100%;max-width:100%;min-width:0;box-sizing:border-box}html.private-area .crm-v2__content{grid-template-columns:minmax(0,1fr)}html.private-area .crm-v2__content>.crm-kpis{width:calc(100% - 24px);max-width:calc(100% - 24px);grid-template-columns:repeat(2,minmax(0,1fr))!important;box-sizing:border-box}html.private-area .crm-v2__content>.crm-section{width:100%;max-width:100%;box-sizing:border-box}html.private-area .crm-v2__content>.crm-kpis article{min-width:0;overflow:hidden}html.private-area body>header{grid-template-columns:minmax(78px,1fr) minmax(0,1.4fr) 34px!important;gap:6px!important}html.private-area body>header .account>.profile-account-controls{width:100%!important;max-width:none!important}html.private-area body>header .social-links{display:none!important}}

html.private-area .referral-contract-notice{width:min(720px,calc(100% - 32px));margin:clamp(30px,7vw,90px) auto 110px}
html.private-area .referral-contract-notice article{padding:clamp(26px,5vw,52px);border:1px solid #405144;border-radius:22px;background:radial-gradient(circle at 94% 0,rgba(216,255,67,.12),transparent 33%),#172019;color:#edf2eb;box-shadow:0 24px 70px rgba(0,0,0,.22)}
html.private-area .referral-contract-notice .eyebrow{color:#adbdaf}
html.private-area .referral-contract-notice__mark{display:grid;place-items:center;width:62px;height:62px;margin:22px 0;border:1px solid #90ac55;border-radius:18px;background:#d8ff43;color:#111711;font-size:38px;font-weight:900}
html.private-area .referral-contract-notice h1{margin:0 0 16px;font-size:clamp(36px,5vw,60px);line-height:1;letter-spacing:-.06em}
html.private-area .referral-contract-notice article>p:not(.eyebrow){max-width:570px;color:#c4d0c4;line-height:1.65}
html.private-area .referral-contract-notice__actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:28px}
html.private-area .referral-contract-notice__actions :is(.button,button,.referral-contract-notice__secondary){display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border-radius:10px;font:800 13px/1.3 Arial,sans-serif;text-decoration:none;cursor:pointer}
html.private-area .referral-contract-notice__actions .button{background:#d8ff43;color:#111711}
html.private-area .referral-contract-notice__actions :is(button,.referral-contract-notice__secondary){border:1px solid #61765f;background:#253128;color:#edf2eb}
html.private-area .referral-contract-notice__actions form{margin:0}
@media(max-width:700px){html.private-area .referral-contract-notice{width:calc(100% - 24px);margin:22px auto 100px}html.private-area .referral-contract-notice article{padding:24px 20px}html.private-area .referral-contract-notice__actions{display:grid}html.private-area .referral-contract-notice__actions :is(.button,button,.referral-contract-notice__secondary),html.private-area .referral-contract-notice__actions form{width:100%}}

html.private-area .referral-eds-page .referral-agreement-document{background:#172019;border-color:#405144;color:#edf2eb}
html.private-area .referral-eds-page .referral-agreement-content{background:#405144}
html.private-area .referral-eds-page .referral-agreement-content :is(section,p){background:#202b23;color:#dce6da}
html.private-area .referral-eds-page .referral-agreement-content :is(h2,h3){color:#f2f7ee}
html.private-area .referral-eds-actions{display:grid;justify-items:start;gap:16px;padding:clamp(20px,4vw,36px);background:#172019;color:#edf2eb}
html.private-area .referral-eds-actions p{margin:0;line-height:1.6;color:#c7d7c7}
html.private-area .referral-eds-actions .button{max-width:100%}
html.private-area .referral-eds-actions button:disabled{opacity:.45;cursor:not-allowed}
html.private-area .referral-eds-confirm{display:flex;align-items:flex-start;gap:12px;line-height:1.45}
html.private-area .referral-eds-confirm input{flex:none;width:20px;height:20px;margin:0}
html.private-area #eds-status.is-error{color:#ffb5ad}
html.private-area .legal-document-referral--eds{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #405144;border-radius:12px;padding:14px;background:#1d2920;color:#edf2eb}
html.private-area .legal-document-referral__files{display:flex;flex-wrap:wrap;gap:8px}
html.private-area .legal-document-referral__files a{display:inline-flex;padding:9px 12px;border:1px solid #78993b;border-radius:8px;color:#d8ff43;text-decoration:none}
@media(max-width:700px){html.private-area .referral-eds-actions{justify-items:stretch}html.private-area .legal-document-referral--eds{align-items:stretch;flex-direction:column}}

/* Personal agreement links: readable on desktop, tablet and narrow phones. */
html.private-area .crm-v2 .crm-contract-builder,html.private-area .crm-v2 .crm-contract-builder *{min-width:0;box-sizing:border-box}
html.private-area .crm-v2 .crm-contract-link-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}
html.private-area .crm-v2 .crm-contract-link-form>label{min-width:0;overflow-wrap:anywhere}
html.private-area .crm-v2 .crm-contract-link-form :is(input,select,textarea){width:100%;max-width:100%;min-width:0;color:#edf2eb;background:#101812;border:1px solid #526454;border-radius:10px}
html.private-area .crm-v2 .crm-contract-link-form :is(input,select,textarea):focus-visible{outline:2px solid #d8ff43;outline-offset:2px}
html.private-area .crm-v2 .crm-contract-link-form .crm-signer-iin-field[hidden]{display:none!important}
html.private-area .crm-v2 .crm-contract-link-form .crm-signer-iin-field small{color:#b8c8b8;font-weight:500}
html.private-area .crm-v2 .crm-signing-methods{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;border:0}
html.private-area .crm-v2 .crm-signing-methods legend{margin-bottom:10px;color:#f0f4ed;font-weight:800}
html.private-area .crm-v2 .crm-signing-method{display:flex;align-items:flex-start;gap:12px;min-height:112px;padding:16px;border:1px solid #526454;border-radius:14px;background:#202b23;color:#edf2eb;cursor:pointer}
html.private-area .crm-v2 .crm-signing-method:has(input:checked){border-color:#d8ff43;background:#25351f;box-shadow:0 0 0 1px #d8ff43 inset}
html.private-area .crm-v2 .crm-signing-method input{width:20px;height:20px;flex:none;margin:2px 0 0;accent-color:#d8ff43}
html.private-area .crm-v2 .crm-signing-method span{display:grid;gap:7px;min-width:0}
html.private-area .crm-v2 .crm-signing-method b{color:#f3f7ee;font-size:15px}
html.private-area .crm-v2 .crm-signing-method small{color:#b8c8b8;font-size:12px;line-height:1.5}
html.private-area .crm-v2 .crm-contract-custom,html.private-area .crm-v2 .crm-signing-footnote,html.private-area .crm-v2 .crm-contract-link-result{grid-column:1/-1}
html.private-area .crm-v2 .crm-signing-footnote{margin:0;padding:12px 14px;border:1px solid #405144;border-radius:10px;background:#202b23;color:#c7d4c5;font-size:12px;line-height:1.55}
html.private-area .crm-v2 .crm-signing-warning{margin:0;padding:12px 14px;border:1px solid #a6824c;border-radius:10px;background:#382e20;color:#f8dfb0;line-height:1.5}
html.private-area .crm-v2 .crm-contract-link-form>button[type=submit]{justify-self:start;min-height:46px;white-space:normal}
html.private-area .crm-v2 .crm-contract-link-result{display:block;overflow-wrap:anywhere}
html.private-area .crm-v2 .crm-contract-link-result label{min-width:0;overflow:hidden}
html.private-area .crm-v2 .crm-contract-link-result input{min-width:0;text-overflow:ellipsis}
html.private-area .crm-v2 .crm-contract-history li{min-width:0;flex-wrap:wrap;overflow-wrap:anywhere}
html.private-area .crm-v2 .crm-contract-history li>span:first-child{flex:1 1 220px;min-width:0}
html.private-area .crm-v2 .crm-contract-history__files{display:flex!important;flex-wrap:wrap;gap:8px}
html.private-area .crm-v2 .crm-contract-history__files a{padding:8px 10px;border:1px solid #526454;border-radius:8px;color:#d8ff43;text-decoration:none}
html.private-area .referral-invitation-result{box-sizing:border-box;overflow-wrap:anywhere}

html.private-area .referral-agreement-page{width:min(900px,calc(100% - 48px));max-width:100%;margin:clamp(20px,4vw,60px) auto 110px;box-sizing:border-box}
html.private-area .referral-agreement-document{min-width:0;overflow:hidden;background:#172019;border-color:#405144;color:#edf2eb}
html.private-area .referral-agreement-document__head{padding:clamp(24px,4vw,48px)!important;overflow-wrap:anywhere}
html.private-area .referral-agreement-document__head h1{max-width:100%;font-size:clamp(30px,4.5vw,54px);line-height:1.06;overflow-wrap:anywhere}
html.private-area .referral-agreement-document__head p{max-width:100%;line-height:1.6;overflow-wrap:anywhere}
html.private-area .referral-agreement-document__head code{display:inline;word-break:break-all;color:#d8ff43}
html.private-area .referral-agreement-content{display:block;background:#202b23}
html.private-area .referral-agreement-content :is(section,p){box-sizing:border-box;margin:0;padding:clamp(20px,3vw,32px);border-bottom:1px solid #405144;background:#202b23;color:#dce6da;line-height:1.7;overflow-wrap:anywhere}
html.private-area .referral-agreement-content section p{padding:0;border:0}
html.private-area .referral-agreement-content :is(h2,h3){color:#f2f7ee;line-height:1.25;overflow-wrap:anywhere}
html.private-area .agreement-accept{position:static;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:clamp(20px,3vw,32px);background:#25351f;color:#edf2eb;box-shadow:none}
html.private-area .agreement-accept label{align-items:flex-start;min-width:0;line-height:1.5}
html.private-area .agreement-accept input{flex:none;margin:2px 0 0;accent-color:#d8ff43}
html.private-area .agreement-accept button{min-height:46px;white-space:normal}
html.private-area .referral-agreement-page,html.private-area .referral-join{font-family:Arial,Helvetica,sans-serif}
html.private-area .referral-agreement-content{font-family:Arial,Helvetica,sans-serif}
html.private-area .referral-otp{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px 18px;padding:18px;border:1px solid #536551;border-radius:14px;background:#142018;color:#edf2eb;min-width:0}
html.private-area .referral-otp p{grid-column:1/-1;margin:0;color:#c7d5c7;line-height:1.5}
html.private-area .referral-otp .referral-otp__send{grid-column:2;grid-row:2;min-height:46px;padding:10px 16px;border:1px solid #d8ff43;border-radius:9px;background:transparent;color:#d8ff43;font:700 14px Arial,Helvetica,sans-serif;cursor:pointer}
html.private-area .referral-otp .referral-otp__send:disabled{opacity:.6;cursor:wait}
html.private-area .referral-otp .referral-otp__code{grid-column:1;grid-row:2;display:grid;gap:7px;min-width:0;color:#edf2eb;font:700 14px Arial,Helvetica,sans-serif}
html.private-area .referral-otp .referral-otp__code input{display:block;width:100%;max-width:240px;min-width:0;min-height:46px;margin:0;padding:10px 12px;border:1px solid #728574;border-radius:9px;background:#0d1710;color:#fff;font:600 18px Arial,Helvetica,sans-serif;letter-spacing:.18em;box-sizing:border-box}
html.private-area .referral-otp .referral-otp__status{grid-column:1/-1;font-size:13px}
html.private-area .referral-otp .referral-otp__status.is-error{color:#ffb9ad}
html.private-area .referral-join__form .referral-otp{margin-top:20px}
html.private-area .agreement-accept.js-referral-otp>label:first-of-type{grid-column:1/-1}
@media(max-width:560px){html.private-area .referral-otp{grid-template-columns:minmax(0,1fr);padding:14px}html.private-area .referral-otp .referral-otp__code,html.private-area .referral-otp .referral-otp__send{grid-column:1;grid-row:auto}html.private-area .referral-otp .referral-otp__code input{max-width:none}html.private-area .referral-otp .referral-otp__send{width:100%}}
html.private-area .referral-signing-info{padding:16px clamp(20px,3vw,32px);border-top:1px solid #405144;background:#1c281f;color:#c9d8c7;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
html.private-area .referral-signing-info a{color:#d8ff43}
html.private-area .referral-eds-actions{min-width:0;box-sizing:border-box}
html.private-area .referral-eds-actions :is(a.button,button.button){display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;text-align:center;white-space:normal;overflow-wrap:anywhere}
html.private-area .legal-document-referral--eds{min-width:0;overflow-wrap:anywhere}
html.private-area .legal-document-referral--eds>span:first-child{min-width:0}
html.private-area .legal-document-referral__files a{min-height:42px;align-items:center}
@media(max-width:800px){html.private-area .crm-v2 .crm-signing-methods{grid-template-columns:minmax(0,1fr)}html.private-area .agreement-accept{grid-template-columns:minmax(0,1fr)}html.private-area .agreement-accept button{justify-self:start}}
@media(max-width:600px){html.private-area .crm-v2 .crm-contract-link-form{grid-template-columns:minmax(0,1fr)}html.private-area .crm-v2 .crm-contract-link-form>button[type=submit],html.private-area .crm-v2 .crm-contract-link-result button{width:100%;justify-content:center}html.private-area .referral-agreement-page{width:100%;margin:0 0 calc(82px + env(safe-area-inset-bottom))}html.private-area .referral-agreement-document{border-right:0;border-left:0;border-radius:0}html.private-area .referral-agreement-document__head{padding:24px 18px!important}html.private-area .referral-agreement-content :is(section,p){padding:20px 18px}html.private-area .referral-agreement-content section p{padding:0}html.private-area .agreement-accept{padding:20px 18px calc(20px + env(safe-area-inset-bottom))}html.private-area .agreement-accept button,html.private-area .referral-eds-actions :is(a.button,button.button){width:100%}html.private-area .referral-eds-actions{padding:20px 18px}html.private-area .referral-contract-notice__actions{grid-template-columns:minmax(0,1fr)}html.private-area .referral-contract-notice__actions :is(a,button){overflow-wrap:anywhere}html.private-area .referral-invitation-result{width:100%;margin:0 0 82px;border-right:0;border-left:0;border-radius:0;padding:24px 18px}html.private-area .legal-document-referral__files{width:100%}html.private-area .legal-document-referral__files a{flex:1;justify-content:center}}

/* Universal desktop command centre: full labels, roomy actions, one content rail. */
@media(min-width:1101px){
  html.private-area .crm-v2{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;width:min(1580px,calc(100% - 36px))!important}
  html.private-area .crm-v2__head{position:sticky;z-index:18;top:10px;display:grid;grid-template-columns:220px minmax(0,1fr);grid-column:1;grid-row:1;align-items:center;gap:18px;width:100%;max-height:none;padding:15px 18px;border-radius:22px;background:rgba(18,28,22,.96);box-shadow:0 18px 52px rgba(0,0,0,.25);backdrop-filter:blur(14px)}
  html.private-area .crm-v2__title h1{margin:3px 0 6px;font-size:27px}
  html.private-area .crm-v2__head .crm-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(142px,1fr));gap:7px;margin:0}
  html.private-area .crm-v2__head .crm-tabs a{display:flex;min-width:0;min-height:46px;align-items:center;justify-content:center;padding:9px 11px!important;border:1px solid #3e5143;border-radius:999px;background:#1e2a22;color:#dce6dc;font-size:11px!important;line-height:1.25;text-align:center;white-space:normal}
  html.private-area .crm-v2__head .crm-tabs a:hover,html.private-area .crm-v2__head .crm-tabs a.is-active{border-color:#d8ff43;background:#d8ff43;color:#101510;transform:translateY(-1px)}
  html.private-area .crm-v2__content{grid-column:1;grid-row:2;width:100%}
}
html.private-area .crm-v2 :is(button,.crm-action,input[type=submit]){min-width:max-content;min-height:42px;padding:10px 15px;white-space:normal;line-height:1.25}
html.private-area .crm-v2 :is(.crm-unified-card__actions,.referral-application-review,.proposal-editor-actions){align-items:stretch;gap:9px}
html.private-area .crm-v2 :is(.crm-unified-card__actions,.referral-application-review)>:is(form,button,a){flex:1 1 150px;min-width:140px}
html.private-area .crm-v2 :is(.crm-unified-card__actions,.referral-application-review)>form>button{width:100%}

.crm-referral-discount-policy{display:grid;gap:14px;margin:6px 0 0;padding:18px;border:1px solid #405144;border-radius:15px;background:#18231c}
.crm-referral-discount-policy legend{padding:0 8px;color:#f0f5ef;font-size:15px;font-weight:900}
.crm-referral-discount-policy>p{max-width:900px;margin:0;color:#aebcb0;font-size:12px;line-height:1.55}
.crm-referral-discount-policy__mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.crm-referral-discount-tiers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.crm-referral-discount-tier{display:grid;grid-template-columns:38px minmax(0,1fr) minmax(100px,.55fr);align-items:end;gap:9px;padding:11px;border:1px solid #394a3e;border-radius:11px;background:#101812}
.crm-referral-discount-tier>b{display:grid;width:32px;height:32px;place-items:center;border:1px solid #526454;border-radius:50%;color:#d8ff43;font-size:10px}
.crm-referral-discount-tier label{min-width:0}
@media(max-width:700px){
  .crm-referral-discount-policy{padding:14px 11px}
  .crm-referral-discount-policy__mode,.crm-referral-discount-tiers{grid-template-columns:1fr}
  .crm-referral-discount-tier{grid-template-columns:34px minmax(0,1fr)}
  .crm-referral-discount-tier label:last-child{grid-column:2}
  html.private-area .crm-v2 :is(button,.crm-action,input[type=submit]){min-width:0;width:100%}
}

/* CRM workspace 2026: BSsupply dark dashboard. */
html.private-area body:has(>main.crm-v2){margin:0;background:#09100c;color:#dce7dc}
html.private-area body:has(>main.crm-v2)>header,
html.private-area body:has(>main.crm-v2)>footer,
html.private-area body:has(>main.crm-v2)>.mobile-bottom-nav,
html.private-area body:has(>main.crm-v2)>.mobile-nav-sheet,
html.private-area body:has(>main.crm-v2)>.mobile-nav-backdrop{display:none!important}
html.private-area .crm-v2{
  --crm-bg:#09100c;
  --crm-sidebar:#0d1711;
  --crm-panel:#121d16;
  --crm-panel-2:#18251c;
  --crm-border:#2c4032;
  --crm-acid:#ceff32;
  --crm-acid-soft:#a9d22e;
  --crm-text:#dce7dc;
  --crm-muted:#8fa092;
  display:grid!important;
  grid-template-columns:264px minmax(0,1fr)!important;
  align-items:stretch!important;
  gap:0!important;
  width:100%!important;
  min-height:100vh;
  margin:0!important;
  background:var(--crm-bg);
}
html.private-area .crm-v2__head{
  position:sticky!important;
  z-index:40!important;
  top:0!important;
  grid-column:1!important;
  grid-row:1!important;
  display:flex!important;
  flex-direction:column;
  width:264px!important;
  height:100vh;
  max-height:100vh!important;
  padding:22px 16px 18px!important;
  overflow:auto;
  border:0!important;
  border-right:1px solid var(--crm-border)!important;
  border-radius:0!important;
  background:linear-gradient(180deg,#101b14 0%,#0b130f 100%)!important;
  box-shadow:18px 0 55px rgba(0,0,0,.18)!important;
  box-sizing:border-box;
}
html.private-area .crm-v2__title{display:flex;align-items:center;gap:13px;padding:0 8px 20px;border-bottom:1px solid var(--crm-border)}
html.private-area .crm-v2__brand{display:grid;place-items:center;width:46px;height:46px;flex:none;border:1px solid #6d8730;border-radius:14px;background:var(--crm-acid);color:#10160f!important;text-decoration:none;box-shadow:0 10px 30px rgba(206,255,50,.12)}
html.private-area .crm-v2__brand span{font-size:18px;font-weight:950;letter-spacing:-.08em}
html.private-area .crm-v2__brand b{margin-top:-8px;font-size:7px;font-weight:800;letter-spacing:-.04em}
html.private-area .crm-v2__title .eyebrow{margin:0;color:#728276;font-size:8px;letter-spacing:.2em}
html.private-area .crm-v2__title h1{margin:2px 0 0!important;color:var(--crm-text);font-size:25px!important;line-height:1!important;letter-spacing:-.05em}
html.private-area .crm-v2__head .crm-tabs{display:flex!important;flex-direction:column;gap:3px!important;width:100%;margin:18px 0!important;overflow:visible!important}
html.private-area .crm-v2__head .crm-tabs .crm-nav-group{display:block;margin:15px 12px 6px;color:#637267;font-size:9px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
html.private-area .crm-v2__head .crm-tabs .crm-nav-group:first-child{margin-top:0}
html.private-area .crm-v2__head .crm-tabs a{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr) auto!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:9px!important;
  min-width:0!important;
  min-height:42px!important;
  padding:8px 11px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#9eafa1!important;
  font-size:12px!important;
  font-weight:720!important;
  line-height:1.2!important;
  text-align:left!important;
  text-decoration:none;
  white-space:normal!important;
  transform:none!important;
  box-sizing:border-box;
}
html.private-area .crm-v2__head .crm-tabs a i{display:grid;width:27px;height:27px;place-items:center;border:1px solid #2b3d30;border-radius:8px;background:#132018;color:#819184;font-style:normal;font-size:13px;transition:.2s ease}
html.private-area .crm-v2__head .crm-tabs a span{min-width:0;overflow-wrap:anywhere}
html.private-area .crm-v2__head .crm-tabs a em{display:grid;min-width:22px;height:22px;padding:0 5px;place-items:center;border-radius:999px;background:#28372c;color:#b8c6b9;font-style:normal;font-size:9px}
html.private-area .crm-v2__head .crm-tabs a:hover{border-color:#35483a!important;background:#16231a!important;color:#dce7dc!important}
html.private-area .crm-v2__head .crm-tabs a.is-active{border-color:#53672a!important;background:linear-gradient(90deg,#27371c,#1a291c)!important;color:var(--crm-acid)!important;box-shadow:inset 3px 0 0 var(--crm-acid)}
html.private-area .crm-v2__head .crm-tabs a.is-active i{border-color:#789631;background:var(--crm-acid);color:#11170f}
html.private-area .crm-v2__head .crm-tabs a.is-active em{background:var(--crm-acid);color:#11170f}
html.private-area .crm-sidebar-profile{display:flex;align-items:center;gap:10px;margin-top:auto;padding:14px 9px 0;border-top:1px solid var(--crm-border)}
html.private-area .crm-sidebar-profile>span,
html.private-area .crm-workbar__identity>span{display:grid;width:36px;height:36px;flex:none;place-items:center;border:1px solid #5b7130;border-radius:50%;background:#24301c;color:var(--crm-acid);font-size:12px;font-weight:900}
html.private-area .crm-sidebar-profile div,
html.private-area .crm-workbar__identity div{display:grid;min-width:0;gap:2px}
html.private-area .crm-sidebar-profile b,
html.private-area .crm-workbar__identity b{overflow:hidden;color:#dce7dc;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
html.private-area .crm-sidebar-profile small,
html.private-area .crm-workbar__identity small{color:#718176;font-size:9px}
html.private-area .crm-sidebar-profile .crm-version{display:flex;gap:4px;margin:0;color:#718176;font-size:9px}
html.private-area .crm-sidebar-profile .crm-version b{color:var(--crm-acid);font-size:9px}
html.private-area .crm-v2__content{
  grid-column:2!important;
  grid-row:1!important;
  display:grid!important;
  align-content:start!important;
  gap:18px!important;
  width:100%!important;
  min-width:0;
  padding:0 28px 48px;
  background:radial-gradient(circle at 96% 0,rgba(151,190,48,.08),transparent 28%),var(--crm-bg);
  box-sizing:border-box;
}
html.private-area .crm-workbar{position:sticky;z-index:30;top:0;display:grid;grid-template-columns:minmax(220px,520px) auto;align-items:center;justify-content:space-between;gap:24px;min-height:74px;margin:0 -28px;padding:12px 28px;border-bottom:1px solid var(--crm-border);background:rgba(9,16,12,.92);backdrop-filter:blur(18px);box-sizing:border-box}
html.private-area .crm-sidebar-toggle{display:none!important}
html.private-area .crm-global-search{position:relative;display:block!important;min-width:0;color:var(--crm-muted)!important}
html.private-area .crm-global-search>span{position:absolute;z-index:1;top:50%;left:15px;transform:translateY(-50%);font-size:20px}
html.private-area .crm-global-search input{width:100%;height:44px;padding:10px 16px 10px 44px!important;border:1px solid #314537!important;border-radius:12px!important;background:#111b15!important;color:var(--crm-text)!important;box-shadow:none!important}
html.private-area .crm-global-search input:focus{border-color:#789631!important}
html.private-area .crm-workbar__identity{display:flex;align-items:center;gap:10px;min-width:0}
html.private-area .crm-sidebar-backdrop{display:none!important}
html.private-area .crm-v2__content>.crm-section{width:100%;min-width:0;margin:0!important;padding:clamp(18px,2.2vw,30px)!important;border:1px solid var(--crm-border)!important;border-radius:18px!important;background:var(--crm-panel)!important;color:var(--crm-text)!important;box-shadow:0 18px 45px rgba(0,0,0,.12)!important;box-sizing:border-box}
html.private-area .crm-v2__content>.crm-section[hidden]{display:none!important}
html.private-area .crm-v2:not([data-tabs-ready="1"]) .crm-v2__content>.crm-section:not(#crm-overview){display:none!important}

html.private-area .crm-overview{display:block;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html.private-area .crm-overview__intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:8px 2px 20px}
html.private-area .crm-overview__intro .eyebrow{margin:0 0 8px;color:var(--crm-acid);font-size:9px;letter-spacing:.18em}
html.private-area .crm-overview__intro h2{margin:0;color:var(--crm-text);font-size:clamp(30px,4vw,52px);line-height:.96;letter-spacing:-.055em}
html.private-area .crm-overview__intro p:not(.eyebrow){margin:10px 0 0;color:var(--crm-muted);font-size:13px}
html.private-area .crm-overview__actions{display:flex;align-items:center;gap:8px;flex:none}
html.private-area .crm-overview__actions a{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:9px 14px;border:1px solid #374b3d;border-radius:10px;background:#131f17;color:#b9c8ba;text-decoration:none;font-size:11px;font-weight:800}
html.private-area .crm-overview__actions a:hover{border-color:#718b34;color:var(--crm-acid)}
html.private-area .crm-overview__actions .crm-overview__primary{border-color:var(--crm-acid);background:var(--crm-acid);color:#11170f}
html.private-area .crm-overview .crm-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important;width:100%!important;margin:0 0 12px!important}
html.private-area .crm-overview .crm-kpis article{position:relative;display:grid;min-width:0;min-height:126px;align-content:space-between;gap:7px;padding:17px;border:1px solid var(--crm-border)!important;border-radius:15px!important;background:linear-gradient(145deg,#17231b,#111a14)!important;color:var(--crm-text)!important;overflow:hidden}
html.private-area .crm-overview .crm-kpis article::after{content:"";position:absolute;right:-20px;bottom:-36px;width:92px;height:92px;border:1px solid rgba(206,255,50,.1);border-radius:50%}
html.private-area .crm-overview .crm-kpis span{display:flex;align-items:center;gap:8px;color:#96a698;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
html.private-area .crm-overview .crm-kpis span i{display:grid;width:25px;height:25px;place-items:center;border-radius:8px;background:#263521;color:var(--crm-acid);font-style:normal;font-size:12px}
html.private-area .crm-overview .crm-kpis b{color:#dce7dc;font-size:32px;line-height:1;letter-spacing:-.05em}
html.private-area .crm-overview .crm-kpis b em{color:#526157;font-style:normal;font-size:20px}
html.private-area .crm-overview .crm-kpis small{color:#657568!important;font-size:9px}
html.private-area .crm-overview-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.7fr);gap:12px}
html.private-area .crm-widget{min-width:0;padding:20px;border:1px solid var(--crm-border);border-radius:16px;background:linear-gradient(145deg,#142018,#101813);overflow:hidden}
html.private-area .crm-widget>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 19px;padding:0 0 15px;border-bottom:1px solid #283a2e;background:transparent!important}
html.private-area .crm-widget>header span{display:block;margin:0 0 5px;color:#69796d;font-size:8px;font-weight:900;letter-spacing:.17em}
html.private-area .crm-widget>header h3{margin:0;color:#cbd8cc;font-size:14px;letter-spacing:-.015em}
html.private-area .crm-widget>header>a{color:var(--crm-acid);font-size:10px;font-weight:800;text-decoration:none}
html.private-area .crm-funnel{display:grid;gap:8px}
html.private-area .crm-funnel__row{display:grid;grid-template-columns:minmax(105px,.7fr) minmax(120px,1.6fr) 34px;align-items:center;gap:12px}
html.private-area .crm-funnel__row>span{color:#95a598;font-size:10px}
html.private-area .crm-funnel__row>div{height:19px;border-radius:5px;background:#1d2b21;overflow:hidden}
html.private-area .crm-funnel__row i{display:block;width:var(--funnel-width);height:100%;border-radius:5px;background:linear-gradient(90deg,#7c9d26,var(--crm-acid));box-shadow:0 0 18px rgba(206,255,50,.12)}
html.private-area .crm-funnel__row>b{color:#cdd8ce;font-size:12px;text-align:right}
html.private-area .crm-load{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:20px}
html.private-area .crm-load__ring{position:relative;display:grid;width:136px;aspect-ratio:1;place-content:center;border-radius:50%;background:conic-gradient(var(--crm-acid) calc(var(--crm-progress)*1%),#26342a 0);text-align:center}
html.private-area .crm-load__ring::after{content:"";position:absolute;inset:11px;border-radius:50%;background:#121d16}
html.private-area .crm-load__ring :is(strong,small){position:relative;z-index:1}
html.private-area .crm-load__ring strong{color:var(--crm-acid);font-size:29px;letter-spacing:-.06em}
html.private-area .crm-load__ring small{color:#748377!important;font-size:8px;text-transform:uppercase}
html.private-area .crm-load dl{display:grid;gap:8px;margin:0}
html.private-area .crm-load dl>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #26372b}
html.private-area .crm-load dt{color:#8c9d8f;font-size:10px}
html.private-area .crm-load dd{margin:0;color:#d5e0d6;font-size:18px;font-weight:900}
html.private-area .crm-widget--requests{grid-column:1/-1}
html.private-area .crm-overview-table{width:100%;overflow:auto}
html.private-area .crm-overview-table table{width:100%;min-width:780px;border-collapse:collapse}
html.private-area .crm-overview-table th{padding:10px 12px;border-bottom:1px solid #314438;color:#697a6d;font-size:8px;letter-spacing:.1em;text-align:left;text-transform:uppercase}
html.private-area .crm-overview-table td{padding:13px 12px;border-bottom:1px solid #223228;color:#aebcaf;font-size:10px;vertical-align:middle}
html.private-area .crm-overview-table tr:last-child td{border-bottom:0}
html.private-area .crm-overview-table td>a{color:var(--crm-acid);font-weight:900;text-decoration:none}
html.private-area .crm-overview-table td b{display:block;color:#d5e0d6;font-size:11px}
html.private-area .crm-overview-table td small{display:block;margin-top:3px;color:#68786c!important;font-size:8px}
html.private-area .crm-overview-status{display:inline-flex;padding:6px 8px;border:1px solid #45583b;border-radius:999px;background:#1d2b20;color:#bcd18b;font-size:8px;font-weight:850;text-transform:uppercase}
html.private-area .crm-overview-status[data-value=delivered]{border-color:#6c8a2e;background:#26351e;color:var(--crm-acid)}
html.private-area .crm-widget--activity{grid-column:1/-1}
html.private-area .crm-widget--activity ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:0;padding:0;list-style:none}
html.private-area .crm-widget--activity li{position:relative;display:grid;grid-template-columns:8px minmax(0,1fr);gap:9px;min-width:0;padding:4px 14px 4px 0}
html.private-area .crm-widget--activity li:not(:last-child){border-right:1px solid #293a2e;margin-right:14px}
html.private-area .crm-widget--activity li>i{width:7px;height:7px;margin-top:4px;border-radius:50%;background:var(--crm-acid);box-shadow:0 0 0 4px rgba(206,255,50,.08)}
html.private-area .crm-widget--activity li div{display:grid;min-width:0;gap:4px}
html.private-area .crm-widget--activity li b{overflow:hidden;color:#cbd7cc;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
html.private-area .crm-widget--activity li span{overflow:hidden;color:#718176;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
html.private-area .crm-widget--activity li time{grid-column:2;color:#556459;font-size:8px}

@media(max-width:1100px){
  html.private-area .crm-v2{grid-template-columns:228px minmax(0,1fr)!important}
  html.private-area .crm-v2__head{width:228px!important}
  html.private-area .crm-v2__head .crm-tabs a{font-size:11px!important}
  html.private-area .crm-v2__content{padding-right:18px;padding-left:18px}
  html.private-area .crm-workbar{margin-right:-18px;margin-left:-18px;padding-right:18px;padding-left:18px}
  html.private-area .crm-overview .crm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html.private-area .crm-overview-grid{grid-template-columns:minmax(0,1fr)}
  html.private-area .crm-widget--requests,html.private-area .crm-widget--activity{grid-column:auto}
  html.private-area .crm-widget--activity ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  html.private-area .crm-widget--activity li:not(:last-child){border-right:0;margin-right:0}
}
@media(max-width:820px){
  html.private-area .crm-v2{display:block!important;min-height:100vh;overflow:visible!important}
  html.private-area .crm-v2__head{position:fixed!important;top:0!important;bottom:0;left:0;z-index:80!important;width:min(292px,86vw)!important;height:100dvh;max-height:none!important;transform:translateX(-105%);transition:transform .25s ease;box-shadow:28px 0 70px rgba(0,0,0,.45)!important}
  html.private-area .crm-v2.crm-sidebar-open .crm-v2__head{transform:translateX(0)}
  html.private-area .crm-sidebar-backdrop{position:fixed!important;z-index:70;inset:0;display:block!important;width:100%!important;height:100%!important;padding:0!important;border:0!important;border-radius:0!important;background:rgba(3,8,5,.72)!important;opacity:0;pointer-events:none;transition:opacity .25s ease}
  html.private-area .crm-v2.crm-sidebar-open .crm-sidebar-backdrop{opacity:1;pointer-events:auto}
  html.private-area .crm-v2__content{display:grid!important;width:100%!important;padding:0 14px 36px!important}
  html.private-area .crm-workbar{grid-template-columns:44px minmax(0,1fr) auto;gap:9px;min-height:66px;margin:0 -14px;padding:10px 14px}
  html.private-area .crm-sidebar-toggle{display:grid!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;place-items:center;border:1px solid #35483a!important;border-radius:10px!important;background:#142018!important;color:var(--crm-acid)!important;font-size:17px}
  html.private-area .crm-global-search input{height:42px;min-height:42px!important}
  html.private-area .crm-workbar__identity div{display:none}
  html.private-area .crm-workbar__identity>span{width:34px;height:34px}
  html.private-area .crm-v2__content>.crm-section{border-radius:15px!important;padding:18px!important}
  html.private-area .crm-overview{padding:0!important}
  html.private-area .crm-overview__intro{align-items:flex-start;flex-direction:column;padding-top:4px}
  html.private-area .crm-overview__actions{width:100%}
  html.private-area .crm-overview__actions a{flex:1}
}
@media(max-width:560px){
  html.private-area .crm-v2__content{padding-right:10px!important;padding-left:10px!important}
  html.private-area .crm-workbar{grid-template-columns:42px minmax(0,1fr);margin-right:-10px;margin-left:-10px;padding-right:10px;padding-left:10px}
  html.private-area .crm-workbar__identity{display:none}
  html.private-area .crm-overview__intro h2{font-size:38px}
  html.private-area .crm-overview__intro p:not(.eyebrow){font-size:11px;line-height:1.5}
  html.private-area .crm-overview__actions{display:grid;grid-template-columns:1fr}
  html.private-area .crm-overview .crm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  html.private-area .crm-overview .crm-kpis article{min-height:112px;padding:13px}
  html.private-area .crm-overview .crm-kpis span{align-items:flex-start;font-size:8px}
  html.private-area .crm-overview .crm-kpis b{font-size:27px}
  html.private-area .crm-overview .crm-kpis small{font-size:8px}
  html.private-area .crm-widget{padding:15px}
  html.private-area .crm-funnel__row{grid-template-columns:92px minmax(74px,1fr) 24px;gap:7px}
  html.private-area .crm-funnel__row>span{font-size:8px}
  html.private-area .crm-load{grid-template-columns:112px minmax(0,1fr);gap:12px}
  html.private-area .crm-load__ring{width:106px}
  html.private-area .crm-load__ring strong{font-size:23px}
  html.private-area .crm-widget--activity ol{grid-template-columns:minmax(0,1fr)}
  html.private-area .crm-widget--activity li{padding:6px 0}
}
