#sales-context-tabs[hidden]{display:none}
#sales-context-tabs a:focus-visible,.sales-action-list button:focus-visible,.dashboard-management>summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
#sales-context-tabs{display:flex;align-items:center;justify-content:flex-start;gap:4px 8px;flex-wrap:wrap;min-width:0;margin:0 0 18px;border-bottom:1px solid var(--line);padding-bottom:8px}
#sales-context-tabs>a{display:inline-flex;align-items:center;flex:0 0 auto;white-space:nowrap;padding:8px 12px;border-radius:6px;color:var(--text-muted);text-decoration:none;font-size:14px;line-height:22px}
#sales-context-tabs a[aria-current=page]{color:var(--primary);background:var(--panel-2);font-weight:600}
.dmtk-ai>summary,.touch-settings>summary{cursor:pointer;color:var(--primary);padding:8px 0}
.dmtk-ai[open]{padding-bottom:6px}
.dmtk-search{display:flex;gap:8px;flex-wrap:wrap}
.dmtk-search>input{flex:1 1 190px;min-width:0}
.dmtk-search>select{flex:0 1 150px;min-width:0}
.dmtk-search>.btn{flex:none}
.dmtk-receiver-list{max-height:210px;overflow:auto;border:1px solid var(--line);border-radius:8px;margin-top:8px;background:var(--panel)}
.dmtk-receiver{display:flex;align-items:center;gap:9px;padding:8px 10px;border-bottom:1px solid var(--line);cursor:pointer}
.dmtk-receiver:last-child{border-bottom:0}
.dmtk-receiver:hover{background:var(--panel-2)}
.dmtk-receiver input{width:auto;flex:none}
.dmtk-selected{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}
.dmtk-selected strong{font-size:12px}
.dmtk-chip{border:1px solid var(--line);border-radius:14px;padding:3px 9px;background:var(--panel-2);color:var(--text);cursor:pointer;font:inherit;font-size:12px}
.dmtk-form{width:100%;max-width:1040px;margin:0 auto;display:grid;gap:20px;min-width:0}
#modal .dmtk-form>.form-row,#modal .dmtk-main>.form-row{margin:0;min-width:0}
#modal .dmtk-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,1.5fr);gap:12px;align-items:start}
#modal .dmtk-main select{width:100%;min-width:0;text-overflow:ellipsis}
#modal .dmtk-settings-section h3,#modal .dmtk-form .dmtk-section-label{font-size:15px;font-weight:600;line-height:1.5;color:var(--text);margin:0 0 12px}
#modal .dmtk-section-note{font-size:12px;font-weight:400;color:var(--text-muted);margin-left:10px}
#modal .dmtk-recipient-section{border-top:1px solid var(--line);padding-top:18px}
#modal .dmtk-search{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,200px) auto;gap:10px;align-items:stretch}
#modal .dmtk-search>input,#modal .dmtk-search>select{width:100%;min-width:0}
#modal .dmtk-search>.btn{height:42px;min-width:80px}
#modal .dmtk-selected{margin:10px 0;align-items:center;gap:7px;max-height:80px;overflow:auto}
#modal .dmtk-chip{max-width:100%;overflow-wrap:anywhere}
#modal .dmtk-receiver-list{max-height:192px;margin:0}
#modal .dmtk-receiver-list>.hint{margin:0;padding:16px;text-align:center}
#modal .dmtk-receiver-list .dmtk-receiver{display:flex;align-items:center;gap:12px;min-height:48px;margin:0;padding:8px 12px;color:var(--text);font-size:13px;font-weight:400;line-height:1.45}
#modal .dmtk-receiver:has(input:checked){background:var(--primary-plain)}
#modal .dmtk-receiver input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;margin:0}
#modal .dmtk-receiver span{min-width:0;overflow-wrap:anywhere}
#modal .dmtk-receiver strong{display:block;font-size:13px;font-weight:500}
#modal .dmtk-receiver small{display:block;font-size:12px;color:var(--text-muted);margin-top:2px}
#modal .dmtk-list-footer{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-top:10px}
#modal .dmtk-list-footer .dmtk-assigned-toggle{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:12px;font-weight:400;line-height:1.5;cursor:pointer}
#modal .dmtk-list-footer .dmtk-assigned-toggle input{width:16px;height:16px;margin:0;flex:none}
#modal .dmtk-list-footer .hint{flex:1 1 330px;margin:0;text-align:right}
#modal .dmtk-message-section{border-top:1px solid var(--line);padding-top:18px}
#modal .dmtk-message-section textarea{min-height:104px;resize:vertical}
#modal .dmtk-ai{margin-top:6px}
#modal .dmtk-ai-prompt{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:8px 0 10px}
#modal .dmtk-ai-prompt>input{min-width:0}
#modal .dmtk-ai-prompt>.btn{height:42px}
@media(max-width:800px){#modal .dmtk-main{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#modal .dmtk-search{grid-template-columns:minmax(0,1fr) auto}#modal .dmtk-search>input{grid-column:1/-1}#modal .dmtk-list-footer .hint{text-align:left}}
@media(max-width:460px){#modal .dmtk-main,#modal .dmtk-search,#modal .dmtk-ai-prompt{grid-template-columns:minmax(0,1fr)}#modal .dmtk-search>input{grid-column:auto}#modal .dmtk-search>.btn,#modal .dmtk-ai-prompt>.btn{width:100%}}
.touch-settings{margin-top:18px}
.touch-settings>.tp-panel{margin:8px 0 0}
@media(max-width:600px){.dmtk-main{grid-template-columns:1fr}.dmtk-search>input{flex-basis:100%}.dmtk-search>select{flex:1 1 150px}}
.sales-extra-filters{flex-basis:100%;grid-column:1/-1;min-width:0;width:100%}
.sales-extra-fields{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.sales-extra-filters>summary,.sales-row-more>summary{cursor:pointer;color:var(--primary);font-size:13px;line-height:1.7;border-radius:5px}
.sales-extra-filters>summary{padding:6px 0;overflow-wrap:anywhere}
.sales-extra-filters>summary:focus-visible,.sales-row-more>summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.sales-simple .sales-extra-filters[open] .sales-extra-fields{padding:12px 0 4px;border-top:1px solid var(--line);margin-top:6px}
@media(min-width:769px){.sales-simple .conversation-panel .sales-extra-filters:not([open]){flex:0 1 auto;width:auto}}
.sales-simple #page-leadpool .sales-extra-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 16px}
.sales-simple #page-dm-task .task-filter-keyword{grid-column:auto}
.sales-simple #page-dm-task .sales-extra-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px}
@media(max-width:900px){.sales-simple #page-leadpool .sales-extra-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.sales-simple #page-dm-task .sales-extra-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.sales-simple #page-leadpool .sales-extra-fields,.sales-simple #page-dm-task .sales-extra-fields{grid-template-columns:minmax(0,1fr)}}
.sales-simple .sales-row-more{display:inline-block;vertical-align:top;text-align:left;margin-left:6px}
.sales-simple .sales-row-more>summary{padding:3px 5px}
.sales-simple .sales-row-options{display:flex;flex-direction:column;align-items:flex-start;padding:6px 0}
.sales-simple .sales-row-options .btn-link.danger{margin-left:0;border-left:0}
.sales-row-more:not(:has(button:not([hidden]))){display:none!important}
.sales-simple .conversation-tabs button>span{display:none}
#page-dashboard.active{width:100%;max-width:1480px;margin:0 auto}
#sales-today{display:contents}
.sales-workspace-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 24px;order:0}
.sales-workspace-kicker{display:none}
.sales-workspace-hero time{white-space:nowrap;color:var(--text-muted);font-size:13px}
.sales-workspace-section-head{order:2}
.sales-workspace-section-head,.dashboard-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;margin:0 0 12px}
.sales-workspace-section-head h2,.dashboard-section-heading h2{color:var(--text);font-size:16px;line-height:1.4;margin:0;font-weight:650}
.sales-workspace-section-head>span,.dashboard-section-heading p{color:var(--text-muted);font-size:12px;margin:0}
.dashboard-section-heading>div>span{display:none}
.dashboard-priority-overview{order:1;margin:0 0 24px}
.dashboard-priority-overview[hidden],.dashboard-management[hidden]{display:none}
.dashboard-priority-overview .agency-priorities{gap:12px}
.dashboard-priority-overview .agency-priority{min-height:128px;padding:18px 20px;border-radius:10px}
.dashboard-priority-overview .agency-priority::before{display:none}
.dashboard-priority-overview .agency-priority:hover{transform:none;border-color:var(--primary-border)}
.dashboard-priority-overview .agency-priority strong{font-size:30px;margin:8px 0;font-weight:650}
.dashboard-priority-overview .agency-priority-top{font-size:13px}
.dashboard-priority-overview .agency-priority-bottom{font-size:12px;min-height:0;padding:0;border:0}
.dashboard-priority-overview .agency-priority-bottom>span:last-child{color:var(--text-muted)}
.dashboard-priority-overview .agency-priority-index{display:none}
.dashboard-priority-overview .agency-metric-note{margin:10px 0 0;font-size:12px}
.dashboard-management{order:5;margin-top:24px;border:1px solid var(--line);border-radius:10px;background:var(--panel);overflow:hidden}
.dashboard-management>summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px 24px;min-height:58px;padding:14px 45px 14px 20px;cursor:pointer;color:var(--text);font-size:14px;font-weight:600;list-style:none}
.dashboard-management>summary::-webkit-details-marker{display:none}
.dashboard-management>summary::after{content:"";position:absolute;right:22px;top:23px;width:8px;height:8px;border-right:1.7px solid var(--text-muted);border-bottom:1.7px solid var(--text-muted);transform:rotate(45deg);transition:transform .15s}
.dashboard-management[open]>summary::after{transform:rotate(225deg);top:27px}
.dashboard-management>summary:hover{background:var(--panel-2)}
.dashboard-management>summary small{font-size:11px;font-weight:400;color:var(--text-muted)}
.dashboard-management-content{border-top:1px solid var(--line);padding:2px 20px 22px}
.dashboard-management-content>.agency-resources{margin-top:18px}
.sales-simple .page-eyebrow,.sales-simple .page-heading-code,.sales-simple .page-heading-icon,.sales-simple #page-head p,.sales-simple .header-context,.sales-simple .sidebar-footer>strong,.sales-simple .sidebar-footer>small{display:none}
.sales-simple #page-head{background:none;box-shadow:none;border:0;min-height:0;padding:4px 0 14px;margin-bottom:0}
.sales-simple #page-head::before,.sales-simple #page-head::after{display:none}
.sales-simple #page-head h1,#sales-today h1{font-size:23px;line-height:1.4;margin:0;font-weight:650;color:var(--text)}
#sales-today .sales-workspace-hero p{font-size:13px;color:var(--text-muted);line-height:1.6;margin:6px 0 0}
.sales-workspace-actions{order:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sales-workspace-actions>button{position:relative;display:flex;align-items:center;gap:14px;min-height:92px;width:100%;padding:18px 42px 18px 20px;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);font:inherit;cursor:pointer;transition:border-color .16s,background .16s}
.sales-workspace-actions>button:hover{border-color:var(--primary-border);background:var(--panel-2)}
.sales-workspace-actions .sales-action-icon{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:var(--primary-plain);color:var(--primary)}
.sales-workspace-actions .sales-action-icon svg{width:19px;height:19px}
.sales-workspace-actions .sales-action-arrow{position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--text-muted);font-size:18px;line-height:1}
.sales-workspace-actions strong{display:block;font-size:15px;font-weight:600}
.sales-workspace-actions small{display:block;font-size:12px;line-height:1.5;margin-top:5px;color:var(--text-muted)}
.sales-action-list:not(.sales-workspace-actions){border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--panel)}
.sales-action-list:not(.sales-workspace-actions) button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);padding:18px 20px;font:inherit;cursor:pointer}
.sales-action-list:not(.sales-workspace-actions) button:last-child{border-bottom:0}
.sales-action-list:not(.sales-workspace-actions) button:hover{background:var(--panel-2)}
.sales-action-list:not(.sales-workspace-actions) strong{display:block;font-size:15px;font-weight:600}
.sales-action-list:not(.sales-workspace-actions) small{display:block;font-size:13px;line-height:1.6;margin-top:5px;color:var(--text-muted)}
#sales-followup-mine{order:4;margin-top:24px;padding-top:0}
#sales-followup-mine h2{font-size:18px;margin:0 0 10px}
#sales-followup-mine>.hint{margin-bottom:14px;line-height:1.7}
@media(max-width:1020px){.sales-workspace-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-priority-overview .agency-priorities{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.sales-workspace-hero{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:20px}.sales-workspace-actions{grid-template-columns:1fr}.dashboard-priority-overview .agency-priorities{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-priority-overview .agency-priority{padding:14px;min-height:125px}.dashboard-priority-overview .agency-priority-bottom{font-size:12px}.sales-workspace-actions>button{min-height:82px;padding-block:14px}.sales-workspace-section-head,.dashboard-section-heading{align-items:flex-start;flex-direction:column;gap:3px}.dashboard-management>summary{align-items:flex-start;flex-direction:column;gap:3px}.dashboard-management-content{padding:2px 14px 18px}}
.followup-history article{border-top:1px solid var(--line);padding:14px 0}
.followup-history small{color:var(--text-muted)}
.followup-history p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
#followup-feedback{color:var(--danger);line-height:1.6}
.customer-detail-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.customer-detail-heading h2{font-size:21px;margin:0;color:var(--text);overflow-wrap:anywhere}
.customer-detail-heading>span{font-size:13px;color:var(--text-muted)}
.customer-detail-heading>a{margin-left:auto;text-decoration:none}
.customer-detail-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0}
.customer-detail-fields dt{font-size:12px;color:var(--text-muted);margin-bottom:6px}
.customer-detail-fields dd{font-size:14px;color:var(--text);margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.customer-detail-notes{padding:18px 0;margin:20px 0 0;border-top:1px solid var(--line)}
.customer-detail-notes h3{font-size:14px;font-weight:600;margin:0 0 8px}
.customer-detail-notes p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:0}
.customer-detail-source summary{padding:12px 0;font-size:13px;color:var(--text-muted);cursor:pointer}
.customer-detail-footer{margin-top:20px;border-top:1px solid var(--line);padding-top:14px}
.customer-detail-footer p{font-size:12px;color:var(--text-muted);line-height:1.6}
@media(max-width:520px){.customer-detail-fields{grid-template-columns:1fr}.customer-detail-heading>a{margin-left:0}}
