/* Separate people, devices, matters and available-file actions without taller cards. */
html.collection-columns.large-controls.collections-redesign .collection-row{grid-template-columns:minmax(120px,190px) minmax(110px,170px) minmax(100px,1fr) minmax(145px,1.1fr) 86px 138px;grid-template-areas:"person device matter state updated action";gap:12px;padding:12px 14px;min-height:84px}
html.collection-columns.large-controls.collections-redesign .admin-collections .collection-row{grid-template-columns:minmax(110px,170px) minmax(86px,140px) minmax(86px,1fr) minmax(128px,1.3fr) minmax(132px,1.3fr) 72px 136px;grid-template-areas:"person device matter account state updated action";gap:12px}
html.collection-columns.large-controls .collection-row .collection-person{grid-area:person}
html.collection-columns.large-controls .collection-row .collection-device{display:flex!important;align-items:center;gap:10px;grid-area:device}
html.collection-columns.large-controls .collection-row .collection-matter{display:block!important;grid-area:matter}
html.collection-columns.large-controls .collection-row .collection-account:not([hidden]){display:block!important;grid-area:account}
html.collection-columns.large-controls .collection-row .collection-state{grid-area:state}
html.collection-columns.large-controls .collection-row .collection-updated{display:block!important;grid-area:updated}
html.collection-columns.large-controls .collection-row .collection-actions{grid-area:action;gap:0}
html.collection-columns.large-controls .collection-person-line{gap:12px}
html.collection-columns.large-controls .collection-person .custodian-avatar{display:grid;width:42px;height:42px;font-size:13px}
html.collection-columns.large-controls .collection-person strong{font-size:14px!important;line-height:1.4}
html.collection-columns.large-controls .collection-person-text>.collection-person-subtitle{display:block;font-size:11px;line-height:1.45;margin-top:3px}
.collection-device-mark{width:28px;min-width:28px;height:32px;display:grid;place-items:center;color:#10234a}
.collection-device-mark>svg{width:27px;height:30px;display:block}
.collection-device-mark .platform-android{color:#38b94c;width:25px;height:31px}
.collection-device-mark .generic-device{width:24px;height:31px}
html.collection-columns.large-controls .collection-device-type,html.collection-columns.large-controls .collection-matter>span{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
html.collection-columns.large-controls .collection-matter .collection-scope-summary{font-size:11px;margin-top:3px}
html.collection-columns.large-controls .collection-device:before,html.collection-columns.large-controls .collection-matter:before{display:none}
html.collection-columns.large-controls .collection-updated:before{content:'Updated';display:block;font-size:10px;color:#7284a2;margin-bottom:3px}
html.collection-columns.large-controls .collection-updated time,html.collection-columns.large-controls .collection-updated small{display:block;font-size:11px;line-height:1.45;margin:0;color:#62789b}
html.collection-columns.large-controls .client-collection-updated{display:none!important}
html.collection-columns.large-controls .collection-state .collection-status-badge{font-size:13px!important;line-height:1.5}
html.collection-columns.large-controls .collection-state .collection-status-caption{font-size:11px!important;line-height:1.5;margin-top:4px!important}
html.collection-columns.large-controls.collections-redesign .collection-open{display:flex;justify-content:space-between;gap:6px;width:100%;min-height:44px;padding:10px 11px;font-size:12px;line-height:1.4}
html.collection-columns.large-controls .collection-open:after{content:'→';font-size:16px;line-height:1;flex:none}
html.collection-columns.large-controls .collection-actions>.row-chevron{display:none}
html.collection-columns.large-controls .collection-open.client-ready-action{background:#2064ec;color:#fff;border-color:#2064ec;box-shadow:0 3px 8px #2064ec22;font-weight:700}
html.collection-columns.large-controls .collection-open.client-ready-action:hover{background:#1552ce;border-color:#1552ce}
@media(max-width:1099px) and (min-width:801px){
 html.collection-columns.large-controls.collections-redesign .collection-row,html.collection-columns.large-controls.collections-redesign .admin-collections .collection-row{grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(0,1.1fr) 138px;grid-template-areas:"person device matter action" "state state state updated";gap:12px 16px;padding:14px}
 html.collection-columns.large-controls.collections-redesign .admin-collections .collection-row{grid-template-areas:"person device matter action" "account account state updated"}
 html.collection-columns.large-controls .collection-account:not([hidden]){padding-top:0!important}
 html.collection-columns.large-controls .collection-account>small{display:block;margin:3px 0 0}
 html.collection-columns.large-controls .collection-account:before{display:none}
}
@media(max-width:800px){
 html.collection-columns.large-controls.collections-redesign .collection-row,html.collection-columns.large-controls.collections-redesign .admin-collections .collection-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"person person" "device matter" "state state" "updated action";gap:13px 16px;padding:16px;min-height:0}
 html.collection-columns.large-controls.collections-redesign .admin-collections .collection-row{grid-template-areas:"person person" "device matter" "account account" "state state" "updated action"}
 html.collection-columns.large-controls .collection-person .custodian-avatar{width:40px;height:40px;font-size:12px}
 html.collection-columns.large-controls .collection-person strong{font-size:15px!important}
 html.collection-columns.large-controls .collection-device{gap:8px}
 html.collection-columns.large-controls .collection-device-mark{width:23px;min-width:23px}
 html.collection-columns.large-controls .collection-device-mark>svg{max-width:23px}
 html.collection-columns.large-controls .collection-account:not([hidden]){border-top:1px solid #edf1f7!important;padding-top:10px!important}
 html.collection-columns.large-controls .collection-open{padding:10px;font-size:12px}
}

@media(min-width:1100px){
 html.collection-columns.large-controls.collections-redesign .collections-table{--collection-columns:minmax(120px,190px) minmax(110px,170px) minmax(100px,1fr) minmax(145px,1.1fr) 86px 138px}
 html.collection-columns.large-controls.collections-redesign .collections-table.admin-collections{--collection-columns:minmax(110px,170px) minmax(86px,140px) minmax(86px,1fr) minmax(128px,1.3fr) minmax(132px,1.3fr) 72px 136px}
 html.collection-columns.large-controls.collections-redesign .collections-table thead{position:static;clip-path:none;width:auto;height:auto;overflow:visible;display:block;margin:0 0 5px}
 html.collection-columns.large-controls.collections-redesign .collections-table thead tr,
 html.collection-columns.large-controls.collections-redesign .collections-table .collection-row{display:grid;grid-template-columns:var(--collection-columns);column-gap:12px;padding-left:14px;padding-right:14px}
 html.collection-columns.large-controls.collections-redesign .collections-table thead tr{padding-top:6px;padding-bottom:6px;border:1px solid transparent;align-items:center}
 html.collection-columns.large-controls.collections-redesign .collections-table th:not([hidden]){display:block!important;width:auto;min-width:0;padding:0!important;text-align:left;font-size:11px;font-weight:600;color:#617493}
 html.collection-columns.large-controls.collections-redesign .collections-table th button{padding:4px 0;margin:0;min-height:28px;font-size:11px;font-weight:600;text-align:left;color:inherit}
 html.collection-columns.large-controls .collection-open{white-space:nowrap}
 html.collection-columns.large-controls .collection-updated:before{display:none}
}
@media(max-width:1099px){
 html.collection-columns.large-controls.collections-redesign .collections-table thead{display:none}
 html.collection-columns.large-controls .collection-device-text:before{content:'Device / name';display:block;font-size:10px;font-weight:600;color:#7284a2;margin-bottom:3px}
 html.collection-columns.large-controls .collection-matter:before{content:'Matter / scope';display:block;font-size:10px;font-weight:600;color:#7284a2;margin-bottom:3px}
}

html.collection-columns.large-controls .collection-device-text{min-width:0;display:block}
html.collection-columns.large-controls .collection-device-type{display:block}
html.collection-columns.large-controls .collection-device-text .collection-device-name{display:block;margin:3px 0 0;font-size:11px;line-height:1.4;color:#62789b;overflow-wrap:anywhere}
html.collection-columns.large-controls .collection-person-line{gap:10px}
html.collection-columns.large-controls .collection-person .custodian-avatar{width:36px;height:36px;font-size:12px;flex-shrink:0}
html.collection-columns.large-controls .collection-account>strong{display:block;font-size:12px;line-height:1.4}
html.collection-columns.large-controls .collection-account>small{display:block;font-size:10.5px;line-height:1.4;margin-top:3px}

html.collection-columns.large-controls .collection-account:before{display:none}
html.collection-columns.large-controls .collection-row .collection-actions{align-self:center}
