/* Suggestions remain inside the existing header stacking context. */
body.has-crm-navigation .topbar .header-smart-search .header-smart-search-panel { overflow: visible !important; }
.smart-suggestions {
 position: absolute; top: calc(100% + 7px); right: 0; z-index: 8;
 width: min(440px, calc(100vw - 24px)); min-width: 100%;
 max-height: min(65dvh, 480px); overflow-y: auto; overscroll-behavior: contain;
 border: 1px solid #dce4ef; border-radius: 16px;
 background: #fff; color: #172033; box-shadow: 0 14px 40px rgba(15,23,42,.19);
 padding: 6px; text-align: left;
}
.smart-suggestions[hidden] { display: none !important; }
.topbar .smart-suggestion {
 display: flex; flex-direction: column; gap: 4px; padding: 11px 10px;
 min-height: 52px; border-radius: 10px; color: #172033;
 text-decoration: none; white-space: normal;
}
.topbar .smart-suggestion:hover,
.topbar .smart-suggestion[aria-selected="true"] {
 background: color-mix(in srgb, var(--brand, #ff8a00) 12%, #fff);
}
.smart-suggestion-title { display: flex; gap: 8px; font-size: 12px; line-height: 1.4; }
.smart-suggestion-title b { white-space: nowrap; color: var(--brand, #f97316); }
.smart-suggestion-title > span { overflow-wrap: anywhere; font-weight: 800; }
.smart-suggestion-meta { font-size: 11px; line-height: 1.4; color: #64748b; overflow-wrap: anywhere; }
.smart-suggestions-note { padding: 8px 10px; color: #64748b; font-size: 11px; line-height: 1.4; }
.topbar .smart-suggestions-all {
 display: block; width: 100%; min-height: 40px; padding: 8px;
 border: 0; border-radius: 10px; background: #f1f5f9; color: #334155;
 font: inherit; font-size: 11px; font-weight: 800; cursor: pointer;
}
@media (max-width:1100px) {
 .smart-suggestions { width: 100%; min-width: 0; }
}

/* Shared assisted-search rows: customer-first, two lines, readable typography. */
.new-order-page .phone-suggestions { border-left-width: 1px; padding: 6px; gap: 4px; }
.topbar .smart-suggestion,
.new-order-page .phone-suggestion-item {
 display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: center;
 gap: 10px; min-width: 0; min-height: 64px; padding: 10px 12px;
 border: 0; border-left: 3px solid var(--brand, #ff7a00); border-radius: 10px;
 background: var(--panel, #fff); color: var(--text, #182033); font-family: inherit;
}
.topbar .smart-suggestion-icon,
.new-order-page .phone-suggestion-icon {
 display: grid; width: 36px; height: 36px; place-items: center;
 border: 1px solid #fed7aa; border-radius: 10px; background: #fff7ed; font-size: 18px;
}
.smart-suggestion-copy,
.new-order-page .phone-suggestion-copy { display: grid; min-width: 0; gap: 3px; }
.smart-suggestion-title,
.new-order-page .phone-suggestion-heading {
 display: flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap;
}
.smart-suggestion-title > span,
.new-order-page .phone-suggestion-heading strong {
 flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
 color: var(--text, #182033); font-size: max(14px, calc(15px * var(--goic-simple-text-scale, 1)));
 font-weight: 800; line-height: 1.3;
}
.smart-suggestion-title b,
.new-order-page .phone-suggestion-phone {
 flex: 0 0 auto; color: var(--text, #182033);
 font-size: max(13px, calc(14px * var(--goic-simple-text-scale, 1)));
 font-weight: 600; line-height: 1.3; white-space: nowrap;
}
.smart-suggestion-meta,
.new-order-page .phone-suggestion-copy small {
 display: block; min-width: 0; color: var(--muted, #6b7280);
 font-size: max(12px, calc(12px * var(--goic-simple-text-scale, 1)));
 font-weight: 500; line-height: 1.4;
 white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar .smart-suggestion:hover,
.topbar .smart-suggestion[aria-selected="true"],
.new-order-page .phone-suggestion-item:hover,
.new-order-page .phone-suggestion-item:focus-visible { background: var(--panel-soft, #fff7ed); }
