/* Collections workspace: shared desktop/mobile shell, actual authorized records. */
.metrics-filters{display:flex;flex-wrap:wrap;gap:14px;margin:24px 0}.metrics-filters label{flex:1 1 180px;min-width:0;font-size:13px;color:#52638b}.metrics-filters input,.metrics-filters select{width:100%;min-height:40px;display:block;margin-top:6px}.metrics-filters button{align-self:end}.metrics-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}.metrics-cards>div{background:#fff;border:1px solid #dce5f4;border-radius:10px;padding:20px}.metrics-cards span{color:#52638b;font-size:13px}.metrics-cards strong{display:block;font-size:30px;margin-top:8px}.metrics-balances{background:#f3f7fd;padding:20px;border-radius:12px;margin:24px 0}.metrics-balance{display:flex;gap:15px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #dce5f4}.metrics-attention{color:#a34c22}.metrics-table-scroll{overflow:auto;max-width:100%;border:1px solid #dce5f4;border-radius:10px}.metrics-table{width:100%;border-collapse:collapse;min-width:850px;font-size:13px}.metrics-table th,.metrics-table td{padding:14px;text-align:left;border-bottom:1px solid #dce5f4;overflow-wrap:anywhere}.metrics-table th{background:#f3f7fd}.metrics-view .hint{font-size:12px;color:#52638b;line-height:1.5}@media(max-width:700px){.metrics-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics-cards>div{padding:14px}}
.collection-filters{flex-wrap:wrap}.collection-filters>label{min-width:110px!important}
.collections-table .collection-account[hidden],.collection-account-heading[hidden]{display:none!important}
.collections-table:not(.admin-collections) th:nth-child(5){width:25%}.collections-table:not(.admin-collections) th:nth-child(6){width:15%}.collections-table:not(.admin-collections) th:nth-child(7){width:12%}
.collections-table.admin-collections th:nth-child(1){width:14%}.collections-table.admin-collections th:nth-child(2){width:11%}.collections-table.admin-collections th:nth-child(3){width:12%}.collections-table.admin-collections th:nth-child(4){width:22%}.collections-table.admin-collections th:nth-child(5){width:20%}.collections-table.admin-collections th:nth-child(6){width:11%}.collections-table.admin-collections th:nth-child(7){width:10%}
.admin-collections .collection-account strong{font-size:13px;font-weight:600}.admin-collections .collection-actions .row-chevron{display:none}
@media(max-width:700px){.collections-table .collection-account{grid-column:1/-1}.collections-table .collection-account:before{content:attr(data-label);display:block;font-size:10px;color:#7585a2;margin-bottom:4px}}
.collections-redesign{--navy:#101b3a;--muted:#52638b;--line:#e2e8f2;--cyan:#2870ff;color:var(--navy);background:#fafcff;font-family:"Segoe UI",system-ui,sans-serif}
.collections-redesign .app-shell,.collections-redesign[data-density=compact] .app-shell{grid-template-columns:244px minmax(0,1fr);grid-template-rows:auto 1fr;min-height:100vh}
.portal-topbar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);min-height:82px;padding:16px 30px;gap:24px}
.portal-topbar .brand{padding:0;color:#101b3a;flex-shrink:0}
.portal-topbar .brand img,.collections-redesign[data-density=compact] .brand img{width:148px;height:auto;filter:none}
.portal-topbar .brand>span{display:none}.portal-topbar .client-brand{margin:8px 0 0;padding:0;border:0;max-width:170px;color:var(--muted)}.portal-topbar .client-brand img{max-width:145px;max-height:36px;width:auto;object-fit:contain}
.collections-redesign .portal-topbar header,.collections-redesign[data-density=compact] .portal-topbar header{height:auto;min-height:42px;padding:0;border:0;gap:18px;background:transparent;flex-wrap:wrap;justify-content:flex-end}
.portal-topbar #workspace-label,.portal-topbar #mode-label{display:none}.portal-account{display:flex;align-items:center;gap:12px;font-size:14px}.account-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:linear-gradient(140deg,#f0f4ff,#ccd8f5);color:#213b72;font-size:13px}.account-name{max-width:280px;overflow-wrap:anywhere;font-weight:600}
.portal-topbar .density-control{font-size:0;gap:0}.portal-topbar .density-control select{width:116px;min-height:34px;font-size:12px;background:#f8faff;border-color:#e7ebf4}.portal-topbar #auth-button{font-size:12px;color:var(--muted);background:transparent;min-height:36px}
.collections-redesign aside,.collections-redesign[data-density=compact] aside{height:calc(100vh - 82px);top:0;padding:22px 16px 26px 10px;background:#f6f8fc;border-right:1px solid var(--line);color:#172c58;align-self:start}
.collections-redesign nav,.collections-redesign[data-density=compact] nav{margin:0;gap:6px;display:flex;flex-direction:column}
.collections-redesign .nav-item,.collections-redesign[data-density=compact] .nav-item{position:relative;display:flex;align-items:center;gap:16px;padding:14px 16px;font-size:15px;font-weight:450;color:#20345f;background:transparent;border-radius:7px;text-align:left;min-height:50px}
.collections-redesign .nav-item:hover{background:#edf2fb}.collections-redesign .nav-item.active{background:#e8eefb;color:#142549;font-weight:600}.collections-redesign .nav-item.active:before{content:"";position:absolute;left:-10px;top:5px;bottom:5px;width:4px;border-radius:0 4px 4px 0;background:#2972ff}.nav-symbol{font-size:25px;line-height:1}
.collections-redesign .sidebar-foot{border:0;font-size:12px;line-height:1.7;padding:20px 16px 0;color:#52638b}.sidebar-foot strong{color:#233761;font-size:13px}.collections-redesign .sidebar-foot p{margin:14px 0 0;font-size:12px;color:#52638b}
.collections-redesign .workspace{min-width:0;background:linear-gradient(135deg,#fff 0,#fafcff 70%)}
.collections-redesign main#main{padding:38px 34px;max-width:1800px;min-height:calc(100vh - 135px)}.collections-redesign[data-density=compact] main#main{padding:28px 32px;max-width:1800px;min-height:calc(100vh - 135px)}
.collections-redesign h1,.collections-redesign[data-density=compact] h1{font-size:34px;font-weight:650;line-height:1.2;letter-spacing:-.7px;margin-bottom:7px}.collections-redesign .page-title{align-items:center;margin-bottom:27px;gap:22px}.collections-redesign .page-title>div{min-width:0}.collections-redesign .page-title p{margin:0;font-size:16px;color:var(--muted)}.collections-redesign .page-title .eyebrow{display:none}
.collections-redesign .primary,.collections-redesign[data-density=compact] .primary{background:#2870ff;border:1px solid #2468ec;border-radius:7px;box-shadow:0 3px 7px #2468ec13;color:white;font-weight:600;padding:12px 18px;min-height:44px;font-size:14px}.collections-redesign .primary:hover{background:#175bec}.collections-redesign .secondary{color:#243d68;background:#f1f5fc;border-color:#dce5f4}.collections-redesign .page-title>.primary{margin:0}
.collections-redesign .list-toolbar,.collections-redesign[data-density=compact] .list-toolbar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin:0 0 14px}.collections-redesign .search-label{flex:1 1 180px;width:auto;margin:0}.collections-redesign .search-label input{height:39px;margin:0}.collection-filters{display:flex;gap:10px;flex:1 1 280px}.collection-filters label{flex:1;min-width:0}.collections-redesign .list-toolbar label{margin:0;font-weight:450;color:#52638b;font-size:11px}.collections-redesign .list-toolbar select{display:block;width:100%;max-width:250px;min-height:39px;margin-top:4px;border:1px solid #d8e1f0;border-radius:7px;padding:8px 30px 8px 10px;background:#fff;color:#22375e;font-size:13px}.collections-redesign .sort-label{width:165px}
.collections-redesign .collection-status-help{font-size:11px;color:#7181a0;margin:0 0 14px;line-height:1.4}
.collections-list{border:1px solid #e0e7f1;border-radius:11px;background:#fff;box-shadow:0 5px 18px #17386806;overflow:hidden}.collections-table{width:100%;border-collapse:collapse;table-layout:fixed}.collections-table th{text-align:left;background:#f5f7fb;color:#243561;font-size:13px;font-weight:600;border-bottom:1px solid #e4e9f2;padding:17px 18px}.collections-table th:nth-child(1){width:18%}.collections-table th:nth-child(2){width:14%}.collections-table th:nth-child(3){width:16%}.collections-table th:nth-child(4){width:25%}.collections-table th:nth-child(5){width:15%}.collections-table th:nth-child(6){width:12%}.collections-table th button{font:inherit;color:inherit;background:transparent;padding:0;text-align:left;min-height:24px}
.collections-redesign .collection-row,.collections-redesign[data-density=compact] .collection-row{display:table-row;border:0;border-radius:0;padding:0;background:transparent;position:static;box-shadow:none}.collections-redesign .collection-row:hover{background:#fbfcff;border:0;box-shadow:none}.collections-table td{padding:22px 18px;border-bottom:1px solid #e6ebf4;vertical-align:middle;overflow-wrap:anywhere;color:#14213e;font-size:14px;line-height:1.45}.collections-redesign .collection-row:last-child td{border-bottom:0}.collections-table .collection-person strong{font-size:16px;font-weight:600;display:block}.collections-redesign .collections-table small{display:block;font-size:12px;font-weight:400;color:#607299;margin:5px 0 0;line-height:1.45}.collection-device>span:last-child{vertical-align:middle}.device-outline{float:left;width:20px;height:33px;border:2px solid #162647;border-radius:4px;margin:0 12px 2px 0;position:relative}.device-outline:before{content:"";position:absolute;top:1px;left:5px;width:6px;height:2px;border-radius:0 0 2px 2px;background:#162647}.collection-updated time{font-size:12px}.collection-actions{text-align:center;white-space:nowrap}.collection-open{min-height:38px;padding:9px 15px;border-radius:7px;background:#f0f4fb;color:#21365f;font-size:13px;font-weight:600}.collection-open:hover{background:#e5edfc}.row-chevron{margin-left:12px;font-size:25px;color:#7083a8;vertical-align:middle}.collections-count{border-top:1px solid #e6ebf4;padding:18px 24px;margin:0;font-size:12px;color:#607197}
.collections-table .collection-status,.collections-redesign[data-density=compact] .collections-table .collection-status{display:block;border:0;margin:0;padding:0;font-size:12px;min-width:0}.collections-table .collection-status-top{display:block}.collections-table .collection-status-scope{display:none}.collections-table .collection-status-badge{display:block;background:none!important;color:#12213e!important;padding:0;border-radius:0;font-size:13px;font-weight:500;line-height:1.5}.collections-table .collection-status-track{display:flex;gap:3px;margin:6px 0;height:7px;border-radius:8px;overflow:hidden;background:#e7ebf2}.collections-table .collection-status-segment{height:7px;background:#e7ebf2;border-radius:0;flex:1}.collections-table .collection-status-segment.filled{background:#3078ff}.collections-table [data-status=completed] .filled{background:#13bc91}.collections-table [data-status=attention] .filled{background:#ef6e6e}.collections-table .collection-status-caption{font-size:11px;color:#677b9b;line-height:1.45;display:block;margin:5px 0 0}.collections-table .collection-status-checked{display:none}
.collections-redesign .collection-metrics,.collections-redesign[data-density=compact] .collection-metrics{display:flex;flex-wrap:wrap;border:0;background:transparent;gap:24px;margin:20px 0 0}.collections-redesign .collection-metrics>div,.collections-redesign[data-density=compact] .collection-metrics>div{border:0;padding:0;display:flex;align-items:center;gap:8px}.collections-redesign .collection-metrics strong,.collections-redesign[data-density=compact] .collection-metrics strong{font-size:13px;font-weight:600}.collections-redesign .collection-metrics span{font-size:11px}
.collections-redesign .client-request-panel{margin:30px 0 0;padding:20px;border:1px solid #e1e8f3;box-shadow:none;background:#fff;border-radius:11px}.collections-redesign .client-request-panel>.eyebrow{display:none}.collections-redesign .client-request-panel h2{font-size:19px}.collections-redesign .client-request-panel>p{font-size:13px}.collections-redesign .client-request-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.collections-redesign .request-status-card{padding:15px;background:#f9fbff;border:1px solid #e1e8f3;border-radius:8px;margin:0}.collections-redesign .request-status-card h3{font-size:14px}.collections-redesign .request-status-card p{font-size:12px;margin:4px 0}.collections-redesign .request-status-card small{font-size:11px}.collections-redesign footer{font-size:10px;color:#7786a3;padding:16px 32px}
@media(min-width:1500px){.collections-table td{padding:26px 24px}.collections-table th{padding:19px 24px}.collections-table .collection-status-caption{font-size:12px}.row-chevron{margin-left:22px}}
@media(max-width:1190px){.collections-redesign .app-shell,.collections-redesign[data-density=compact] .app-shell{grid-template-columns:195px minmax(0,1fr)}.collections-redesign main#main,.collections-redesign[data-density=compact] main#main{padding:24px 20px}.collections-table td,.collections-table th{padding:18px 12px}.collections-table .collection-person strong{font-size:14px}.device-outline{display:none}.row-chevron{display:none}.collections-table th:nth-child(1){width:18%}.collections-table th:nth-child(2){width:14%}.collections-table th:nth-child(3){width:16%}.collections-table th:nth-child(4){width:25%}.collections-table th:nth-child(5){width:15%}.collections-table th:nth-child(6){width:12%}.collection-open{padding:8px 10px}.portal-account{font-size:12px}.account-name{max-width:210px}.portal-topbar{padding:16px 22px}.portal-topbar .density-control{display:none}}
@media(max-width:800px){.collections-redesign .app-shell,.collections-redesign[data-density=compact] .app-shell{display:block}.portal-topbar{padding:16px;gap:12px;min-height:72px}.portal-topbar .brand img,.collections-redesign[data-density=compact] .brand img{width:118px}.portal-topbar .portal-account{gap:7px}.portal-topbar .account-name{max-width:150px;font-size:11px}.portal-topbar .account-avatar{width:30px;height:30px;font-size:10px}.collections-redesign .portal-topbar header,.collections-redesign[data-density=compact] .portal-topbar header{gap:7px}.collections-redesign aside,.collections-redesign[data-density=compact] aside{height:auto;position:static;padding:8px 12px;border-right:0;border-bottom:1px solid var(--line)}.collections-redesign nav,.collections-redesign[data-density=compact] nav{flex-direction:row;flex-wrap:wrap;gap:5px}.collections-redesign .nav-item,.collections-redesign[data-density=compact] .nav-item{font-size:12px;min-height:40px;padding:10px;gap:8px}.collections-redesign .nav-item.active:before,.collections-redesign .sidebar-foot{display:none}.collections-redesign .page-title,.collections-redesign[data-density=compact] .page-title{display:flex;align-items:flex-start;flex-wrap:wrap;gap:16px;margin-bottom:24px}.collections-redesign h1,.collections-redesign[data-density=compact] h1{font-size:28px}.collections-redesign .page-title p{font-size:13px}.collections-redesign main#main,.collections-redesign[data-density=compact] main#main{padding:24px 16px}.collections-redesign .list-toolbar,.collections-redesign[data-density=compact] .list-toolbar{flex-direction:row;align-items:end;gap:10px}.collections-redesign .search-label{flex-basis:100%}.collection-filters{flex:1 1 100%}.collections-redesign .sort-label{width:100%}.collections-redesign .list-toolbar select{max-width:none}.collections-table thead{display:none}.collections-table,.collections-table tbody{display:block}.collections-redesign .collection-row,.collections-redesign[data-density=compact] .collection-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:20px;border-bottom:1px solid var(--line)}.collections-table td{display:block;border:0;padding:0;font-size:13px;min-width:0}.collections-table .collection-person{grid-column:1/-1}.collections-table .collection-person strong{font-size:17px}.collection-state{grid-column:1/-1}.collection-actions{align-self:end;text-align:right}.collections-table .collection-state .collection-status-badge{font-size:14px}.collections-table .collection-device:before,.collections-table .collection-matter:before,.collections-table .collection-updated:before{content:attr(data-label);display:block;font-size:10px;color:#7585a2;margin-bottom:4px}.collections-table .collection-updated small{display:inline;margin-left:7px}.collections-table .collection-status-track{max-width:350px}.collections-redesign .client-request-list{grid-template-columns:1fr}.collections-redesign .client-request-panel{padding:18px;margin-top:24px}.collections-count{padding:16px 20px}.collection-open{min-height:42px;padding:10px 24px}.collections-redesign .page-title>.primary{min-height:42px}.collections-redesign footer{padding:16px}}
@media(prefers-reduced-motion:reduce){.collections-redesign *{animation:none!important;transition:none!important}}
.account-preview-banner{padding:16px 20px;margin-bottom:20px;border:1px solid #abc4f7;border-radius:12px;background:#edf3ff;color:#10284f}.account-preview-banner p{margin:8px 0;font-size:14px}.registration-send-status{font-weight:600;overflow-wrap:anywhere}.contact-row small{display:block;font-weight:400;line-height:1.5}

.client-collection-status h2{margin:0;font-size:18px}.client-collection-status .collection-status{margin:0;border:0;padding:0}.client-collection-status .collection-status-caption{margin:12px 0 0}.client-collection-status .collection-status-track{margin-top:14px}.review-platforms fieldset{display:flex;gap:8px;flex-wrap:wrap;border:0;padding:0;margin:0 0 18px}.review-platforms legend{font-size:13px;color:var(--muted);margin-bottom:8px}.review-platforms button[aria-pressed=true]{background:#e9f1ff;color:#1260d6;border-color:#b6cef5}

/* Render refinement: retain real columns, routes, stages and download controls. */
.portal-icon{width:21px;height:21px;flex:none;vertical-align:middle}
.collections-redesign .workspace{background:linear-gradient(135deg,#f7f9fd,#fafbfe)}
.collections-redesign .portal-topbar{min-height:70px;padding:12px 26px;background:#ffffffed}
.collections-redesign .portal-topbar .brand img{width:138px}
.collections-redesign .app-shell,.collections-redesign[data-density=compact] .app-shell{grid-template-columns:216px minmax(0,1fr)}
.collections-redesign aside,.collections-redesign[data-density=compact] aside{height:calc(100vh - 70px);background:linear-gradient(110deg,#f8faff,#f5f8fd);padding-top:20px}
.collections-redesign .nav-item,.collections-redesign[data-density=compact] .nav-item{gap:13px;padding:12px;min-height:46px;font-size:14px}
.collections-redesign .nav-item.active{background:linear-gradient(100deg,#e8f0ff,#edf3fd);color:#2568c9}
.collections-redesign .nav-item .portal-icon{width:20px;height:20px;color:#6b7d9d}
.collections-redesign .nav-item.active .portal-icon{color:#2872de}
.collections-redesign .sidebar-foot{position:relative;margin-top:auto;border-radius:10px;background:#eef4fc;padding:18px 14px 16px 40px;font-size:11px;overflow-wrap:anywhere}
.collections-redesign .sidebar-foot>.portal-icon{position:absolute;left:13px;top:18px;color:#2872de;width:19px}
.collections-redesign .sidebar-foot strong{font-size:12px}.collections-redesign .sidebar-foot p{font-size:11px;margin:7px 0 9px;line-height:1.6}
.collections-redesign .sidebar-foot a{font-size:10px;color:#3370c6;text-underline-offset:3px}
.collections-redesign main#main,.collections-redesign[data-density=compact] main#main{padding:30px 32px}
.collections-redesign .page-title .eyebrow{display:block;font-size:9px;letter-spacing:2px;color:#8794aa;margin-bottom:9px}
.collections-redesign h1,.collections-redesign[data-density=compact] h1{font-size:31px;letter-spacing:-.6px}
.collections-redesign .page-title p{font-size:14px}
.collections-redesign .primary,.collections-redesign[data-density=compact] .primary{background:linear-gradient(130deg,#2475ed,#2865ed);border-color:#2869e7;box-shadow:0 3px 8px #2468ec16}
.collections-redesign .search-label{position:relative;flex-basis:220px}
.collections-redesign .search-label>.portal-icon{position:absolute;left:13px;bottom:11px;width:17px;height:17px;color:#8592ab;pointer-events:none}
.collections-redesign .search-label input{padding-left:39px;font-size:12px;border-color:#e1e7f1;box-shadow:0 2px 7px #24355803}
.collections-redesign .list-toolbar select{border-color:#e1e7f1;box-shadow:0 2px 7px #24355803}
.collections-redesign .collection-status-help{font-size:10px;color:#8490a7;margin-bottom:3px}
.collections-redesign .collections-list{border:0;background:transparent;box-shadow:none;overflow:visible}
.collections-redesign .collections-table{border-collapse:separate;border-spacing:0 8px}
.collections-redesign .collections-table th{background:transparent;border:0;font-size:11px;padding:5px 12px;color:#6d7e9c}
.collections-redesign .collections-table td{padding:19px 12px;background:#fff;border-top:1px solid #edf0f7;border-bottom:1px solid #edf0f7;font-size:12px;line-height:1.5}
.collections-redesign[data-density=compact] .collections-table td{padding-top:15px;padding-bottom:15px}
.collections-redesign .collection-row:last-child td{border-bottom:1px solid #edf0f7}
.collections-redesign .collection-row td:first-child{border-left:1px solid #edf0f7;border-radius:11px 0 0 11px}
.collections-redesign .collection-row td:last-child{border-right:1px solid #edf0f7;border-radius:0 11px 11px 0}
.collections-redesign .collection-row{filter:drop-shadow(0 2px 3px #23345603)}
.collections-redesign .collection-row:hover td{background:#fcfdff;border-top-color:#dce7f9;border-bottom-color:#dce7f9}
.collection-person-line{display:flex;align-items:center;gap:12px}.collection-person-text{min-width:0}
.custodian-avatar{width:38px;height:38px;display:grid;place-items:center;flex:none;background:#eaf2ff;color:#2b6bc9;border-radius:50%;font-weight:600;font-size:12px}
.custodian-avatar[data-tone="1"]{background:#f0eaff;color:#6b45b9}.custodian-avatar[data-tone="2"]{background:#e7f5f0;color:#287666}.custodian-avatar[data-tone="3"]{background:#fff4e3;color:#ad751d}.custodian-avatar[data-tone="4"]{background:#fcebed;color:#b65362}
.collections-redesign .collections-table .collection-person strong{font-size:13px;font-weight:650}
.collections-redesign .collections-table small{font-size:10px;margin-top:3px;color:#71809b}
.collection-device>.portal-icon,.collection-matter>.portal-icon{float:left;margin:2px 9px 4px 0;color:#273756;width:20px;height:25px}
.collection-matter>.portal-icon{height:20px;width:18px}
.collections-redesign .collection-account strong{font-size:12px;color:#263956}.collections-redesign .collection-account small{font-size:10px;line-height:1.5}
.collections-redesign .collection-updated time{font-size:11px}.collections-redesign .collection-open{background:#edf3ff;color:#2866bc;min-height:34px;padding:8px 15px;font-size:12px}
.collections-redesign .collection-open:hover{background:#deebff}.collections-redesign .row-chevron{font-size:21px;margin-left:10px;color:#94a1b9}
.collections-redesign .collections-count{border:0;background:none;padding:8px 2px;color:#6d7e9c;font-size:11px}

.collections-redesign .collection-status{--stage:#3979df;--status-bg:#edf4ff;--status-color:#2866b6}
.collections-redesign .collection-status[data-status=completed]{--stage:#3b9d87;--status-bg:#e7f5ef;--status-color:#24755f}
.collections-redesign .collection-status[data-status=pending]{--stage:#d4972d;--status-bg:#fff5e5;--status-color:#95651b}
.collections-redesign .collection-status[data-status=scheduled]{--stage:#8660cf;--status-bg:#f2ecff;--status-color:#7250b4}
.collections-redesign .collection-status[data-status=attention]{--stage:#c7674d;--status-bg:#fff0ea;--status-color:#a14a35}
.collections-redesign .collection-status[data-status=unavailable],.collections-redesign .collection-status[data-status=expired],.collections-redesign .collection-status[data-status=checking]{--stage:#8a97ad;--status-bg:#f0f2f7;--status-color:#63708b}
.collections-redesign .collection-status .collection-status-badge{display:inline-flex;align-items:center;gap:6px;max-width:100%;border-radius:30px;padding:4px 9px!important;background:var(--status-bg)!important;color:var(--status-color)!important;font-size:10px;font-weight:600;line-height:1.4;white-space:normal;text-align:left}
.collections-redesign .collection-status-badge:before{content:'◷';font-size:14px;line-height:1;flex:none}
.collections-redesign [data-status=completed] .collection-status-badge:before{content:'✓';background:var(--stage);color:#fff;width:14px;height:14px;display:grid;place-items:center;border-radius:50%;font-size:10px}
.collections-redesign [data-status=attention] .collection-status-badge:before{content:'!';font-weight:800}
.collections-redesign [data-status=uploading] .collection-status-badge:before,.collections-redesign [data-status=verifying] .collection-status-badge:before{content:'↻'}
.collections-redesign .collection-status .collection-status-track{display:flex;gap:0;height:38px;overflow:visible;background:none;border-radius:0;margin:12px 20px 0 24px;padding:0}
.collections-redesign .collection-status .collection-status-segment{position:relative;flex:1;min-width:0;height:12px;border:0;border-radius:0;background:transparent}
.collections-redesign .collection-status-segment:last-child{flex:0}
.collections-redesign .collection-status-segment:before{content:'';position:absolute;top:5px;left:0;width:100%;height:2px;background:#dfe4ed}
.collections-redesign .collection-status-segment.done:before{background:var(--stage)}
.collections-redesign .collection-status-segment:after{content:'';position:absolute;top:0;left:-5px;box-sizing:border-box;width:11px;height:11px;border:2px solid #d3dae6;background:#fff;border-radius:50%}
.collections-redesign .collection-status-segment.current:after{border-color:var(--stage);box-shadow:0 0 0 3px var(--status-bg)}
.collections-redesign .collection-status-segment.done:after{content:'✓';background:var(--stage);border:0;color:white;font:8px/11px 'Segoe UI',sans-serif;text-align:center}
.collection-stage-label{position:absolute;top:17px;left:0;transform:translateX(-50%);font-size:8px;font-weight:400;color:#7b87a0;white-space:nowrap}
.collections-redesign .collection-status .collection-status-caption{display:block;font-size:10px;color:#70819d;margin-top:4px;line-height:1.5}
.collections-redesign .client-collection-status{padding:20px 22px;border:1px solid #e9eef6;border-radius:12px;box-shadow:0 3px 10px #233b6303;background:white;margin:20px 0}
.collections-redesign .client-collection-status .collection-status-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.collections-redesign .client-collection-status h2{font-size:16px;letter-spacing:-.2px}
.collections-redesign .client-collection-status .collection-status-badge{font-size:11px}
.collections-redesign .client-collection-status .collection-status-track{height:42px;margin-top:20px}
.collections-redesign .client-collection-status .collection-stage-label{font-size:11px}
.collections-redesign .client-collection-status .collection-status-caption{font-size:12px}

.collections-redesign #detail-view .back{margin-bottom:18px;color:#6c84ad}
.collections-redesign #detail-view .page-title{margin-bottom:12px}
.collections-redesign #detail-view .context-line{font-size:12px;margin-top:4px}
.collections-redesign #detail-view .detail-dates{font-size:11px;color:#7c8aa3;margin-bottom:20px}
.collections-redesign #detail-view>h2,.collections-redesign #deliverables-title{font-size:17px;margin-bottom:12px;letter-spacing:-.2px}
.collections-redesign .run-card{border:1px solid #e9eef6;border-radius:12px;background:#fff;box-shadow:0 3px 10px #233b6303;padding:20px;margin-bottom:20px}
.collections-redesign .run-top{margin-bottom:12px}.collections-redesign .run-top h3{font-size:14px;margin-bottom:4px}
.collections-redesign .review-platforms fieldset{margin-bottom:12px;gap:8px}.collections-redesign .review-platforms legend{font-size:11px;margin-bottom:7px}
.collections-redesign .review-platforms fieldset button{min-height:32px;font-size:11px;padding:6px 16px;border-radius:6px}
.collections-redesign .run-downloads>h4{font-size:12px;margin:12px 0;color:#5c6f90}
.collections-redesign .download-choices{gap:14px}
.collections-redesign #detail-view .download-choice{position:relative;border:1px solid #e5ebf6;background:linear-gradient(125deg,#fcfdff,#f8faff);padding:18px 18px 18px 73px;border-radius:9px;min-width:0}
.collections-redesign .download-choice:before{content:'';position:absolute;top:18px;left:16px;width:42px;height:42px;background:url('./portal-file.svg') center/contain no-repeat}
.collections-redesign .review-download .download-choice:nth-child(2):before{background-image:url('./portal-review.svg')}
.collections-redesign .download-kind{font-size:10px;letter-spacing:.6px;color:#4e6794;display:block;margin-bottom:9px}
.collections-redesign .download-filename{font-size:12px;line-height:1.5;color:#213759;overflow-wrap:anywhere}
.collections-redesign .download-instructions,.collections-redesign .download-save-note{font-size:11px;line-height:1.6;color:#71809b;margin:8px 0 12px}
.collections-redesign .download-choice button,.collections-redesign .download-choice a.secondary{font-size:12px;min-height:36px;padding:9px 13px;white-space:normal;max-width:100%}
.collections-redesign .download-note{font-size:10px;line-height:1.5;color:#7b88a0;margin:12px 0 0}
.collections-redesign #deliverables-section{padding:0;border:0;background:none;box-shadow:none;margin:24px 0}
.collections-redesign #deliverables-section .workspace-section-heading p{font-size:11px;color:#7b89a1}
.collections-redesign .deliverable-row{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid #e9eef6;border-radius:10px;background:#fff;margin:8px 0}
.collections-redesign .deliverable-info{flex:1;min-width:0}.collections-redesign .deliverable-info strong{font-size:12px;overflow-wrap:anywhere}.collections-redesign .deliverable-info p{font-size:11px;margin:5px 0;line-height:1.5}
.collections-redesign .deliverable-icon{box-sizing:content-box;width:21px;height:21px;padding:12px;border-radius:50%;background:#f0f4fc;color:#46628f}
.collections-redesign .deliverable-row .state{font-size:10px;padding:4px 8px}.collections-redesign .deliverable-row>button{font-size:11px;min-height:34px;padding:8px 15px}
.collections-redesign #detail-view>.collection-lifecycle{padding:18px 20px;border:1px solid #e9eef6;border-radius:10px;background:white;margin-top:22px}
.collections-redesign .retention-dates h3{display:flex;align-items:center;gap:10px;font-size:15px;margin-bottom:12px}.collections-redesign .retention-dates h3 .portal-icon{color:#7183a4;width:19px}
.collections-redesign .retention-dates p{font-size:11px;margin-bottom:8px}
@media(min-width:1500px){.collections-redesign .collections-table td{padding-left:16px;padding-right:16px}.collections-redesign .collections-table th{padding-left:16px;padding-right:16px}.collections-redesign .collection-status .collection-status-badge{font-size:11px}.collection-stage-label{font-size:9px}}
@media(min-width:801px) and (max-width:1200px){.collections-redesign .app-shell,.collections-redesign[data-density=compact] .app-shell{grid-template-columns:185px minmax(0,1fr)}.collections-redesign main#main,.collections-redesign[data-density=compact] main#main{padding:24px 20px}.collections-redesign .collections-table td{padding-left:9px;padding-right:9px}.admin-collections .custodian-avatar,.admin-collections .collection-device>.portal-icon,.admin-collections .collection-matter>.portal-icon{display:none}.collections-redesign .collections-table.admin-collections .collection-stage-label{display:none}.collections-redesign .admin-collections .collection-status .collection-status-track{margin-left:5px;margin-right:5px;height:17px}.collections-redesign .admin-collections .collection-open{padding:8px 10px}.custodian-avatar{width:30px;height:30px}.collection-person-line{gap:8px}}
@media(max-width:800px){.collections-redesign .app-shell,.collections-redesign[data-density=compact] .app-shell{display:block}.collections-redesign aside,.collections-redesign[data-density=compact] aside{height:auto}.collections-redesign .portal-topbar{padding:12px 16px;min-height:64px}.collections-redesign .portal-topbar .brand img{width:108px}.collections-redesign .nav-item,.collections-redesign[data-density=compact] .nav-item{font-size:12px;padding:8px;min-height:38px;gap:7px}.collections-redesign .nav-item .portal-icon{width:17px;height:17px}.collections-redesign main#main,.collections-redesign[data-density=compact] main#main{padding:22px 16px}.collections-redesign h1,.collections-redesign[data-density=compact] h1{font-size:27px}.collections-redesign .collection-row,.collections-redesign[data-density=compact] .collection-row{background:#fff;border:1px solid #e8edf6;border-radius:11px;margin-bottom:10px;padding:18px;gap:14px}.collections-redesign .collections-table td,.collections-redesign[data-density=compact] .collections-table td,.collections-redesign .collection-row:last-child td{border:0;padding:0;background:transparent;border-radius:0}.collections-redesign .collection-person strong{font-size:15px}.collections-redesign .collections-table small{font-size:11px}.collections-redesign .collection-status .collection-status-track{max-width:none}.collection-stage-label{font-size:10px}.collections-redesign .collection-status .collection-status-caption{font-size:11px}.collections-redesign .collection-status .collection-status-badge{font-size:11px}.collections-redesign .collection-open{min-height:40px;padding:9px 20px}.collections-redesign .collections-count{padding:10px 2px}.collections-redesign .client-collection-status,.collections-redesign .run-card{padding:17px}.collections-redesign #detail-view .download-choice{padding:17px}.collections-redesign .download-choice:before{position:static;display:block;width:36px;height:36px;margin-bottom:12px}.collections-redesign .deliverable-row{flex-wrap:wrap;gap:10px}.collections-redesign .deliverable-icon{padding:9px}.collections-redesign .deliverable-info{flex-basis:70%}.collections-redesign .deliverable-row>button{margin-left:auto}}

.collections-redesign .download-choice-title{font-size:14px;font-weight:650;color:#172c50;margin:0 0 6px;line-height:1.4}
.collections-redesign .review-download>h4{display:none}
.collections-redesign .client-collection-status .collection-status{margin:0;padding:0}
.collections-redesign .sidebar-foot a{display:block;margin-left:-26px;margin-top:10px;white-space:nowrap;font-size:10px}
@media(max-width:800px){.collections-redesign .download-choice-title{font-size:15px}.collections-redesign .download-choice:before{flex-shrink:0}}
