/* Shared partner/event workspace. Record values are displayed, never inferred. */
#page-channels .tablebar,#page-events .tablebar{align-items:flex-start;gap:16px}
#page-channels .tfilters,#page-events .tfilters{flex:1;flex-wrap:wrap;gap:8px}
#page-channels .searchbox,#page-events .searchbox{flex:1 1 250px;min-width:200px;max-width:340px}
#page-channels .filt,#page-events .filt{max-width:225px;text-overflow:ellipsis}
#page-channels .tactions,#page-events .tactions{flex-wrap:wrap;justify-content:flex-end}
#page-channels table.channel-table,#page-events table.channel-table{table-layout:auto;min-width:1120px;width:100%}
#page-channels .channel-table th,#page-events .channel-table th{white-space:nowrap}
#page-channels .channel-table td,#page-events .channel-table td{vertical-align:top;white-space:normal;padding:18px 14px;line-height:1.5}
#page-channels .channel-table td:first-child,#page-events .channel-table td:first-child{min-width:240px;max-width:310px}
#page-channels .channel-table td:nth-child(2),#page-events .channel-table td:nth-child(2){min-width:220px;max-width:300px}
#page-channels .channel-table td:nth-child(3),#page-events .channel-table td:nth-child(3){min-width:125px}
#page-channels .channel-table td:nth-child(5){min-width:175px;max-width:245px}
#page-channels .channel-table td:nth-child(6),#page-events .channel-table td:nth-child(5){min-width:110px;max-width:170px}
#page-events .channel-table td:nth-child(4){min-width:155px;max-width:200px}
#page-events .channel-table td:nth-child(6){min-width:160px;max-width:250px}
#page-channels .channel-table th:last-child,#page-events .channel-table th:last-child{position:sticky;right:0;z-index:2;background:#f7f9fc}
#page-channels .channel-table td:last-child,#page-events .channel-table td:last-child{position:sticky;right:0;z-index:1;background:#fff;border-left:1px solid #e8edf3;min-width:115px}
.channel-identity{display:flex;align-items:flex-start;gap:11px;min-width:0}
.channel-identity>div{min-width:0;flex:1}
.channel-identity .crm-company-name{font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.channel-organization-links{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:7px}
.channel-organization-links .crm-contact-links{gap:0}
.channel-domain{font-size:12px;color:#526783;text-decoration:none;overflow-wrap:anywhere}
.channel-domain:hover{text-decoration:underline;color:#0344c2}
.channel-category{display:inline-flex;font-size:12px;line-height:1.4;color:#41546c;background:#f1f4f8;border:1px solid #e2e8ef;border-radius:5px;padding:4px 7px;white-space:nowrap;overflow-wrap:normal}
.channel-identity .channel-category{display:table;margin-top:6px}
.channel-audience{display:grid;gap:6px;font-size:13px;color:#354960;overflow-wrap:anywhere}
.channel-location,.channel-goal{font-size:13px;color:#415168;overflow-wrap:anywhere;white-space:pre-wrap}
.channel-details{margin-top:10px;font-size:12px;color:#617189}
.channel-details summary{cursor:pointer;color:#496582}
.channel-details p{margin:8px 0 0;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;overscroll-behavior:contain}
.channel-person{display:flex;flex-wrap:wrap;align-items:center;gap:5px 7px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #edf0f4}
.channel-person:last-child{padding-bottom:0;margin-bottom:0;border:0}
.channel-person>strong,.channel-role,.channel-email{flex-basis:100%;min-width:0;overflow-wrap:anywhere}
.channel-person>strong{font-size:13px;font-weight:600;color:#24354e}
.channel-role{font-size:12px;color:#637187}
.channel-email{font-size:12px;color:#2459a7;text-decoration:none}
.channel-email:hover{text-decoration:underline}
.channel-person .callbtn,.channel-general .callbtn{font-size:12px;white-space:normal;overflow-wrap:anywhere}
.channel-general{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:8px}
.channel-general>span{flex-basis:100%;font-size:11px;color:#68788d}
.channel-more{font:inherit;font-size:12px;background:none;border:0;padding:4px 0;cursor:pointer;color:#2459a7;text-align:left}
.channel-more:hover{text-decoration:underline}
.channel-missing{font-size:12px;color:#66758a}
.channel-actions{display:flex;align-items:center;gap:5px}
.channel-actions .actbtn{width:31px;height:31px}
.channel-event-date{font-size:13px;color:#263e5a;font-weight:550;overflow-wrap:anywhere}
.channel-timing{display:inline-flex;font-size:11px;margin-top:7px;padding:3px 7px;border-radius:5px;background:#f1f4f8;color:#607089}
.channel-timing-upcoming{color:#17614b;background:#eaf5ef}
.channel-timing-unknown{color:#805821;background:#fff5df}
.channel-empty{padding:42px 24px;text-align:center}
.channel-empty>strong{font-size:16px;color:#263b55;font-weight:600}
.channel-empty>p{font-size:13px;color:#66758a;margin:8px 0 18px}
#page-channels .cellsel,#page-events .cellsel{height:34px;max-width:160px;font-size:12px}
#page-channels button:focus-visible,#page-events button:focus-visible,#page-channels a:focus-visible,#page-events a:focus-visible,#page-channels summary:focus-visible,#page-events summary:focus-visible{outline:2px solid #0344c2;outline-offset:3px}
@media(max-width:900px){#page-channels .tablebar,#page-events .tablebar{flex-direction:column}#page-channels .tactions,#page-events .tactions{justify-content:flex-start}#page-channels .searchbox,#page-events .searchbox{max-width:none}#page-channels .filt,#page-events .filt{max-width:180px}}
@media(max-width:600px){#page-channels .channel-table td:last-child,#page-events .channel-table td:last-child,#page-channels .channel-table th:last-child,#page-events .channel-table th:last-child{position:static}.channel-actions{flex-wrap:wrap}}

/* Channels and Events share the People/Companies directory rhythm. */
:is(#page-channels,#page-events).directory-page .tablebar{align-items:center;padding:16px 18px;gap:12px}
:is(#page-channels,#page-events) table.fit.crm-directory{table-layout:auto!important;min-width:960px!important;width:100%;border-collapse:separate;border-spacing:0}
:is(#page-channels,#page-events) table.crm-directory tr>[data-column]{position:static!important;width:auto!important;min-width:0;max-width:none;vertical-align:middle;white-space:normal;padding:17px 16px;border-bottom:1px solid #e9edf2;background:#fff;box-shadow:none;border-left:0}
:is(#page-channels,#page-events) table.crm-directory th[data-column]{background:#fafbfc;color:#727b89;font-size:12px;font-weight:500;white-space:nowrap;height:44px;padding-top:12px;padding-bottom:12px}
:is(#page-channels,#page-events) table.crm-directory [data-column="company"]{position:sticky!important;left:0;min-width:240px;max-width:310px;border-right:1px solid #e9edf2;z-index:2}
:is(#page-channels,#page-events) table.crm-directory [data-column="person"]{min-width:230px;max-width:290px}
:is(#page-channels,#page-events) table.crm-directory [data-column="status"]{min-width:145px}
:is(#page-channels,#page-events) table.crm-directory [data-column="addedAt"]{min-width:104px;font-variant-numeric:tabular-nums}
:is(#page-channels,#page-events) table.crm-directory [data-column="actions"]{width:66px!important;min-width:66px}
:is(#page-channels,#page-events) table.crm-directory tr>[hidden]{display:none!important}
:is(#page-channels,#page-events) .channel-actions{justify-content:flex-end}
:is(#page-channels,#page-events) .cellsel{border-color:transparent;background:transparent;color:#647087;padding-left:0;max-width:160px}.channel-table.crm-directory .cellsel:hover,.channel-table.crm-directory .cellsel:focus{border-color:#dfe4ed;background:#fff}
:is(#page-channels,#page-events) .channel-identity .crm-company-name{font-weight:500;color:#29374c}.channel-person .crm-direct-name{color:#243045;text-decoration:none;font-weight:500}.channel-person .crm-direct-name:hover{text-decoration:underline}.channel-role,.channel-location,.channel-goal{color:#647087;font-size:12px}.channel-email{color:#7b8493}.channel-organization-links{margin-top:5px}.channel-category{font-size:11px;background:#f7f8fb;border-color:#e8ebf0;color:#647087}.channel-person{padding-bottom:9px;margin-bottom:9px}.channel-person:last-child{padding:0;margin:0}
@media(max-width:900px){:is(#page-channels,#page-events).directory-page .tablebar{flex-direction:row;flex-wrap:wrap}:is(#page-channels,#page-events).directory-page .tactions{width:auto;justify-content:flex-end}:is(#page-channels,#page-events).directory-page .searchbox{min-width:180px}}
