/* Shared top navigation: the data body scrolls, not the view/category controls. */
#page-customers.fg-enabled{padding:0;height:100%;}
#page-customers.fg-enabled .customer-controls-line{padding:0 16px;justify-content:flex-start;min-height:0;}
#page-customers .customer-controls-line .customer-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;min-width:0;}
#page-customers .customer-controls-line .fg-modes{flex-shrink:0;}
.fg-footer{justify-content:flex-end;}

/* The whole note area accepts hover, including the space around a short record. */
.crm-table td[data-label="开发跟进"],.crm-table td[data-label="业务跟进"]{position:relative;}
.crm-table .compact-note{min-height:48px;padding:5px 6px;border-radius:6px;width:100%;}
.crm-table .compact-note:hover,.crm-table .compact-note:focus-visible{background:#eaf5ef;outline:1px solid #cce3d6;outline-offset:-1px;}
.next-hover{width:min(460px,calc(100vw - 24px));max-height:min(520px,calc(100dvh - 24px));padding:0;overflow:hidden;display:flex;flex-direction:column;border-radius:12px;box-shadow:0 12px 36px #193f3026;}
.followup-preview-head{display:flex;gap:8px;align-items:center;padding:13px 16px;border-bottom:1px solid #e3ece7;flex-shrink:0;}
.followup-preview-head>div{flex:1;min-width:0;}
.followup-preview-head strong{display:block;font-size:13px;}
.followup-preview-head small{display:block;font-size:11px;color:#738b7c;margin-top:4px;overflow-wrap:anywhere;}
.followup-preview-head button{border:1px solid #dce7df;background:#fff;color:#426754;border-radius:6px;padding:5px 8px;cursor:pointer;font-size:12px;white-space:nowrap;}
.followup-preview-head [aria-pressed="true"]{background:#dff3e9;border-color:#79b99a;}
.followup-preview-feed{padding:4px 16px 12px;overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;user-select:text;}
.next-hover .next-note p{font-size:13px;line-height:1.8;}
.next-hover .next-note{padding:7px 0 11px 12px;}
