/* R20 owns the finishing geometry of existing CRM screens, not their data model. */
:root{--r20-line:#ece8eb;--r20-ink:#25232b;--r20-muted:#72717c;--r20-soft:#faf6f8;--r20-red:#ca1138}
.r20-setup{max-width:720px;padding:28px;background:white;border:1px solid var(--r20-line);border-radius:20px;line-height:1.8}
body .insurer-visual img,body #p49-workspace .p49-logo img{object-fit:contain!important;object-position:center!important;max-width:100%;max-height:100%;clip-path:none!important;transform:none!important}
body #p49-workspace .p49-logo{display:flex;align-items:center;justify-content:center;width:82px;height:34px;padding:2px;overflow:visible;text-decoration:none;font-size:12px;color:var(--r20-ink);border-radius:6px}
body #p49-workspace .p49-logo:focus-visible{outline:2px solid var(--r20-red);outline-offset:3px}
body #p49-workspace .p49-logo img{width:76px!important;height:30px!important;filter:none}
body #p49-workspace .p49-people{gap:6px;padding:0 0 14px;margin:0;flex-wrap:wrap}
body #p49-workspace .p49-person{padding:7px 13px;min-height:36px;border-radius:999px;gap:6px;box-shadow:none}
body #p49-workspace .p49-person strong{font-size:14px}
body #p49-workspace .p49-person small{font-size:11px;display:inline}
body #p49-workspace .p50-heading{margin-bottom:14px;gap:12px}
body #p49-workspace .p50-heading h2{font-size:22px;margin:0 0 4px}
body #p49-workspace .p50-heading-actions{gap:8px;flex-direction:row;flex-wrap:wrap;align-items:center}
body #p49-workspace .p49-body{padding:20px;border-radius:20px}
body #p49-workspace .p50-stats{margin:12px 0;padding:12px 0;border-block:1px solid var(--r20-line);gap:18px}
body #p49-workspace .p50-tabs{margin-block:10px 14px;gap:18px}
body #p49-workspace .p50-list{display:block;overflow:auto;border-block:1px solid var(--r20-line)}
body #p49-workspace :is(.r20-policy,.r20-policy-head){display:grid!important;grid-template-columns:24px 86px minmax(180px,1.6fr) 60px 100px 122px 124px!important;gap:12px!important;align-items:center;text-align:start;min-width:850px}
body #p49-workspace .r20-policy-head{font-size:12px;color:var(--r20-muted);padding:10px 12px;background:#fcfafb}
body #p49-workspace .r20-policy{padding:9px 12px!important;min-height:55px!important;border:0!important;border-bottom:1px solid var(--r20-line)!important;border-radius:0!important;box-shadow:none!important;background:#fff}
body #p49-workspace .r20-policy:last-child{border-bottom:0!important}
body #p49-workspace .r20-policy:hover{background:#fdfafb}
body #p49-workspace .r20-policy.is-selected{background:#fff3f6!important}
body #p49-workspace .r20-policy input[type=checkbox]{width:17px;height:17px;min-height:0;margin:0;accent-color:var(--r20-red)}
body #p49-workspace .p50-product-name{display:grid;gap:1px;min-width:0}
body #p49-workspace .p50-product-title{display:block;min-height:22px!important;padding:0!important;text-align:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:14px!important;line-height:1.4;font-weight:500!important}
body #p49-workspace .p50-product-name small{font-size:11px;color:var(--r20-muted);line-height:1.25}
body #p49-workspace .p50-plan{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60px}
body #p49-workspace .p49-premium{display:grid;gap:1px;white-space:nowrap}
body #p49-workspace .p49-premium strong{font-size:15px;font-weight:500}
body #p49-workspace .p49-premium small{font-size:10px}
body #p49-workspace .r20-source-amount input{width:100%;padding:6px 8px;min-height:33px;max-height:36px;border:1px solid #e6e2e5;border-radius:8px;background:transparent;font:inherit;font-size:13px;direction:ltr;text-align:end;appearance:textfield}
body #p49-workspace .r20-source-amount input::-webkit-inner-spin-button{appearance:none}
body #p49-workspace .p50-action{font-size:12px;min-height:34px;padding:6px 9px;border:1px solid #e4dfe3;border-radius:8px;background:#fff;width:124px;margin:0}
body #p49-workspace .p50-bulk:not(:empty){display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#fcf5f7;border:1px solid #ecd7dd;border-radius:12px;padding:11px 14px;margin:14px 0}
.r20-selection-total{display:grid;gap:2px;margin-inline-end:auto;font-size:14px}.r20-selection-total small{color:var(--r20-muted);font-size:12px}
.r20-portfolio-insights{margin-top:22px}.r20-mix-grid,.r20-insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-block:16px}
.r20-insight{border:1px solid var(--r20-line);border-radius:16px;padding:18px;min-width:0;background:#fff}.r20-insight h3{font-size:16px;margin:0 0 15px}.r20-insight h4{font-size:14px;margin:0 0 9px}.r20-insight>p{font-size:13px;margin:7px 0}.r20-insight small{color:var(--r20-muted);font-size:11px}
.r20-mix-line{display:grid;grid-template-columns:1fr auto;gap:6px;margin-bottom:13px;font-size:13px}.r20-mix-bar{grid-column:1/-1;height:5px;background:#f4eff1;border-radius:8px;overflow:hidden}.r20-mix-bar::before{content:'';display:block;width:var(--portion);height:100%;background:#ce4160;border-radius:inherit}.r20-duplicate{border-top:1px solid var(--r20-line);padding:13px 0}.r20-duplicate>div{display:grid;grid-template-columns:82px 1fr;align-items:center;gap:2px 10px;font-size:13px;margin:7px 0}.r20-duplicate small{grid-column:2}
body #p49-workspace .p50-layout.has-editor{grid-template-columns:minmax(0,1fr) 260px;gap:20px}
body #p49-workspace .p50-editor-head{padding:0 0 12px;margin-bottom:10px}body #p49-workspace .p50-editor-head h3{font-size:20px}
body #p49-workspace .p50-fields{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:12px 0;padding:0;border:0;background:none}
body #p49-workspace .p50-fields>label{flex:1;min-width:160px;max-width:280px;display:grid;gap:5px;font-size:13px}
body #p49-workspace :is(.p50-compare,.p50-compare-table,.zr-compare-matrix) :is(th,td){white-space:nowrap;padding:11px 12px;font-size:14px;vertical-align:middle}
body #p49-workspace .p50-compare th.r20-current,body #p49-workspace .r20-current{background:#f5f3f5;color:#49454e;border-inline-end:1px solid #ddd7dd}
body #p49-workspace .r20-saving td{font-size:13px;color:#295c47}body #p49-workspace .r20-basket-saving{display:grid;gap:5px;padding:13px 0;border-block:1px solid var(--r20-line);margin:12px 0;font-size:13px}
body #p49-workspace .p50-discounts{display:grid;gap:6px;font-size:12px;max-width:220px}body #p49-workspace .p50-discounts select{width:100%;font:inherit;min-height:36px;border:1px solid #ded8df;border-radius:8px;padding:5px;background:#fff}
body #p49-workspace .p50-discounts p{font-size:11px;white-space:normal;margin:0;line-height:1.4;color:var(--r20-muted)}
body .r20-recorded{margin-top:18px;border:1px solid var(--r20-line);border-radius:14px;padding:0 16px;background:white}body .r20-recorded>summary{padding:15px 0;cursor:pointer;font-size:14px}
.r20-lead-status{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 4px 16px;font-size:13px}.r20-lead-status>span:first-child{color:var(--r20-muted)}.r20-status-options{display:flex;gap:5px;flex-wrap:wrap}.r20-status-options button{border:1px solid #e4dfe3;border-radius:999px;background:white;padding:7px 12px;min-height:34px;font:inherit;cursor:pointer}.r20-status-options button[aria-pressed=true]{background:#f9edf1;border-color:#dba6b5;color:#ae1232}.r20-lead-status [data-status-result]{font-size:12px;color:#526959}
.r20-status-dialog{max-width:440px;width:calc(100vw - 32px);border:1px solid var(--r20-line);border-radius:20px;padding:24px;box-sizing:border-box}.r20-status-dialog::backdrop{background:#21162255}.r20-status-dialog header,.r20-status-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.r20-status-dialog h2{margin:0;font-size:20px}.r20-status-dialog label{display:grid;gap:7px;margin:20px 0}.r20-status-dialog [hidden]{display:none}.r20-status-dialog :is(input,textarea){width:100%;box-sizing:border-box;font:inherit;border:1px solid #ddd5dd;padding:10px;border-radius:10px}.r20-status-dialog button{font:inherit;cursor:pointer;border:1px solid #e1d9e0;background:#fff;border-radius:10px;padding:9px 12px}.r20-status-dialog button[type=submit]{background:var(--r20-red);color:#fff}
body .r20-family{padding-top:14px;margin-top:10px;border-top:1px solid var(--r20-line)}body .r20-family>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}body .r20-family h3{font-size:14px;margin:0}body .r20-family-person{display:flex;align-items:center;gap:8px;width:100%;min-height:43px;padding:6px 0;background:none;border:0;border-bottom:1px solid #f1edf0;font:inherit;font-size:13px;text-align:start;cursor:pointer}body .r20-family-person small{margin-inline-start:auto;color:var(--r20-muted)}body .r20-family-person .cw-mini-avatar{width:28px;height:28px;font-size:11px}
/* Compact funnel and rows; stable geometry from first paint. */
body[data-zoro-screen=dashboard] #portal-main.zv-home .zv-funnel #zfn-funnel-panel{flex:none!important;margin-top:12px!important}
body[data-zoro-screen=dashboard] #portal-main.zv-home .zv-funnel-rows{gap:5px!important;align-content:start!important;padding:0!important}
body[data-zoro-screen=dashboard] #portal-main.zv-home :is(.zv-funnel-row,.zv-funnel-cell,.zv-trapezoid){height:36px!important;min-height:0!important}
body[data-zoro-screen=dashboard] #portal-main.zv-home .zv-funnel-row{grid-template-columns:minmax(120px,1.3fr) minmax(105px,1fr)!important;gap:12px!important}
body[data-zoro-screen=dashboard] #portal-main.zv-home .zv-trapezoid strong{font-size:22px!important}
body[data-zoro-screen=dashboard] #portal-main.zv-home .zv-funnel-label{font-size:13px!important}
body #portal-main .zl-table :is(th,td){padding:8px 11px!important;min-height:0;line-height:1.35!important;font-size:13px!important;vertical-align:middle!important}body #portal-main .zl-table tbody tr{height:49px!important}body #portal-main .zl-table td[data-col=person] strong{font-size:14px!important}body #portal-main .zl-table td small{font-size:11px!important;line-height:1.3!important;margin-top:2px!important}body #portal-main .zl-table .zl-owner{white-space:nowrap}body #portal-main .zl-table [data-col=notes]{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body #portal-main .zl-table :is(.zl-actions button,.zl-actions a){width:30px;min-height:30px;height:30px;border:0;box-shadow:none;background:transparent}body #portal-main .zl-table tr:hover{background:#fff8fa}
/* Team: an operational directory and focused staff profile. */
body .zm-main .zm-hero{display:flex!important;align-items:center!important;padding:0 0 20px!important;background:none!important;border:0!important;box-shadow:none!important;min-height:0!important}body .zm-main .zm-hero-icon{display:none}body .zm-main .zm-hero>div:last-child{width:100%;display:grid;grid-template-columns:1fr auto;gap:4px 20px}body .zm-main .zm-hero h1{grid-column:1;font-size:27px!important;margin:0!important}body .zm-main .zm-hero p{grid-column:1;font-size:13px;color:var(--r20-muted);margin:3px 0}body .zm-main .zm-hero .zm-eyebrow{display:none}body .zm-main .zm-hero .zm-primary{grid-column:2;grid-row:1/3;align-self:center;margin:0;min-height:40px}
body .zm-main .zm-stats{gap:0!important;border:1px solid var(--r20-line);border-radius:18px;background:white;overflow:hidden;margin-bottom:20px}body .zm-main .zm-stats article{padding:18px 22px!important;border:0!important;border-inline-end:1px solid var(--r20-line)!important;border-radius:0!important;box-shadow:none!important;background:none!important}body .zm-main .zm-stat-icon{display:none!important}body .zm-main .zm-stats article h2{font-size:13px!important;margin:0 0 8px!important}body .zm-main .zm-stats article strong{font-size:27px!important}body .zm-main .zm-stats article small{font-size:11px;color:var(--r20-muted)}body .zm-main .zm-panel{border-radius:18px!important;border:1px solid var(--r20-line)!important;box-shadow:none!important}body .zm-main .zm-table :is(th,td){padding:15px 16px!important;border-bottom:1px solid var(--r20-line)}body .zm-main .zm-table th{font-size:12px!important;background:#fcfafb}body .zm-main .zm-person{gap:12px!important}body .zm-main .zm-person strong{font-size:15px!important;font-weight:500!important}body .zm-main .zm-person small{font-size:12px;color:var(--r20-muted)}body .zm-main .zm-avatar{width:42px;height:42px;background:#f7f1f4;color:#7c4557}body .zm-main .zm-icon-btn{width:32px;height:32px;min-height:32px;border:1px solid transparent;box-shadow:none;background:none}body .zm-main .zm-icon-btn:hover{border-color:#e7dfe5;background:#fcf7f9}body .zm-main .zm-meter{height:4px;width:70px}body .zm-main .zm-permissions{background:#fbf9fa;border:0;border-radius:12px;font-size:13px;line-height:1.7}
body .r20-rep-profile[open]{display:grid!important;grid-template-columns:230px minmax(0,1fr);width:min(820px,calc(100vw - 32px))!important;max-width:820px!important;padding:0!important;min-height:530px;max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--r20-line)!important;border-radius:22px!important;background:white}
body .r20-rep-profile .r20-rep-aside{padding:30px 22px;background:#fcf9fb;border-inline-end:1px solid var(--r20-line)}body .r20-rep-profile .r20-rep-aside>header{padding:0;text-align:start;margin:0 0 24px}body .r20-rep-profile .r20-rep-aside .zm-avatar{width:64px;height:64px;margin:0 0 16px}body .r20-rep-profile h2{font-size:24px!important;margin:10px 0 6px}body .r20-rep-profile .zm-close{z-index:2;left:14px;right:auto;top:12px}
.r20-rep-nav{display:grid;gap:5px;margin:20px 0}.r20-rep-nav button{border:0;border-radius:9px;background:transparent;font:inherit;text-align:start;padding:11px 13px;color:var(--r20-muted);cursor:pointer}.r20-rep-nav button[aria-selected=true]{background:#f2e7ec;color:#a31739}.r20-rep-content{padding:30px;min-width:0}.r20-rep-content>section[hidden]{display:none!important}.r20-rep-content>section>h3{margin:0 0 18px;font-size:18px}.r20-rep-content :is(input,select){min-height:40px!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important}.r20-rep-content label{font-size:13px!important}.r20-rep-content form{margin:0 0 18px}.r20-rep-content .zm-avatar-manage{border-top:1px solid var(--r20-line);padding-top:18px;margin-top:18px}.r20-rep-content .zm-goal-manager{padding:0;border:0;margin:0}.r20-rep-content .zm-contact{border:0;padding:0 0 18px;font-size:13px}.r20-rep-content .zm-account-actions{padding:16px 0;border-top:1px solid var(--r20-line)}.r20-rep-content .zm-hint{font-size:12px;line-height:1.65}
.r20-rep-stats{display:grid;gap:9px;font-size:12px}.r20-rep-stats>div{display:flex;justify-content:space-between;border-bottom:1px solid #eee5eb;padding-bottom:8px}.r20-rep-stats strong{font-size:15px}
.r20-staff{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.r20-staff-avatar{width:27px;height:27px;border-radius:50%;overflow:hidden;background:#f3eaf0;color:#805468;display:inline-grid;place-items:center;font-size:11px;flex:none}.r20-staff-avatar img{width:100%;height:100%;object-fit:cover}.r20-staff-avatar[hidden]{display:none}
/* Full-height conversation, contextual information only on demand. */
body.r20-chat-embedded{margin:0!important;background:white;height:100dvh;overflow:hidden;color:var(--r20-ink);font-family:ZoroUI,Arial,sans-serif}body.r20-chat-embedded #portal-main{margin:0!important;padding:0!important;width:100%;max-width:none;height:100dvh}body.r20-chat-embedded .zr-page-intro{display:none!important}
html body[data-zoro-visual=r11] [data-zr-chat] .zr-chat-layout{grid-template-columns:310px minmax(0,1fr)!important;position:relative;gap:0!important;height:calc(100dvh - 165px);min-height:0!important;max-height:none!important}
html body.r20-chat-embedded [data-zr-chat] .zr-chat-layout{height:100dvh!important}
html body[data-zoro-visual=r11] [data-zr-chat] .zr-surface{border-radius:0!important;border:0!important;box-shadow:none!important}html body[data-zoro-visual=r11] [data-zr-chat] .zr-chat-list{border-inline-end:1px solid var(--r20-line)!important}html body[data-zoro-visual=r11] [data-zr-chat] .zr-thread{min-height:0!important}
html body[data-zoro-visual=r11] [data-zr-chat] .zr-chat-context:not([hidden]){display:flex!important;position:absolute!important;inset-inline-end:0!important;inset-inline-start:auto!important;top:0;bottom:0;width:min(330px,90vw);z-index:20;background:#fff;box-shadow:8px 0 30px #21172518!important;border-inline-start:1px solid var(--r20-line)!important;transform:none!important}
html body[data-zoro-visual=r11] [data-zr-chat] .zr-context-close{display:grid!important}html body[data-zoro-visual=r11] [data-zr-chat] .zr-thread-header{padding:14px 20px!important;height:72px;box-sizing:border-box}
html body[data-zoro-visual=r11] [data-zr-chat] .zr-conversation{padding:13px 10px!important;border-radius:10px!important}html body[data-zoro-visual=r11] [data-zr-chat] .zr-messages{background:#fcfafb!important;gap:10px!important;padding:24px 28px!important}html body[data-zoro-visual=r11] [data-zr-chat] .zr-message{border-radius:13px!important;padding:9px 13px!important;max-width:min(78%,620px);background:#fff!important;border-color:#eee7ec!important}html body[data-zoro-visual=r11] [data-zr-chat] .zr-message.is-own{background:#f9eaf0!important;border-color:#efd9e3!important}html body[data-zoro-visual=r11] [data-zr-chat] .zr-message p{font-size:14px;line-height:1.6!important}html body[data-zoro-visual=r11] [data-zr-chat] .zr-avatar{overflow:hidden}html body[data-zoro-visual=r11] [data-zr-chat] .zr-avatar img{width:100%;height:100%;object-fit:cover}html body[data-zoro-visual=r11] [data-zr-chat] .zr-icon-button svg,html body[data-zoro-visual=r11] [data-zr-chat] .zr-send svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
html body[data-zoro-visual=r11] [data-zr-chat] .zr-composer{padding:12px 18px 9px!important}.r20-receipt{direction:ltr;display:inline-block;font-size:13px;color:#8b8190;margin-inline-start:7px}.r20-receipt.is-read{color:#2273ac}.r20-typing{color:#a33458!important}.r20-typing::after{content:' •••';display:inline-block;animation:r20-typing 1.2s ease-in-out infinite}@keyframes r20-typing{50%{opacity:.35}}
@media(max-width:1100px){body #p49-workspace .p50-layout.has-editor{grid-template-columns:1fr!important}body #p49-workspace .p50-rail{position:static;max-height:none}.r20-mix-grid,.r20-insight-grid{gap:12px}body .zm-main .zm-table :is(th,td){padding:12px 9px!important}}
@media(max-width:740px){.r20-mix-grid,.r20-insight-grid{grid-template-columns:1fr}body #p49-workspace .p49-body{padding:13px}body .r20-rep-profile[open]{grid-template-columns:1fr;min-height:0;max-height:calc(100dvh - 20px)}body .r20-rep-profile .r20-rep-aside{padding:22px;border-inline-end:0;border-bottom:1px solid var(--r20-line)}body .r20-rep-profile .r20-rep-aside>header{margin-bottom:10px}body .r20-rep-profile .r20-rep-aside .zm-avatar{width:48px;height:48px;margin-bottom:8px}.r20-rep-nav{display:flex;margin:10px 0 0}.r20-rep-nav button{flex:1;text-align:center}.r20-rep-stats{display:none}.r20-rep-content{padding:20px}body .zm-main .zm-hero>div:last-child{grid-template-columns:1fr}body .zm-main .zm-hero .zm-primary{grid-column:1;grid-row:auto;justify-self:start;margin-top:10px}
html body[data-zoro-visual=r11] [data-zr-chat] .zr-chat-layout{grid-template-columns:1fr!important}html body[data-zoro-visual=r11] [data-zr-chat] .zr-thread{display:none!important}html body[data-zoro-visual=r11] [data-zr-chat][data-thread-open=true] .zr-thread{display:flex!important}html body[data-zoro-visual=r11] [data-zr-chat][data-thread-open=true] .zr-chat-list{display:none!important}html body[data-zoro-visual=r11] [data-zr-chat] .zr-chat-back{display:grid!important}html body[data-zoro-visual=r11] [data-zr-chat] .zr-messages{padding:16px!important}html body[data-zoro-visual=r11] [data-zr-chat] .zr-thread-header{padding:10px 12px!important}html body[data-zoro-visual=r11] [data-zr-chat] .zr-message{max-width:90%}}
@media(prefers-reduced-motion:reduce){.r20-typing::after{animation:none}}
body #portal-main .zl-followup{display:flex!important;align-items:center;gap:4px!important}body #portal-main .zl-followup input{padding:4px!important;min-height:28px!important;font-size:11px!important;max-width:104px}body #portal-main .zl-followup input[type=time]{max-width:74px}.r20-row-note{position:relative}.r20-row-note>summary{font-size:11px;color:#8c4b65;cursor:pointer}.r20-row-note[open] form{position:absolute;top:24px;left:0;background:white;width:230px;padding:10px;border:1px solid #e8d9e2;border-radius:10px;box-shadow:0 7px 24px #32152514;z-index:20}body #portal-main .zl-table [data-col=notes]:has(.r20-row-note[open]){overflow:visible}body #portal-main .zl-table .c2-row-actions{gap:4px!important}body #portal-main .zl-table .c2-row-actions :is(a,button){width:28px!important;height:28px!important;min-height:28px!important;border:0!important;background:transparent!important;box-shadow:none!important}body #portal-main .zl-table .zc-note-latest{max-width:160px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}
/* Explicitly retire the eight-column R19 grid for the new seven-column rows. */
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .p50-list :is(.r20-policy,.r20-policy-head){grid-template-columns:24px 86px minmax(180px,1fr) 60px 100px 122px 124px!important;gap:12px!important;padding:9px 12px!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .p49-policy .p50-product-title,html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .p49-policy .p50-product-title span{white-space:nowrap!important;font-size:14px!important;font-weight:500!important;line-height:1.35!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .p50-layout:not(.has-editor):not(.has-basket){grid-template-columns:minmax(0,1fr)!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .p50-layout:not(.has-editor):not(.has-basket)>.p50-rail{display:none!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .p50-layout.has-editor{grid-template-columns:minmax(0,1fr) 250px!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .p50-main{padding:0!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .p50-logo{width:82px!important;height:32px!important;padding:2px!important;object-fit:contain!important;display:flex!important;align-items:center;justify-content:center}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .p50-logo img{width:76px!important;height:28px!important;max-height:28px!important;max-width:76px!important;object-fit:contain!important;transform:none!important;clip-path:none!important}
html body[data-zoro-screen=customer] #portal-main .z192-customer .z193-tabs-frame{display:block!important;padding:4px!important;min-height:0!important;margin:10px 0 16px!important;box-shadow:0 3px 10px #321b2c04!important}
html body[data-zoro-screen=customer] #portal-main .z192-customer .cw-tabs{position:static!important;transform:none!important;margin:0!important;padding:0!important;min-height:38px!important;height:auto!important;justify-content:stretch!important}
html body[data-zoro-screen=customer] #portal-main .z192-customer .cw-tabs>button{flex:1!important;min-height:36px!important;margin:0!important;transform:none!important}
html body[data-zoro-screen=customer] #portal-main .z192-customer .p49-person{padding:6px 12px!important;min-height:36px!important;border-radius:999px!important}html body[data-zoro-screen=customer] #portal-main .z192-customer .p50-person-name small{display:none!important}html body[data-zoro-screen=customer] #portal-main .z192-customer .p50-avatar{width:24px!important;height:24px!important;font-size:11px!important}
html body[data-zoro-screen=customer] #portal-main .p50-quote-form{display:flex!important;align-items:flex-end!important;flex-wrap:wrap!important;gap:12px!important;padding:12px 0!important;min-height:0!important;border:0!important;background:transparent!important}html body[data-zoro-screen=customer] #portal-main .p50-quote-form legend{display:none}html body[data-zoro-screen=customer] #portal-main .p50-quote-form>select{width:150px!important;min-height:38px!important}html body[data-zoro-screen=customer] #portal-main .p49-fields{margin:0!important;flex:1;min-width:190px;display:block!important}html body[data-zoro-screen=customer] #portal-main .p49-fields>label{display:flex!important;align-items:center;gap:9px;font-size:13px;white-space:nowrap}html body[data-zoro-screen=customer] #portal-main .p49-fields input[type=number]{max-width:170px;min-height:38px;font-size:15px!important}html body[data-zoro-screen=customer] #portal-main .p50-quote-form>.p50-primary{min-height:38px!important}
@media(max-width:1100px){html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .p50-layout.has-editor{grid-template-columns:minmax(0,1fr)!important}}

/* Final customer geometry overrides the legacy two-ID insurance selectors. */
html body #portal-main .z192-customer:has(> #cw-panel-insurance)>.z193-tabs-frame{padding:4px!important;margin:8px 0 14px!important;min-height:44px!important;height:auto!important;border:1px solid #e9e4e8!important;background:#fff!important;animation:none!important;transform:none!important}
html body #portal-main .z192-customer:has(> #cw-panel-insurance) .cw-tabs{display:flex!important;gap:4px!important;min-width:0!important;width:100%!important;min-height:36px!important;overflow-x:auto!important;border:0!important;background:transparent!important}
html body #portal-main .z192-customer:has(> #cw-panel-insurance) .cw-tabs>button{flex:1 0 auto!important;padding:7px 15px!important;min-height:36px!important;font-size:13px!important;font-weight:500!important;white-space:nowrap;background:transparent!important;border:0!important}
html body #portal-main .z192-customer:has(> #cw-panel-insurance) .cw-tabs>button[aria-selected=true]{background:#d50935!important;color:#fff!important}
html body #portal-main .z192-customer :is(.cw-tabs,.z193-tabs-frame)::before,html body #portal-main .z192-customer :is(.cw-tabs,.z193-tabs-frame)::after{content:none!important}
html body #portal-main .z192-customer .cw-menu:not([open])>.cw-menu-content{display:none!important}
html body #portal-main .z192-customer #p49-workspace .p50-layout.zr-comparing{display:block!important;grid-template-columns:1fr!important}
html body #portal-main .z192-customer #p49-workspace .zr-comparing .p50-rail{display:block!important;width:100%!important;max-width:none!important;max-height:none!important;position:static!important}
html body #portal-main .z192-customer #p49-workspace .zr-comparing .p49-cart{display:none!important}
html body #portal-main .z192-customer #p49-workspace .p49-editor{padding:18px!important;min-width:0!important;width:100%!important;box-sizing:border-box}
html body #portal-main .z192-customer #p49-workspace .p50-editor-head{padding:0 0 12px!important;min-height:0!important;border:0!important;background:none!important;box-shadow:none!important;margin:0 0 12px!important}
html body #portal-main .z192-customer #p49-workspace .p50-editor-head h3{outline:none!important;font-size:19px!important}
html body #portal-main .z192-customer #p49-workspace .p50-quote-form{display:flex!important;gap:12px!important;align-items:center!important;flex-wrap:wrap!important;padding:8px 0 14px!important;margin:0!important;min-height:0!important}
html body #portal-main .z192-customer #p49-workspace .p50-quote-form>.p50-primary{width:auto!important;min-width:150px!important;flex:0 0 auto!important;padding:8px 15px!important;box-shadow:none!important;font-size:13px!important}
html body #portal-main .z192-customer #p49-workspace .p49-fields{flex:1!important;min-width:230px!important;margin:0!important}
html body #portal-main .z192-customer #p49-workspace .zr-compare-scroll{width:100%;overflow-x:auto!important;overscroll-behavior-inline:contain;border-radius:14px!important;scrollbar-width:thin}
html body #portal-main .z192-customer #p49-workspace .zr-compare-matrix{table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important}
html body #portal-main .z192-customer #p49-workspace .zr-compare-matrix :is(th,td){padding:12px 14px!important;line-height:1.4!important;font-size:13px!important;overflow-wrap:normal!important;word-break:normal!important;vertical-align:middle!important;border-bottom:1px solid #eee6eb!important}
html body #portal-main .z192-customer #p49-workspace .zr-compare-matrix tr>:first-child{width:160px!important;min-width:160px!important;position:sticky!important;inset-inline-start:0;z-index:3;background:#fff!important;box-sizing:border-box}
html body #portal-main .z192-customer #p49-workspace .zr-compare-matrix .r20-current{width:190px!important;min-width:190px!important;position:sticky!important;inset-inline-start:160px!important;z-index:2;background:#f7f3f6!important;box-shadow:-1px 0 0 #e8dce3;box-sizing:border-box}
html body #portal-main .z192-customer #p49-workspace .zr-compare-matrix thead th{height:66px!important;font-size:15px!important}
html body #portal-main .z192-customer #p49-workspace .zr-compare-matrix .zr-matrix-price strong{font-size:22px!important;white-space:nowrap!important;font-weight:600!important}
html body #portal-main .z192-customer #p49-workspace .zr-compare-matrix .p50-choose{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;white-space:nowrap!important;min-height:34px!important;width:100%!important;padding:8px 10px!important;font-size:12px!important;border-radius:9px!important}
html body #portal-main .z192-customer #p49-workspace .zr-compare-matrix .p50-discounts{max-width:none!important;font-size:12px!important}
html body #portal-main .z192-customer #p49-workspace .zr-compare-matrix .p50-discounts p{font-size:12px!important;margin:7px 0 0!important;line-height:1.5!important}
html body #portal-main .z192-customer #p49-workspace .zr-compare-matrix .p50-discounts select{font-size:12px!important;padding:6px!important;border:1px solid #dfd6dd!important;background:#fff!important;min-height:35px!important;border-radius:8px!important;width:100%!important}
html body.r20-chat-embedded,html body.r20-chat-embedded #portal-main,html body.r20-chat-embedded .zr-surface{background:#fff!important;opacity:1!important}
@media(max-width:650px){html body #portal-main .z192-customer #p49-workspace .p50-quote-form>.p50-primary{width:100%!important}html body #portal-main .z192-customer #p49-workspace .zr-compare-matrix .r20-current{position:static!important}html body #portal-main .z192-customer #p49-workspace .zr-compare-matrix tr>:first-child{width:128px!important;min-width:128px!important}}

body .zp-avatar .r20-staff-avatar{width:38px;height:38px;font-size:14px;background:transparent}body .r20-staff-avatar>span[hidden],body .r20-staff-avatar>img[hidden]{display:none!important}
/* The existing composer is opened by the explicit note/task actions. */
html body #portal-main #cw-panel-insurance .cw-compose-card.is-collapsed{display:none!important}
html body #portal-main #p49-workspace .p50-editor-head{outline:0!important}
html body #portal-main #p49-workspace .p49-body:has(.zr-comparing)>:is(.p50-heading,.p50-stats,.p50-tabs){display:none!important}
html body #portal-main #p49-workspace .p49-body:has(.zr-comparing){padding:14px!important}
html body #portal-main #p49-workspace .p50-bulk:not(:empty){position:sticky;top:10px;z-index:6;box-shadow:0 4px 16px #3216260c}
@media(max-width:900px){
html body[data-zoro-screen=customer]{min-width:0!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer:has(> #cw-panel-insurance) .cw-customer-header{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:12px!important;min-height:0!important;max-height:none!important;height:auto!important;padding:8px 0 12px!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer .cw-heading{width:100%!important;max-width:100%!important;position:static!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer .cw-header-actions.z193-actions{display:flex!important;flex-wrap:wrap!important;position:static!important;transform:none!important;width:100%!important;max-width:100%!important;overflow:visible!important;justify-content:flex-start!important;align-self:stretch!important;gap:7px!important;padding:0!important;order:2!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer .cw-header-actions.z193-actions>.cw-button{display:inline-flex!important;width:auto!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer .z193-quick-actions{width:auto!important;display:flex!important;order:3!important;padding:0!important;border:0!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .r20-policy-head{display:none!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .p50-list .r20-policy{display:grid!important;grid-template-columns:24px 76px minmax(0,1fr)!important;gap:8px 10px!important;padding:14px 0!important;min-width:0!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .r20-policy>*{display:block!important;min-width:0!important;max-width:none!important;grid-row:auto!important;grid-column:auto!important;margin:0!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .r20-policy>:nth-child(1){grid-column:1!important;grid-row:1!important;align-self:center}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .r20-policy>:nth-child(2){grid-column:2!important;grid-row:1!important;align-self:center}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .r20-policy>:nth-child(3){grid-column:3!important;grid-row:1!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .r20-policy>:nth-child(4){grid-column:2!important;grid-row:2!important;max-width:76px!important;white-space:nowrap!important;overflow:visible!important;font-size:12px!important;text-align:start!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .r20-policy>:nth-child(5){grid-column:3!important;grid-row:2!important;text-align:start!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .r20-policy>:nth-child(6){grid-column:2/-1!important;grid-row:3!important;display:flex!important;align-items:center;gap:9px}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .r20-policy>:nth-child(6):not(:has(input)){display:none!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .r20-policy>:nth-child(6):has(input)::before{content:'סכום ביטוח קיים';font-size:12px;color:#756a78;white-space:nowrap}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .r20-policy>:nth-child(6) input{width:100%!important;min-width:0!important;max-width:150px!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .r20-policy>:nth-child(7){grid-column:2/-1!important;grid-row:4!important;width:100%!important;min-height:34px!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .p50-tabs{overflow-x:auto!important;justify-content:flex-start!important;gap:5px!important}
html body[data-zoro-parity=r19p] #portal-main .z192-customer #p49-workspace .p50-tabs .p50-tab{flex:0 0 auto!important;width:auto!important;min-width:max-content!important;overflow:visible!important;font-size:12px!important;padding:7px 10px!important}
html body #portal-main.zm-main .zm-table td[data-col=permission]{display:none!important}
html body #portal-main.zm-main .zm-icon-btn::before,html body #portal-main.zm-main .zm-icon-btn::after{content:none!important;display:none!important}
}
