
.crl-sidebar{--rail:216px;--brand-height:186px}
.crl-sidebar .topbar{position:fixed;inset:0 auto 0 0;width:var(--rail);height:100vh;height:100dvh;padding:20px 12px;display:flex;justify-content:flex-start;flex-direction:column;align-items:flex-start;gap:8px;background:#f2f7f4;border-right:1px solid #c6d8ce;z-index:30}
.crl-sidebar .topbar .brand{display:flex;flex-direction:column;align-items:flex-start;gap:5px;color:#173e35;padding-left:7px}
.crl-sidebar .topbar .brand .crl-logo-header{width:148px;height:72px;object-fit:contain}
.crl-sidebar .topbar .brand span{font-size:16px;line-height:1.45}
.crl-sidebar .topbar .brand small{display:block;color:#456557;font-size:10px}
.crl-sidebar .topbar .private{display:block;font-size:19px;font-weight:700;color:#164a3c;margin:2px 0 0 7px}
.crl-sidebar main{margin:0 0 0 var(--rail);padding:16px 20px;max-width:none;width:auto;min-width:0}
.crl-sidebar .tabbar[role=tablist]{position:fixed;left:10px;top:var(--brand-height);z-index:32;width:calc(var(--rail) - 20px);max-height:calc(100dvh - var(--brand-height));overflow:auto;display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:4px!important;margin:0!important;padding:0!important;height:auto!important;background:transparent;border:0;box-shadow:none;flex-wrap:nowrap}
.crl-sidebar .tabbar[role=tablist] button{justify-content:flex-start!important;text-align:left;padding:10px 12px!important;width:100%;min-height:42px;border-radius:7px;color:#264b40;flex:none}
.crl-sidebar .tabbar[role=tablist] button[data-state=active]{background:#155447!important;color:white!important}
.crl-sidebar .tabbar button:after{display:none}
.crl-sidebar .owner-desktop{left:var(--rail);z-index:22}
.crl-sidebar .case-picker{display:grid;gap:6px;font-weight:650;margin-bottom:18px}
.crl-sidebar .case-picker select{width:100%;min-width:0;border:1px solid #b5c9c0;border-radius:6px;background:#fff;padding:8px}
.crl-sidebar .case-payments{background:#edf6f1;border-left:3px solid #29735b;padding:10px 15px;margin-bottom:15px}
@media(max-width:760px){
 .crl-sidebar{--rail:0px}
 .crl-sidebar .topbar{position:static;width:auto;height:auto;padding:7px 12px;display:flex;flex-direction:row;justify-content:space-between;align-items:center}
 .crl-sidebar .topbar .brand{flex-direction:row;align-items:center;gap:8px}
 .crl-sidebar .topbar .brand .crl-logo-header{width:77px;height:42px}
 .crl-sidebar .topbar .private{font-size:15px}
 .crl-sidebar main{padding:8px}
 .crl-sidebar .tabbar[role=tablist]{position:static;width:100%;max-height:none;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .crl-sidebar .owner-desktop{position:relative;inset:auto;overflow:auto;height:75dvh}
 body:has(.crl-sidebar .owner-desktop){overflow:auto!important}
}
@media print{.crl-sidebar .topbar,.crl-sidebar .tabbar[role=tablist]{display:none!important}.crl-sidebar main{margin:0}}
@media(min-width:761px){.crl-sidebar .tabbar[role=tablist]{width:calc(var(--rail) - 20px)!important;border:0!important;background:transparent!important}}
.owner-desktop .od-bottom:has(.crl-owner-docs){grid-template-columns:minmax(0,1fr)}
.owner-desktop .crl-owner-docs{min-width:0;grid-column:1/-1}
.owner-desktop .crl-owner-docs .od-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.owner-desktop .crl-owner-docs .od-table-scroll{overflow:auto;max-height:30rem;margin:.75rem 0}
.owner-desktop .crl-owner-docs td small,.owner-desktop .crl-owner-docs td strong{display:block}
.owner-desktop .crl-owner-docs input[type=checkbox]{width:1.1rem;height:1.1rem;min-height:0}
.crl-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:.5rem}
.owner-desktop .crl-check-grid label{display:flex;flex-direction:row;align-items:center;gap:.65rem;cursor:pointer;padding:.4rem 0}
.owner-desktop .crl-check-grid input{width:1.15rem;height:1.15rem;min-height:0;flex:none;accent-color:#175541}
.crl-onboarding p{margin:.65rem 0 0}
.crl-invoice-mail{max-height:88vh;overflow:auto;width:min(35rem,94vw);box-sizing:border-box}
.crl-invoice-mail label{display:grid;gap:.3rem;margin:.75rem 0}
.crl-invoice-mail input,.crl-invoice-mail textarea{box-sizing:border-box;width:100%}
.crl-invoice-mail details{margin:.8rem 0}.crl-invoice-mail summary{cursor:pointer;font-weight:600}
