.collections-page{max-width:1680px;margin:0 auto;padding:28px 24px 48px;color:#253e4c}
.collections-page h2{font-size:28px;letter-spacing:-.025em;color:#173e53;margin-bottom:10px}
.collections-page p{line-height:1.6}
.collections-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;flex-wrap:wrap}
.collections-heading>div:first-child{flex:1;min-width:280px}
.collections-toolbar{display:flex;flex-wrap:wrap;gap:8px;max-width:950px}
.collections-page .btn{border-radius:6px;line-height:1.45;white-space:normal}
.collections-page .btn:focus-visible,.collections-page summary:focus-visible{outline:3px solid #109aab;outline-offset:3px}
.collections-page .card{border:1px solid #dce5e9;border-radius:10px;box-shadow:0 3px 9px #173e5306;overflow:hidden;margin-bottom:20px}
.collections-page .card-header{background:#f5f8fa;border-bottom:1px solid #e0e8ec;padding:16px 22px;color:#315467}
.collections-page .card-body{padding:22px}
.collections-page .form-row.align-items-end .form-group{margin-bottom:0}
.collections-page .form-control{border-radius:6px;border:1px solid #becfd7;box-shadow:none;min-height:40px}
.collections-page label{font-weight:600;color:#3e5966;margin-bottom:7px}
.collections-page .form-group{margin-bottom:18px}
.collections-note{border:1px solid #cbdfe5;border-left:4px solid #147e90;border-radius:8px;background:#f0f7f8;padding:16px 20px;margin:0 0 22px;line-height:1.65;color:#365966}
.collections-note>strong{display:block;color:#174c60;margin-bottom:4px}
.collections-notice{background:#fff9e9;border:1px solid #e8d8a4;border-radius:8px;padding:13px 18px;margin-bottom:20px;color:#725719}
.collections-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}
.collections-metrics>div{background:white;border:1px solid #dce5e9;border-radius:9px;padding:15px 19px}
.collections-metrics strong{font-size:27px;display:block;color:#174c60;line-height:1.3}
.collections-metrics span{font-size:13px;color:#617d8b}
.collections-page table th{background:#f7fafb;color:#476374;font-size:12px;letter-spacing:.025em;border-bottom:1px solid #dce5e9;padding:14px 12px}
.collections-page table td{vertical-align:top;padding:16px 12px;line-height:1.6;border-color:#e7edf0}
.collections-worklist{font-size:13px;min-width:1100px}
.collections-worklist th:first-child,.collections-worklist td:first-child{width:225px;min-width:215px}
.collections-worklist td:nth-child(2){min-width:120px;font-variant-numeric:tabular-nums}
.collections-worklist td:nth-child(4){min-width:190px}
.collections-worklist td:nth-child(5){min-width:170px}
.collections-worklist td:nth-child(6){min-width:175px}
.collections-stale-row td:first-child{border-left:3px solid #c78c22}
.collections-page .badge-warning{background:#fff0c9;color:#73551d}
.collections-page .badge-success{background:#e1f1ea;color:#236346}
.collections-page .badge{padding:5px 8px;line-height:1.3;white-space:normal;border-radius:5px;font-weight:600}
.collections-page .text-warning{color:#8b6417!important}
.collections-page details summary{cursor:pointer;color:#2d697f;font-weight:600;padding:6px 0}
.collections-page details[open]>summary{margin-bottom:10px}
.collections-more{margin-top:9px}
.collections-more[open]{padding-bottom:8px}
.collections-admin-tools{background:#f6f9fa;border:1px solid #dce5e9;border-radius:9px;padding:10px 20px}
.collections-admin-tools>.card{margin-top:12px}
.collections-empty{padding:20px;background:#f5f8fa;border-radius:8px;color:#526d7c}
.collections-empty p{margin:7px 0 0}
.collections-reason{border-left:3px solid #d6ab50;padding-left:9px;margin-bottom:9px}
.collections-page code{white-space:normal;overflow-wrap:anywhere;font-size:11px;color:#637581}
.collections-page .table-responsive{border-radius:8px}
@media(max-width:900px){.collections-page{padding:20px 12px}.collections-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.collections-heading{gap:12px}.collections-page .form-row.align-items-end .form-group{margin-bottom:14px}.collections-toolbar{max-width:none}.collections-page .card-body{padding:17px}}
@media(prefers-reduced-motion:reduce){.collections-page *{scroll-behavior:auto}}
