.crm-workflow-nav,.crm-segmented,.kpi-workspace-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:4px;background:#f3f5f8;border:1px solid #e1e6ec;border-radius:6px;width:fit-content;max-width:100%;margin:0 0 12px;flex-shrink:0}
.crm-workflow-nav button,.crm-segmented button,.kpi-workspace-tabs button{appearance:none;border:1px solid transparent;border-radius:4px;background:transparent;padding:7px 12px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;color:#526074;cursor:pointer;min-height:34px}
.crm-workflow-nav button[aria-current=page],.crm-segmented button[aria-pressed=true],.kpi-workspace-tabs button[aria-current=page]{color:#2456d0;background:#fff;border-color:#dbe2ed;box-shadow:0 1px 2px #17283b0a}
.crm-workflow-nav button:hover,.crm-segmented button:hover,.kpi-workspace-tabs button:hover{background:#e7edf8}
.crm-workflow-nav button:focus-visible,.crm-segmented button:focus-visible,.kpi-workspace-tabs button:focus-visible{outline:2px solid #315cff;outline-offset:1px}
.conversation-inbox>.pagehead .crm-workflow-nav{margin:0}
.acq-workspace>.crm-workflow-nav{margin:0 0 8px}
.conversation-inbox>.crm-workflow-nav,.tf-tasks>.crm-workflow-nav{margin:0 0 8px}
html body .sidebar .owner-workspace-link,html body .sidebar .owner-workspace-link.on{font-weight:500;white-space:nowrap;min-height:40px}
html body .sidebar .owner-workspace-link>svg{flex-shrink:0}
html body .sidebar .owner-workspace-link>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
html body .main:has(> .tf-tasks){max-width:none;min-width:0;padding:12px 16px 10px;background:#f5f7fa}
.tf-tasks>.pagehead{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;min-height:42px;margin:0 0 10px;padding:0;border:0}
html body .tf-tasks>.pagehead h1{font-size:18px;line-height:1.4;font-weight:650;margin:0;letter-spacing:0}
.tf-tasks>.pagehead .actions{display:flex;gap:6px}
.tf-tasks>.pagehead .btn{min-height:32px;padding:5px 9px;font-size:12px;box-shadow:none}
.tf-tasks .tf-task-filters{gap:8px;margin-bottom:8px}
.tf-tasks .tf-task-filters input,.tf-tasks .tf-task-filters select{height:34px;min-height:34px;padding:6px 10px;font-size:13px;border-radius:6px}
.tf-tasks .tf-task-scope{margin:0 0 8px}
.tf-tasks .tf-task-scope summary{margin-bottom:0;font-size:12px}
.tf-tasks .tf-task-scope[open] summary{margin-bottom:8px}
.tf-task-result-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.tf-tasks .tf-task-result-toolbar .tf-task-sort{order:2;margin:0;font-size:12px}
.tf-tasks .tf-task-result-toolbar .tf-task-tabs{order:1;margin:0;flex-wrap:wrap}
.tf-tasks .tf-task-sort select{height:32px;padding:5px 9px;font-size:12px}
.tf-tasks .tf-task-sync{font-size:11px;margin:0 0 8px;color:#738096}
.business-contacts>.cg-pagehead{margin-bottom:24px}
.business-contacts>.cg-pagehead p{display:block;font-size:13px;color:#79869a;line-height:1.5;margin:8px 0 0}
.business-contacts>.contacts-tabs{border:0;padding-bottom:0;margin-bottom:18px}
@media(max-width:900px){html body .main:has(> .tf-tasks){padding:10px 10px 76px}}
.iu-toolbar .crm-segmented{margin:0}
.iu-card-head:has(.crm-segmented){flex-wrap:wrap;gap:12px}
.iu-card-head .iu-toolbar{flex-wrap:wrap;max-width:100%}
.tcpa-disclosure{max-width:920px;padding:12px 0 0;color:#647184;font-size:12px;line-height:1.6}
.tcpa-disclosure p{margin:3px 0}
.tcpa-disclosure .tcpa-permission{border-left:3px solid #d5a13f;padding:6px 12px;margin-top:10px;background:#fffbef;color:#735622}
.cg-title-database{padding:0;border:0;box-shadow:none}
.cg-title-database-head{margin:12px 0;gap:12px}
.cg-title-database-head>div{display:none}
.cg-title-database-head input{width:min(520px,100%);min-width:0!important}
.cg-title-database .cg-title-layout{display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0;max-width:100%}
.cg-title-results,#cgTitleCards{width:100%;max-width:100%;min-width:0}
.pagehead:has(+.cg-title-database){flex-wrap:wrap;gap:12px;align-items:center}
#cgTitleEditor>summary{cursor:pointer;color:#2456d0;font-weight:600;padding:9px 0}
#cgTitleEditor .cg-title-form{max-width:800px;border-radius:6px;margin-top:8px}
.cg-title-table{min-width:1000px}
.cg-title-table td{max-width:260px}
.cg-title-table summary{cursor:pointer;color:#2456d0}
.cg-title-table .btn{font-size:12px;padding:5px 8px;min-height:28px;white-space:nowrap}
.cg-title-table .actions{display:flex;flex-wrap:wrap;gap:5px;min-width:190px}
.cg-title-table details[open] .btn{display:block;margin-top:5px}
.daily-admin-notes{max-width:none!important;padding:20px 24px!important}
.daily-admin-notes .pagehead{margin-bottom:16px}
.daily-note-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.daily-note-toolbar input{width:min(520px,100%);min-width:0;height:36px;padding:8px 12px;border:1px solid #d8e0e9;border-radius:6px}
.daily-note-list{border-top:1px solid #e1e6ec}
.daily-note-row{padding:12px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}
.daily-note-row:nth-child(even){background:#fafbfc}
.daily-note-row h2{font-size:14px!important;margin:3px 0!important}
.daily-note-row p{font-size:13px;margin:4px 0!important;overflow-wrap:anywhere;white-space:pre-wrap}
.daily-note-row-actions{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}
.daily-note-row-actions .btn{font-size:12px!important;min-height:30px;padding:5px 9px!important;border-radius:5px!important}
.golden-page .golden-hero{background:#fff;border:0;border-bottom:1px solid #e1e6ec;border-radius:0;color:#172536;padding:12px 0 16px;box-shadow:none}
.golden-page .golden-hero h1{font-size:24px;letter-spacing:0;color:#172536}
.golden-page .golden-hero p,.golden-page .golden-kicker{display:none}
.golden-page .golden-tabs{background:transparent;border-radius:0;border-bottom:1px solid #dde4ec;display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:8px 0}
.golden-page .golden-tabs button,.golden-page .golden-tabs summary{font-size:13px;padding:8px 10px;border-radius:5px;cursor:pointer}
.golden-page .golden-tabs details[open]{display:flex}
.golden-page .golden-card{border-radius:6px;box-shadow:none}
.golden-page .golden-results-card{padding:12px 0;border:0;box-shadow:none}
.golden-page .golden-results-kpis{gap:8px}
.golden-page .golden-results-kpis button{border-radius:6px;padding:12px}
.hit-action-meter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
.hit-action-meter button{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #dbe2e9;background:#f6f8fa;border-radius:6px;padding:12px;font:inherit;text-align:left;cursor:pointer}
.hit-action-meter button b{font-size:22px}
.hit-action-meter button span{font-size:12px}
.hit-action-meter .hot{background:#eefaf3;border-color:#b6dec7;color:#18764b}
.hit-action-meter .warm{background:#fffbef;border-color:#ecd49a;color:#95691b}
.hit-action-meter button[aria-pressed=true]{outline:2px solid #315cff;outline-offset:1px}
.hit-action-label{font-size:11px;color:#5e6b7b;max-width:130px}
.hit-action-label.hot{color:#18764b}
.hit-action-label.warm{color:#95691b}
.hit-action-label meter{display:block;width:85px;height:10px;margin-top:3px}
.email-hub{max-width:none!important;padding:16px 24px!important}
.email-hub .pagehead{margin-bottom:12px}
.email-hub .pagehead p{font-size:12px;margin:4px 0}
.email-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:520px;height:calc(100dvh - 240px);border:1px solid #dde4ec;border-radius:6px;overflow:hidden}
.email-list{overflow:auto;background:#f7f9fb;border-right:1px solid #dde4ec}
.email-list>p{padding:16px;font-size:13px}
.email-list-row{display:flex;flex-direction:column;gap:5px;width:100%;border:0;border-bottom:1px solid #e2e7ee;background:transparent;padding:14px;text-align:left;color:#253449;cursor:pointer;font-family:inherit;overflow-wrap:anywhere}
.email-list-row b{font-size:13px;font-weight:500}
.email-list-row.unread b{font-weight:700}
.email-list-row span,.email-list-row small{font-size:12px;color:#657487}
.email-list-row.selected{background:#eaf0ff;box-shadow:inset 3px 0 #315cff}
.email-list-row:hover{background:#edf2fa}
.email-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;position:sticky;bottom:0;background:#f7f9fb;font-size:12px}
.email-pagination .btn{font-size:12px;padding:5px 8px}
.email-reader{overflow:auto;padding:20px;min-width:0;background:white}
.email-message{border-bottom:1px solid #e2e7ee;padding-bottom:18px;margin-bottom:20px}
.email-message h2{font-size:18px;overflow-wrap:anywhere;margin:0 0 10px}
.email-message header p,.email-message header small{font-size:12px;color:#667487;overflow-wrap:anywhere}
.email-message pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:14px;line-height:1.65;margin-top:22px}
.email-empty{color:#788494;text-align:center;padding:80px 12px;font-size:14px}
.email-compose{display:flex;flex-direction:column;gap:14px;margin-top:12px}
.email-compose h2{font-size:18px;margin:0}
.email-compose label{display:flex;flex-direction:column;gap:6px;font-size:13px}
.email-compose input,.email-compose textarea{width:100%;box-sizing:border-box;border:1px solid #ced8e4;padding:10px;border-radius:6px;font:inherit}
.email-compose textarea{min-height:230px;resize:vertical}
.email-compose .actions{display:flex;gap:8px;flex-wrap:wrap}
.email-compose-close{float:right}
@media(max-width:900px){.daily-note-row{grid-template-columns:minmax(0,1fr)}.daily-note-row-actions{justify-content:flex-start}.email-workspace{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:600px){.crm-workflow-nav button,.crm-segmented button{padding:6px 8px;font-size:12px}.hit-action-meter{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-note-toolbar{flex-wrap:wrap}.daily-admin-notes,.email-hub{padding:12px!important}.email-workspace{grid-template-columns:minmax(0,1fr);height:auto;min-height:500px}.email-list{max-height:260px;border-right:0;border-bottom:1px solid #dde4ec}.email-reader{min-height:300px;padding:14px}.email-hub .pagehead{flex-wrap:wrap}}
/* The phone is a compact overlay; opening it must not resize the CRM workspace. */
html body .renew-phone.renew-telnyx-phone:not(.is-minimized),html body.crm-opportunity-open .renew-phone.renew-telnyx-phone:not(.is-minimized){top:76px;right:18px;bottom:auto;left:auto;width:min(370px,calc(100vw - 24px));height:min(530px,calc(100dvh - 94px));border:1px solid #ced8e9;border-radius:8px;box-shadow:0 12px 36px #17264326;overflow:hidden}
html body:has(.renew-phone.renew-telnyx-phone:not(.is-minimized)) #app{margin-right:0;padding-top:0}
html body:has(.renew-phone.renew-telnyx-phone:not(.is-minimized)) .crm-browser-modal{right:0;top:0}
html body:has(.renew-phone.renew-telnyx-phone:not(.is-minimized)) .topbar{top:0}
html body .renew-phone.renew-telnyx-phone:not(.is-minimized)>header{height:48px;min-height:48px;padding:8px 12px;background:#13734b}
html body .renew-phone.renew-telnyx-phone:not(.is-minimized) .renew-phone-body{height:calc(100% - 48px)}
html body .renew-phone.renew-telnyx-phone.is-minimized{border-color:#13734b;background:#13734b;box-shadow:0 2px 6px #13734b26}
html body .renew-phone.renew-telnyx-phone>header{background:#13734b;color:#fff;border-bottom:0}
html body .renew-phone.renew-telnyx-phone>header button{color:#fff;background:transparent;border-color:#ffffff50;cursor:pointer;flex-shrink:0}
html body .renew-phone.renew-telnyx-phone>header .renew-phone-heading{display:flex;flex:1;justify-content:space-between;gap:8px;width:auto;height:32px;min-width:0;margin-right:8px;padding:0;border:0;font:inherit;text-align:left}
html body .renew-phone.renew-telnyx-phone .renew-phone-heading strong{white-space:nowrap;font-weight:650}
html body .renew-phone.renew-telnyx-phone .renew-phone-heading strong svg{color:#fff}
html body .renew-phone.renew-telnyx-phone .renew-phone-status{color:#e2f5eb;font-weight:500}
html body .renew-phone.renew-telnyx-phone>header button:hover{background:#ffffff18}
html body .renew-phone.renew-telnyx-phone>header button:focus-visible{outline:2px solid #fff;outline-offset:2px}
html body .renew-phone.renew-telnyx-phone.is-minimized .renew-phone-heading strong svg{display:none}
html body .renew-phone.renew-telnyx-phone.is-minimized>header .renew-phone-heading{height:28px}
html body .renew-phone.renew-telnyx-phone[data-active-call=true]>header{background:#0b5b3a}
@media(max-width:900px){html body .renew-phone.renew-telnyx-phone.is-minimized>header .renew-phone-heading{display:none}html body .renew-phone.renew-telnyx-phone.is-minimized>header button{border:0}}
.crm-browser-modal .opportunity-communication-bar{display:none}
