body.vf.client-book-view .main{background:#f7f8fa}
body.vf.client-book-view #scroll{padding:0;overflow:hidden;box-sizing:border-box}
body.vf.client-book-view #scroll>.top{display:none}
body.vf.client-book-view #scroll>.wrap{height:100%;max-width:none;margin:0;padding:0}
body.vf.client-book-view #v-clients.on{height:100%;min-height:0}
body.vf.client-book-view .bb-book{height:100%;box-sizing:border-box;overflow:auto;background:#f7f8fa;border-radius:0;padding:30px 32px;color:#435665}
.bb-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.bb-heading small{font-size:10px;letter-spacing:.14em;color:#81909a}
.bb-heading h2{font:400 32px/1.2 Cardo,Georgia,serif;letter-spacing:-.02em;margin:7px 0;color:#293b47}
.bb-heading p{font-size:12px;color:#7b8790;margin:0}
.bb-controls{display:flex;flex-direction:column;gap:16px}
.bb-phases{display:flex;gap:6px;flex-wrap:wrap}
.bb-phases button{font:500 12px/1.4 Arial,sans-serif;border:1px solid #e0e5e9;border-radius:7px;padding:7px 10px;color:#61717d;background:#fff}
.bb-phases button span{margin-left:5px;color:#87939b}
.bb-phases button[aria-pressed=true]{background:#e9f0f7;border-color:#cbd8e5;color:#456b94}
.bb-tools{display:grid;grid-template-columns:minmax(220px,1fr) 190px 190px;gap:10px}
.bb-tools input,.bb-tools select{min-width:0;height:38px;width:100%;box-sizing:border-box;font:13px Arial,sans-serif;background:#fafbfc;border:1px solid #dce2e7;border-radius:8px;padding:9px 12px;color:#435665}
.bb-result{font-size:12px;color:#81909a;margin:18px 0 10px}
.bb-table-wrap{overflow:auto;border:1px solid #c7d2dd;border-radius:8px;background:#fff}
.bb-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;font:13px/1.5 Arial,sans-serif;color:#4a5d6c}
.bb-table th{padding:14px;background:#dfe7ef;font:700 12px/1.4 Arial,sans-serif;color:#344b61;border-bottom:1px solid #bccbd9;box-shadow:inset -1px 0 #cbd6e0}
.bb-table th:nth-child(1){width:15%}.bb-table th:nth-child(2){width:24%}.bb-table th:nth-child(3){width:12%}.bb-table th:nth-child(4){width:15%}.bb-table th:nth-child(5){width:20%}.bb-table th:nth-child(6){width:14%}
.bb-table td{padding:16px 14px;border-bottom:1px solid #e7ecef;vertical-align:top;overflow-wrap:anywhere}
.bb-table tbody tr:nth-child(even)>td{background:#fafbfd}.bb-table tbody tr:hover>td{background:#f0f5fa}.bb-table tbody tr:last-child>td{border-bottom:0}
.bb-customer{font:600 13px/1.5 Arial,sans-serif;text-align:left;color:#344c60}
.bb-customer:hover{text-decoration:underline}
.bb-project-title{display:block;font-weight:600;color:#354b5d;margin-bottom:8px}
.bb-status{display:inline-block;font-size:10px;padding:3px 6px;border-radius:4px;background:#edf2f7;color:#526b82}
.bb-status-enquiry{background:#f6efe6;color:#89714f}.bb-status-completed{background:#ebf1ec;color:#5e7762}.bb-status-cancelled{background:#f0f0ee;color:#8a8b82}
.bb-chapter{font-weight:600;color:#425b72}.bb-table td strong:not(.bb-project-title){display:block;font-size:12px;font-weight:500}.bb-table time{display:block;font-size:11px;color:#84939d;margin-top:4px}
.bb-empty-value{font-size:12px;color:#94a0a8}.bb-next{font-size:12px;line-height:1.6}
.bb-open{font-size:12px;line-height:1.5;color:#456b94;text-align:left;white-space:nowrap}
.bb-back{font-size:12px;color:#758694;margin-right:auto;padding:5px 0;white-space:nowrap}
.bb-empty{padding:50px 20px;text-align:center}.bb-empty h3{font:400 23px Cardo,Georgia,serif;color:#506372}.bb-empty p{font-size:13px;color:#8b98a0}.bb-empty button{font-size:12px;color:#456b94;padding:10px}
.bb-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:900px){body.vf.ib-view .ib .ix-filter-lists:has(.bb-view-switch){flex-wrap:wrap;gap:8px}.bb-view-switch{margin-left:0;flex-basis:100%}.bb-view-switch button{flex:1}body.vf.ib-view .ib .bb-book{padding:18px 16px}.bb-heading h2{font-size:27px}.bb-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.bb-tools input{grid-column:1/-1}.bb-tools select{font-size:12px}.bb-table,.bb-table tbody,.bb-table tr,.bb-table td{display:block;width:auto}.bb-table thead{display:none}.bb-table tr{border:1px solid #e0e6eb;border-radius:10px;padding:16px;margin-bottom:12px}.bb-table td{padding:5px 0;border:0}.bb-table td[data-label]::before{content:attr(data-label);display:block;font-size:10px;letter-spacing:.03em;color:#8a98a2;margin-bottom:3px}.bb-table td:nth-child(1)::before,.bb-table td:nth-child(2)::before{display:none}.bb-customer{font-size:15px}.bb-project-title{font-size:14px}.bb-table td:last-child{padding-top:12px}.bb-open{padding:7px 0}.bb-table tr:hover td{background:none}}

.bb-table{min-width:960px}
@media(max-width:900px){.bb-table-wrap{border:0;background:transparent}.bb-heading{margin-bottom:14px}.bb-heading small{display:none}.bb-heading h2{font-size:25px;margin:0 0 6px}.bb-phases{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}.bb-phases button{flex:none;white-space:nowrap;padding:6px 9px;font-size:11px}.bb-controls{gap:10px}.bb-result{margin:12px 0 8px}.bb-table{min-width:0}}

.bb-heading h1{font:400 38px/1.2 Cardo,Georgia,serif;letter-spacing:-.02em;margin:0 0 8px;color:#293b47}
.bb-tabs{display:flex;gap:3px;padding:4px;background:#f3f5f7;border:1px solid #e0e6eb;border-radius:10px}
.bb-tabs button{font:600 13px/1.5 Arial,sans-serif;padding:9px 20px;border-radius:7px;color:#6a7a87}
.bb-tabs button[aria-selected=true]{background:#456b94;color:#fff;box-shadow:0 2px 4px #0000000d}
.bb-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;align-items:flex-start}
.bb-open{white-space:normal;font-weight:500}
.bb-message{font:12px/1.5 Arial,sans-serif;color:#7c8b96;text-align:left}
.bb-actions button{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-width:90px;padding:8px;font:600 12px/1.4 Arial,sans-serif;border:1px solid #bfccda;border-radius:6px;background:#fff;color:#456b94;cursor:pointer}.bb-actions .bb-message{background:#456b94;border-color:#456b94;color:#fff}.bb-actions .bb-open:hover{background:#edf3f9}.bb-actions .bb-message:hover{background:#365879}.bb-actions button:focus-visible{outline:2px solid #456b94;outline-offset:3px}
.bb-customer-tools{grid-template-columns:minmax(220px,1fr) 190px}
.bb-customers th:nth-child(1){width:22%}.bb-customers th:nth-child(2){width:13%}.bb-customers th:nth-child(3){width:12%}.bb-customers th:nth-child(4){width:18%}.bb-customers th:nth-child(5){width:18%}.bb-customers th:nth-child(6){width:17%}
.bb-customers .bb-status{display:block;width:fit-content;margin-top:7px}
.bb-chapters{display:block;font-size:11px;line-height:1.6;color:#81909a;margin-top:4px}
.bb-back{font-size:12px;color:#456b94;margin-right:auto;padding:5px 0;white-space:nowrap}
@media(max-width:900px){
 body.vf.client-book-view #scroll{padding:0;overflow:hidden}
 body.vf.client-book-view .bb-book{height:100%;min-height:0;padding:22px 16px}
 .bb-heading{gap:16px;align-items:flex-start;flex-direction:column}.bb-heading h1{font-size:28px}
 .bb-tabs{width:100%;box-sizing:border-box}.bb-tabs button{flex:1;padding:8px 14px}
 .bb-customer-tools{grid-template-columns:minmax(0,1fr)}.bb-customer-tools input{grid-column:auto}
 .bb-actions{flex-direction:row;gap:22px;align-items:center}
 .bb-customers .bb-chapters{font-size:12px}
}

.bb-heading p{font:12px/1.5 Arial,sans-serif}
.bb-table th{font-size:12px}

@media(max-width:900px){
 .bb-customers tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 16px}
 .bb-customers td:nth-child(1),.bb-customers td:nth-child(2),.bb-customers td:nth-child(5),.bb-customers td:nth-child(6){grid-column:1/-1}
 .bb-customers td:nth-child(2)::before{content:'Membership';display:inline-block;margin-right:8px}
 .bb-customers td:last-child{padding-top:6px}
}
.bb-spending>b{display:block;font:600 13px/1.5 Arial,sans-serif;color:#354b5d}
.bb-spending>small{display:block;font:11px/1.5 Arial,sans-serif;color:#81909a;margin-top:4px}
.bb-table td .bb-membership{font-size:10px;letter-spacing:.05em}


.bb-modes{display:flex;gap:3px;padding:3px;border:1px solid #c9d3dd;border-radius:7px;background:#f5f7fa;flex:none}
.bb-modes button{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;height:31px;padding:5px 10px;border-radius:4px;color:#71818d;font:600 12px Arial,sans-serif;cursor:pointer}
.bb-modes svg,.bb-mobile-view svg{width:19px;height:19px}
.bb-modes button[aria-pressed=true]{background:#456b94;color:#fff}
.bb-modes button:focus-visible{outline:2px solid #6485a5;outline-offset:2px}
body.vf.ib-view #scroll{padding:0;overflow:hidden}
body.vf.ib-view #scroll>.wrap{height:100%;max-width:none;margin:0;padding:0}
body.vf.ib-view #v-fup.on{display:flex;flex-direction:column;height:100%}
body.vf.ib-view #v-fup>.ib{flex:1;min-height:0;height:auto!important}
body.vf.ib-view .ib .ib-top .bb-shared-search{display:flex;flex:1;min-width:180px;margin:0;padding:0;border:0;background:transparent}
body.vf.ib-view .ib .ib-top .bb-shared-search .ib-q{width:100%;height:32px;margin:0}
body.vf.ib-view .ib .ib-top .ix-refinements{margin:0;min-width:110px}
body.vf.ib-view .ib[data-book-overview=true]{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;background:#f7f8fa}
body.vf.ib-view .ib[data-book-overview=true]::before{display:none}
body.vf.ib-view .ib[data-book-overview=true]>.ib-top{display:block!important;grid-column:1;grid-row:1;border-radius:0;background:#eaf0f5}
body.vf.ib-view .ib[data-book-overview=true]>:is(.ib-l,#ib-r,#ib-card,.ix-preview-toggle){display:none!important}
body.vf.ib-view .ib:not([data-book-overview=true])>.bb-book{display:none}
body.vf.ib-view .ib[data-book-overview=true]>.bb-book{display:block;grid-column:1;grid-row:2;height:auto;min-height:0;overflow:auto;background:#f7f8fa;padding:16px 0 0;border:0;border-radius:0}
.bb-overview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.bb-overview-toolbar .bb-tabs{padding:3px}.bb-overview-toolbar .bb-tabs button{padding:6px 14px}
.bb-overview-toolbar select{font:12px Arial,sans-serif;padding:9px;border:1px solid #cbd6df;border-radius:6px;background:#fff;color:#526779;max-width:190px}
.bb-table td>small{display:block;font-size:11px;line-height:1.6;color:#81909a;margin-top:4px}
.bb-customers.bb-client th:nth-child(1){width:16%}.bb-customers.bb-client th:nth-child(2){width:11%}.bb-customers.bb-client th:nth-child(3){width:20%}.bb-customers.bb-client th:nth-child(4){width:12%}.bb-customers.bb-client th:nth-child(5){width:12%}.bb-customers.bb-client th:nth-child(6){width:16%}.bb-customers.bb-client th:nth-child(7){width:13%}
.bb-customers.bb-prospect th:nth-child(1){width:17%}.bb-customers.bb-prospect th:nth-child(2){width:24%}.bb-customers.bb-prospect th:nth-child(3){width:15%}.bb-customers.bb-prospect th:nth-child(4){width:17%}.bb-customers.bb-prospect th:nth-child(5){width:14%}.bb-customers.bb-prospect th:nth-child(6){width:13%}
.bb-mobile-view{padding:7px!important}
@media(max-width:900px){
 body.vf.ib-view .ib .ib-top .bb-shared-search{flex-basis:100%;min-width:0}
 body.vf.ib-view .ib[data-book-overview=true]{padding:8px;gap:0}
 .bb-customers tr{display:block}.bb-customers td{display:block;padding:8px 0}
 .bb-customers td[data-label]::before{display:block}.bb-customers td:first-child::before{display:none}
 .bb-customers td:nth-child(2)::before{content:attr(data-label);display:block;margin:0 0 3px}
 .bb-customers td:last-child{padding-top:12px}
 body.vf.ib-view:not(.page-building) #scroll{padding-bottom:62px;box-sizing:border-box}
 .bb-overview-toolbar .bb-tabs{width:auto}.bb-overview-toolbar .bb-tabs button{padding:6px 9px}
 .bb-overview-toolbar select{min-width:0;max-width:150px}
}

body.vf.ib-view .main{background:#f7f8fa}
body.vf.ib-view .ib:not([data-page-builder=true]){padding:0!important;gap:0;background:#fff}
body.vf.ib-view .ib:not([data-page-builder=true])::before{display:none}
body.vf.ib-view .ib:not([data-page-builder=true])>.ib-top{grid-column:1/-1;grid-row:1;border-radius:0;background:#eaf0f5;border-bottom:1px solid #ccd6df}
body.vf.ib-view .ib:not([data-page-builder=true])>:is(.ib-l,#ib-r){border-radius:0;border-top:0;box-shadow:none}
body.vf.ib-view .ib:not([data-page-builder=true])>#ib-card{grid-row:2;grid-column:3;margin:0;background:#272727;border-radius:0}
body.vf.ib-view .ib[data-book-overview=true]>.bb-book{padding:16px;background:#f7f8fa}
body.vf.ib-view :is(.bb-modes button,.ix-tabs button,.ib-row){transition:background-color .14s ease,color .14s ease}
@media(max-width:900px){body.vf.ib-view .ib:not([data-page-builder=true])>:is(.ib-l,#ib-r,#ib-card){grid-column:1;border-radius:0}body.vf.ib-view .ib[data-book-overview=true]>.bb-book{padding:12px 10px}.bb-shared-search #ib-q{font-size:16px}}
@media(prefers-reduced-motion:reduce){body.vf.ib-view :is(.bb-modes button,.ix-tabs button,.ib-row){transition:none}}

@media(max-width:900px){body.vf.ib-view .ib .ix-filter-lists{flex-wrap:wrap;gap:8px}body.vf.ib-view .ib .ix-filter-lists>.ix-filter-group{flex-basis:100%;min-width:0}body.vf.ib-view .ib .ix-filter-lists .ib-grp{min-width:0;flex:1}body.vf.ib-view .ib .ix-filter-lists .bb-shared-search{flex-basis:100%}}

/* Shared search stays compact; the preview has a quiet stage and a fixed home for its control. */
@media(min-width:901px){
 body.vf.ib-view .ib .ib-top .bb-shared-search{flex:0 1 300px;min-width:180px;max-width:320px;margin-left:16px}
 body.vf.ib-view .ib .ib-top .ix-refinements{margin-left:12px}
 body.vf.ib-view .ib:not([data-page-builder=true])>#ib-card{background:linear-gradient(100deg,#f7f8fa,#e9eef2 40%,#edf0f2);padding:22px 24px 26px;gap:22px;justify-content:center}
 body.vf.ib-view .ib:not([data-page-builder=true])>#ib-card>.pg-bar{order:1;min-height:34px}
 body.vf.ib-view .ib:not([data-page-builder=true])>#ib-card>.ibc-ph{order:2;height:min(calc(100cqh - 100px),calc((100cqw - 36px)*664/312),760px)}
 body.vf.ib-view .ib:not([data-page-builder=true])>#ib-card .dvf.kq-ph{box-shadow:0 18px 42px #283b5020,0 2px 8px #283b501a,0 0 0 1px #9aa3ab}
 body.vf.ib-view .ib:not([data-page-builder=true])>#ib-card .cp-device-switch{background:#dde4ea;border-color:#cbd4dc}
 body.vf.ib-view .ib:not([data-page-builder=true])>#ib-card .cp-device-switch button{color:#6e7e8c}
 body.vf.ib-view .ib:not([data-page-builder=true])>#ib-card .cp-device-switch button[aria-pressed=true]{background:#fff;color:#456b94;box-shadow:0 1px 4px #283b5012}
 body.vf.ib-view .ib:not([data-page-builder=true])>#ib-card .cp-device-switch button:hover{background:#f5f7f9;color:#456b94}

}
@media(max-width:900px){body.vf.ib-view .ib .ib-top .bb-shared-search{max-width:none;margin-left:0}body.vf.ib-view .ib .ib-rows{max-height:none}body.vf.ib-view #ib-r .ix-workspace-modes>.ix-preview-toggle{display:none}}

/* The list and working conversation share one surface below the fixed toolbar. */
@media(min-width:901px){
 body.vf.ib-view .ib:not([data-page-builder=true]):not([data-book-overview=true]){background:#edf1f4}
 body.vf.ib-view .ib:not([data-page-builder=true]):not([data-book-overview=true])::before{display:block;grid-column:1/span 2;grid-row:2;margin:7px -1px 7px 7px;border:1px solid #b7c6d3;border-radius:19px;background:#fff;box-shadow:0 5px 18px #283b500a}
 body.vf.ib-view .ib:not([data-page-builder=true]):not([data-book-overview=true])>.ib-l{margin:8px 0 8px 8px;border-radius:18px 0 0 18px!important;border-right:1px solid #e0e6eb}
 body.vf.ib-view .ib:not([data-page-builder=true]):not([data-book-overview=true])>#ib-r{margin:8px 0;border-radius:0 18px 18px 0}
 body.vf.ib-view .ib:not([data-page-builder=true]):not([data-book-overview=true])>#ib-card{background:radial-gradient(ellipse at 70% 45%,#e3eaf0 0,#edf1f4 70%);padding-left:28px;padding-right:24px}
 body.vf.ib-view .ib:not([data-page-builder=true]):not([data-book-overview=true])[data-preview-collapsed=true]::before{margin-right:7px}
 body.vf.ib-view .ib:not([data-page-builder=true]):not([data-book-overview=true])[data-preview-collapsed=true]>#ib-r{margin-right:8px}
}

@media(min-width:901px){
 body.vf.ib-view .ib:not([data-page-builder=true])>.ix-preview-toggle{display:flex;grid-column:2;grid-row:2;align-self:center;justify-self:end;position:relative;z-index:3;width:28px;height:42px;margin:0 -14px 0 0;padding:4px;border:1px solid #b7c6d3;border-radius:8px;background:#f5f8fa;color:#5a7185;box-shadow:0 2px 6px #283b5012;cursor:pointer}
 body.vf.ib-view .ib:not([data-page-builder=true])>.ix-preview-toggle .ix-icon{width:19px;height:19px}
 body.vf.ib-view .ib:not([data-page-builder=true])>.ix-preview-toggle:hover{background:#e4edf4;color:#355979}
 body.vf.ib-view .ib:not([data-page-builder=true])>.ix-preview-toggle:focus-visible{outline:2px solid #6a88ab;outline-offset:2px}
 body.vf.ib-view .ib:not([data-page-builder=true])[data-preview-collapsed=true]>.ix-preview-toggle{margin-right:14px}
}
.bb-mobile-view{display:inline-flex;align-items:center;gap:5px;font-weight:600}
@media(max-width:900px){.bb-modes button{padding:5px 9px}.bb-modes svg{width:16px;height:16px}}

.bb-follow-through th:nth-child(1){width:18%}.bb-follow-through th:nth-child(2){width:26%}.bb-follow-through th:nth-child(3){width:25%}.bb-follow-through th:nth-child(4){width:13%}.bb-follow-through th:nth-child(5){width:18%}
.bb-follow-through .bb-situation{font-weight:600!important;color:#344c60;line-height:1.65}
.bb-client-membership{display:inline-flex;margin:6px 0 0;font-size:10px;max-width:100%;align-items:center}
.bb-client-membership .bb-membership{font-size:10px}
.bb-follow-through .bb-status{background:none;padding:0;font-size:11px;color:#7c8b96;margin-top:4px}
.bb-reasons{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.bb-evidence{padding:0;font:500 12px/1.6 Arial,sans-serif;text-align:left;color:#456b94;cursor:pointer;border-bottom:1px dotted #becbd8}
.bb-evidence:hover{color:#2e557b;border-bottom-style:solid}.bb-evidence:focus-visible{outline:2px solid #6485a5;outline-offset:3px}
.bb-reasons time{margin-top:2px}.bb-relationship{margin-top:9px;font-size:11px;color:#71818d}
.bb-relationship summary{cursor:pointer;color:#6a7f90;font-size:11px;list-style-position:inside}
.bb-relationship[open] summary{margin-bottom:7px}.bb-relationship .bb-spending{margin-top:7px}.bb-relationship .bb-spending>b{font-size:12px}
.bb-relationship>small{display:block;line-height:1.6;margin-top:3px}.bb-follow-through .bb-actions button{min-width:0;max-width:100%;line-height:1.5;padding:8px 10px}
.bb-action-detail{line-height:1.7}.bb-follow-through td{padding-top:18px;padding-bottom:18px}
@media(max-width:900px){
 .bb-follow-through tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px;padding:16px;margin:0 0 12px}
 .bb-follow-through td{padding:0!important;grid-column:1/-1}.bb-follow-through td:nth-child(4),.bb-follow-through td:nth-child(5){grid-column:auto}
 .bb-follow-through td:nth-child(2)::before{content:attr(data-label);display:block;margin:0 0 3px}.bb-follow-through td:last-child{padding:0!important}
 .bb-follow-through .bb-client-membership{margin-left:8px;margin-top:0}.bb-follow-through .bb-reasons{gap:8px}.bb-follow-through .bb-actions button{font-size:12px}
}
.bb-reasons li>small{display:block;font:11px/1.6 Arial,sans-serif;color:#81909a;margin-top:3px}
.bb-reasons .bb-evidence{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}
.bb-reasons li>small:first-of-type{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bb-more-actions{font:11px/1.6 Arial,sans-serif;color:#71818d;margin-top:10px}
.bb-more-actions>summary{cursor:pointer;color:#456b94;list-style-position:inside}.bb-more-actions[open]>summary{margin-bottom:10px}
