/* FCMS 0.10.296 R4: bordered tables, separate customer connection status, group modal. */
#page-destinations .shared-customer-columns,#page-destinations .shared-customer-row{
 grid-template-columns:22px minmax(77px,.9fr) minmax(98px,1.65fr) minmax(56px,.7fr)!important;
}
#page-destinations .shared-cell-status{font-size:11px!important;color:#62798d!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#page-destinations .shared-cell-status.is-linked{color:#14673d!important;font-weight:600}
#page-destinations .shared-cell-status.is-reconnect{color:#94650e!important}
/* Grid borders match the standard FCMS master tables: vertical and horizontal separators. */
#page-destinations .shared-table-header,#page-destinations .shared-item.shared-destination-row,
#page-destinations .shared-item.shared-customer-row,#page-destinations .shared-item.shared-linked-row{
 gap:0!important;padding:0!important;border-radius:0!important;
}
#page-destinations .shared-table-header{border:1px solid #b9c9db!important}
#page-destinations .shared-table-header>span,
#page-destinations .shared-item.shared-destination-row>span,
#page-destinations .shared-item.shared-customer-row>span,
#page-destinations .shared-item.shared-linked-row>span,
#page-destinations .shared-item.shared-customer-row>input,
#page-destinations .shared-item.shared-linked-row>input,
#page-destinations .shared-item.shared-linked-row>select{
 min-width:0!important;box-sizing:border-box!important;padding-left:7px!important;padding-right:5px!important;
 border-right:1px solid #d8e2eb!important;margin:0!important;align-self:stretch!important;display:flex!important;
 align-items:center!important;overflow:hidden!important;white-space:nowrap!important;
}
#page-destinations .shared-item.shared-customer-row>input,
#page-destinations .shared-item.shared-linked-row>input{align-self:center!important;justify-self:center!important;margin:0!important;
 padding:0!important;width:14px!important;height:14px!important;display:block!important}
#page-destinations .shared-table-header>span:last-child,
#page-destinations .shared-item.shared-destination-row>span:last-child,
#page-destinations .shared-item.shared-customer-row>span:last-child,
#page-destinations .shared-item.shared-linked-row>select:last-child{border-right:0!important}
#page-destinations .shared-item.shared-destination-row,
#page-destinations .shared-item.shared-customer-row,
#page-destinations .shared-item.shared-linked-row{border-bottom:1px solid #cbd8e6!important}
#page-destinations .shared-item.shared-linked-row>select{padding:0 4px!important;height:24px!important;
 min-height:24px!important;align-self:center!important;border:1px solid #cad9e7!important;margin:0 3px!important;
 max-width:calc(100% - 6px)!important}
#page-destinations .shared-scroll{border:1px solid #b9c9db!important}
#page-destinations .shared-cell-groups{font-size:11px!important}
#page-destinations #shared-group-manage{white-space:nowrap!important}
.shared-group-modal-dialog{width:min(770px,94vw)!important;max-width:770px!important}
.shared-group-modal-content{padding:16px!important;display:flex;flex-direction:column;gap:10px;max-height:75vh;overflow:auto}
.shared-group-target-label{display:flex;align-items:center;gap:12px;font-weight:700}
.shared-group-target-label select{flex:1;min-width:0}
.shared-group-modal-table-head,.shared-group-modal-row{
 display:grid;grid-template-columns:65px 135px minmax(150px,1fr);align-items:center;min-height:32px;
 border:1px solid #cfdae6;border-bottom:0;font-size:12px;gap:0!important}
.shared-group-modal-table-head{background:#eaf1f8;font-weight:700}
.shared-group-modal-table-head>span,.shared-group-modal-row>span{padding:5px 10px;border-right:1px solid #d8e2eb}
.shared-group-modal-row>input{justify-self:center;margin:0}
.shared-group-modal-list{border-bottom:1px solid #cfdae6;max-height:45vh;overflow-y:auto}
.shared-group-modal-row:last-child{border-bottom:0}
.shared-group-modal-actions{display:flex;justify-content:flex-end;gap:8px}
