.acr-document-filters,
.acr-documents { color: #071d42; font-family: inherit; }
.acr-document-filters { background: #fff; border: 1px solid #dce3ec; border-radius: 8px; padding: 20px; width: 100%; }
.acr-document-filters h3 { color: #214e82; font-size: 18px; margin: 0 0 24px; }
.acr-document-filters label,
.acr-document-filters__years strong { display: block; font-size: 10px; font-weight: 700; letter-spacing: .03em; margin-bottom: 8px; }
.acr-document-filters select { appearance: none; background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a617d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid #dce3ec; border-radius: 5px; color: #17365e; font: inherit; height: 42px; padding: 0 36px 0 12px; width: 100%; }
.acr-document-filters__years { margin-top: 22px; }
.acr-document-filters__years button { background: #edf1fb; border: 0; border-radius: 18px; color: #52627a; cursor: pointer; font-size: 12px; font-weight: 700; margin: 0 5px 5px 0; padding: 7px 12px; }
.acr-document-filters__years button.is-active { background: #214e82; color: #fff; }
.acr-documents__toolbar { align-items: center; background: #fff; border: 1px solid #dce3ec; border-radius: 8px; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 14px; padding: 14px; }
.acr-documents__toolbar label { align-items: center; background: #f8fafc; border: 1px solid #dce3ec; border-radius: 5px; display: flex; max-width: 340px; padding: 0 10px; width: 100%; }
.acr-documents__toolbar label span { color: #687990; font-size: 24px; transform: rotate(-20deg); }
.acr-documents__toolbar input { background: transparent; border: 0; box-shadow: none; color: #17365e; font: inherit; height: 40px; outline: 0; padding: 0 8px; width: 100%; }
.acr-documents__count { color: #4a5568; font-size: 12px; white-space: nowrap; }
.acr-documents__stage { min-height: 150px; position: relative; }
.acr-documents__grid { display: grid; gap: 16px; grid-template-columns: repeat(var(--acr-document-columns, 3), minmax(0, 1fr)); }
.acr-document-card { background: #fff; border: 1px solid #dce3ec; border-radius: 8px; display: flex; flex-direction: column; min-height: 190px; padding: 16px; }
.acr-document-card__top { align-items: flex-start; display: flex; justify-content: space-between; }
.acr-document-card__icon { align-items: center; background: #fff4f4; border-radius: 5px; color: transparent; display: flex; font-size: 9px; font-weight: 800; height: 42px; justify-content: center; line-height: 1; overflow: visible; position: relative; width: 42px; }
.acr-document-card__icon:before { border: 2px solid currentColor; border-radius: 2px; content: ''; height: 20px; position: absolute; width: 15px; }
.acr-document-card__icon:before { color: #e32525; }
.acr-document-card__icon:after { background: #fff4f4; color: #e32525; content: attr(data-label); font-size: 8px; font-weight: 800; line-height: 1; padding: 1px 0; position: relative; z-index: 1; }
.acr-document-card__new { background: #e9f0fb; color: #214e82; font-size: 9px; font-weight: 800; padding: 6px 8px; }
.acr-document-card h3 { color: #071d42; font-size: 14px; font-weight: 700; line-height: 1.35; margin: 14px 0 18px; }
.acr-document-card__footer { align-items: flex-end; border-top: 1px solid #e4e8ee; display: flex; gap: 10px; justify-content: space-between; margin-top: auto; padding-top: 13px; }
.acr-document-card__footer span { color: #263b58; display: flex; flex-direction: column; font-size: 11px; }
.acr-document-card__footer small { color: #7c8797; font-size: 8px; font-weight: 700; letter-spacing: .12em; margin-bottom: 4px; }
.acr-document-card__footer a { background: #386b9f; border-radius: 4px; color: #fff !important; font-size: 11px; font-weight: 700; padding: 9px 13px; text-decoration: none; white-space: nowrap; }
.acr-documents__pagination { display: flex; gap: 7px; justify-content: center; margin-top: 28px; }
.acr-documents__pagination button { background: #fff; border: 1px solid #dce3ec; border-radius: 4px; color: #17365e; cursor: pointer; height: 36px; min-width: 36px; }
.acr-documents__pagination button.is-current { background: #214e82; color: #fff; }
.acr-documents__loader { align-items: center; background: rgba(247,249,253,.84); display: flex; flex-direction: column; inset: 0; justify-content: center; opacity: 0; pointer-events: none; position: absolute; transition: opacity .15s; z-index: 4; }
.acr-documents__loader span { animation: acr-documents-spin .7s linear infinite; border: 3px solid #d9e3ef; border-top-color: #214e82; border-radius: 50%; height: 34px; margin-bottom: 9px; width: 34px; }
.acr-documents__loader strong { font-size: 12px; }
.acr-documents.is-loading .acr-documents__loader { opacity: 1; pointer-events: auto; }
.acr-documents__empty { background: #fff; border: 1px solid #dce3ec; border-radius: 8px; padding: 35px; text-align: center; }
@keyframes acr-documents-spin { to { transform: rotate(360deg); } }
@media (max-width: 767px) {
    .acr-documents__grid { grid-template-columns: 1fr; }
    .acr-documents__toolbar { align-items: stretch; flex-direction: column; }
    .acr-documents__toolbar label { max-width: none; }
    .acr-documents__count { white-space: normal; }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .acr-documents__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .acr-document-browser,.acr-document-filters,.acr-documents,.acr-documents__stage,
    .acr-documents__results { min-width: 0; width: 100%; }
    .acr-document-filters__years { display: flex; flex-wrap: wrap; gap: 6px; }
    .acr-document-filters__years strong { flex: 0 0 100%; }
    .acr-document-filters__years button { margin: 0; min-height: 40px; }
    .acr-documents__toolbar label { min-width: 0; width: 100%; }
    .acr-documents__count { text-align: left; }
    .acr-document-card { min-width: 0; }
    .acr-document-card h3 { overflow-wrap: anywhere; }
    .acr-document-card__footer { align-items: flex-start; flex-direction: column; }
    .acr-document-card__footer a { align-self: stretch; min-height: 42px; text-align: center; }
    .acr-documents__pagination { flex-wrap: wrap; }
    .acr-documents__pagination button { min-height: 40px; min-width: 40px; }
}
