.customer-detail-page{background:color-mix(in oklch, var(--secondary) 65%, var(--background));min-width:0}.customer-detail-page .customer-card{border:1px solid var(--border);background:var(--card);border-radius:12px}.customer-detail-page .customer-fields>div{border-bottom:1px solid var(--border);grid-template-columns:minmax(70px,auto) minmax(0,1fr);gap:12px;padding-block:7px;display:grid}.customer-detail-page .customer-fields>div:last-child{border-bottom:0}.customer-detail-page .customer-fields>div>div:last-child{text-align:end;white-space:normal;overflow-wrap:anywhere}.customer-detail-page .customer-profile-content{display:block}.customer-detail-page .customer-profile-content>.customer-field{display:none}.customer-detail-page .customer-profile-content>.customer-field-business{display:grid}.customer-detail-page .customer-profile-header{padding:14px 16px 0}.customer-detail-page .customer-profile-content{padding:8px 16px 14px}.customer-detail-page .customer-profile-header button{min-height:44px}.customer-detail-page .customer-tabs{background:var(--card);border-bottom:1px solid var(--border);border-radius:12px 12px 0 0;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%;height:auto;padding:6px;display:grid}.customer-detail-page .customer-tabs>button{white-space:normal;min-width:0;min-height:44px}.customer-detail-page .customer-tabs>button[data-state=active]{background:var(--secondary);color:var(--primary);box-shadow:none}.customer-detail-page .customer-collection>li{padding:14px 0}.customer-detail-page .customer-collection>li:first-child{padding-top:0}.customer-detail-page .customer-scroll,.customer-history-dialog .customer-timeline-events{scrollbar-gutter:stable;overscroll-behavior:contain;padding-inline-end:16px;overflow:hidden auto}.customer-detail-page .customer-work-content{margin:0;padding:16px}.customer-detail-page .customer-work-content>section,.customer-detail-page .customer-timeline-body{min-width:0}.customer-detail-page .customer-timeline-body>.customer-timeline-list{box-shadow:none;border:0}.customer-detail-page .customer-timeline-body>.customer-timeline-list>div{padding:0}.customer-history-dialog{flex-direction:column;width:calc(100vw - 24px);max-width:1100px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);display:flex;overflow:hidden}.customer-history-dialog .customer-timeline-body,.customer-history-dialog .customer-timeline-list,.customer-history-dialog .customer-timeline-list>div{flex-direction:column;flex:1;min-height:0;display:flex}.customer-history-dialog .customer-timeline-events{flex:1;min-height:0}.customer-history-dialog button,.customer-history-dialog [role=combobox]{min-height:44px}.customer-timeline-heading{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.customer-timeline-heading h2{flex:1;min-width:100px}@media (width>=64rem){.customer-detail-overview{flex-direction:column;min-height:calc(100dvh - 64px);display:flex}.customer-detail-page .customer-header{align-items:center;gap:16px;display:flex}.customer-detail-page .customer-identity{flex:1}.customer-detail-page .customer-main{flex:1;min-height:480px}.customer-detail-page .customer-workspace{contain:size;flex-direction:column;min-height:480px;display:flex}.customer-detail-page .customer-tabs{flex-wrap:wrap;flex:none;display:flex}.customer-detail-page .customer-tabs>button{flex:1;min-height:36px}.customer-detail-page .customer-work-content[data-state=active]{flex-direction:column;flex:1;min-height:0;display:flex}.customer-detail-page .customer-paged-section{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.customer-detail-page .customer-scroll{flex:1;min-height:0}.customer-detail-page .customer-actions>*,.customer-detail-page .customer-back{height:36px;min-height:36px}.customer-detail-page .customer-timeline-body,.customer-detail-page .customer-timeline-list,.customer-detail-page .customer-timeline-list>div{flex-direction:column;flex:1;min-height:0;display:flex}.customer-detail-page .customer-timeline-events{scrollbar-gutter:stable;flex:1;min-height:0;padding-inline-end:16px;overflow-y:auto}.customer-detail-page .customer-fields>div{padding-block:6px}}.lead-detail-page{--lead-detail-shadow:0 2px 8px color-mix(in oklch, var(--foreground) 4%, transparent);background:color-mix(in oklch, var(--secondary) 65%, var(--background))}.lead-detail-page .lead-detail-card{box-shadow:var(--lead-detail-shadow);border-radius:12px}.lead-detail-page dd a,.lead-detail-page dd button{white-space:normal;overflow-wrap:anywhere;min-height:44px}.lead-detail-page dd a{align-items:center;display:inline-flex}.lead-detail-page dd button{height:auto}@media (width<=63.99rem){.lead-detail-page .lead-detail-header{grid-template-columns:minmax(0,1fr)}}@media (width>=64rem){.lead-detail-page{margin-block:-16px;padding-block:0}.lead-detail-overview{flex-direction:column;gap:12px;min-height:calc(100dvh - 48px);padding-bottom:0;display:flex}.lead-detail-overview>*{margin-block:0}.lead-detail-header{gap:12px}.lead-detail-avatar{width:44px;height:44px}.lead-detail-identity h1{font-size:22px;line-height:28px}.lead-detail-page button,.lead-detail-page [role=radio],.lead-detail-page [role=tab],.lead-detail-page .lead-detail-actions a,.lead-detail-page .lead-detail-back,.lead-detail-page [aria-label=סטטוסים\ ופעולות]>li>span{height:auto;min-height:36px}.lead-detail-page dd a{min-height:20px}.lead-detail-page dd button{min-height:22px;padding-block:0}.lead-detail-page .lead-detail-card{padding:10px 12px}.lead-detail-page .lead-detail-card h2{margin-bottom:4px;font-size:14px;line-height:20px}.lead-detail-page .lead-detail-card h2 svg{width:16px;height:16px}.lead-detail-page .lead-detail-row{gap:8px;min-height:22px;padding-block:1px;line-height:18px}.lead-detail-main,.lead-detail-main>aside,.lead-detail-secondary{gap:12px}.lead-detail-main{flex:1;min-height:400px}.lead-detail-page .lead-detail-activity{contain:size;flex-direction:column;min-height:400px;padding:0;display:flex}.lead-detail-activity>[role=tablist]{flex:none}.lead-detail-page .lead-detail-activity-content[data-state=active]{flex-direction:column;flex:1;gap:10px;min-height:0;padding:12px;display:flex}.lead-detail-activity-content>*{margin-block:0}.lead-detail-history h3{font-size:14px;line-height:20px}.lead-detail-history{flex-direction:column;flex:1;gap:6px;min-height:0;display:flex}.lead-detail-history>*{flex:none;margin-block:0}.lead-detail-history .lead-detail-events{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:48px;overflow-y:auto}.lead-detail-events>li{gap:8px;padding-block:6px}.lead-detail-page .lead-detail-quotes-content[data-state=active]{flex:1;min-height:0;padding:12px;overflow-y:auto}.lead-detail-secondary>section:first-child>dl{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);gap:0 16px;display:grid}.lead-detail-secondary>section:first-child .lead-detail-row:last-child{grid-column:1/-1}.lead-detail-secondary .lead-detail-row{grid-template-columns:auto minmax(0,1fr);align-items:start;display:grid}.lead-detail-secondary>section:first-child .lead-detail-row:not(:last-child){grid-template-columns:minmax(0,1fr);gap:2px}.lead-detail-secondary>section:first-child .lead-detail-row:not(:last-child) dd{text-align:start}.lead-detail-page [aria-labelledby=lead-status-h]{gap:8px;padding-block:8px}.lead-detail-page [aria-labelledby=lead-status-h] h2{margin:0}.lead-detail-page [aria-labelledby=lead-status-h]>p{flex:1;min-width:120px;font-size:11px}.lead-detail-page [aria-label=סטטוסים\ ופעולות]>li>*{padding-inline:10px}}.lead-detail-page .lead-detail-composer{grid-template-columns:minmax(0,4fr) minmax(0,1fr);align-items:stretch;gap:8px;display:grid}.lead-detail-page .lead-detail-composer textarea,.lead-detail-page .lead-detail-composer>button{min-width:0;height:64px;min-height:64px}.lead-detail-page .lead-detail-composer>button{white-space:normal;padding-inline:8px}.lead-detail-composer>[role=alert]{grid-column:1/-1}.lead-detail-history>div:first-child{flex-wrap:wrap;display:flex}.lead-detail-history>div:first-child h3{flex:1;min-width:120px}.lead-detail-history-expand{min-height:44px}.lead-detail-history-dialog{flex-direction:column;width:calc(100vw - 24px);max-width:1100px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);padding:16px;display:flex;overflow:hidden}.lead-detail-history-dialog .lead-detail-history{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex}.lead-detail-history-dialog .lead-detail-history>*{flex:none;margin-block:0}.lead-detail-history-dialog .lead-detail-events{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;overflow-y:auto}.lead-detail-history-dialog button,.lead-detail-history-dialog [role=combobox]{min-height:44px}@media (width<=40rem){.lead-detail-page .lead-detail-composer{grid-template-columns:minmax(0,1fr) 92px}.lead-detail-history-dialog{padding:12px}.lead-detail-history-dialog [data-table-pager]>div{flex-wrap:wrap}.lead-detail-history [role=combobox]{min-height:44px}}.lead-detail-page .lead-detail-events,.lead-detail-history-dialog .lead-detail-events{scrollbar-gutter:stable;padding-inline-end:16px;overflow-x:hidden}
