.documents-intro { max-width:810px; margin:22px 0 0; color:var(--ink-soft); font-size:18px; line-height:1.75; }
.documents-page .inner-hero { padding-bottom:30px; }
.documents-page .inner-hero h1 { max-width:1100px; font-size:clamp(30px,3.2vw,46px); }
.documents-page .inner-section { padding-top:32px; }
.documents-license { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:25px; padding:30px; border:1px solid #c5d9f1; border-radius:27px; background:linear-gradient(120deg,#eef5ff,#fff 75%); box-shadow:0 14px 35px rgb(52 84 161 / 9%); }
.documents-license__icon { display:grid; place-items:center; width:66px; height:76px; border:1px solid #c2d5f1; border-radius:17px; background:#fff; color:var(--blue); font-size:15px; font-weight:750; box-shadow:0 5px 16px rgb(52 84 161 / 8%); }
.documents-license h2 { margin:0 0 9px; color:var(--ink); font-size:24px; line-height:1.3; }
.documents-license p { margin:0; color:var(--ink-soft); font-size:14px; line-height:1.65; }
.documents-license__links { display:flex; flex-direction:column; align-items:center; gap:12px; }
.documents-license__links a:not(.button) { color:var(--blue); font-size:13px; text-underline-offset:3px; }
.documents-toolbar { padding:25px; margin:30px 0; border:1px solid #d0e0f4; border-radius:24px; background:#fff; box-shadow:0 9px 25px rgb(52 84 161 / 6%); }
.documents-search label { display:block; margin-bottom:10px; color:var(--ink); font-size:15px; font-weight:700; }
.documents-search__field { display:flex; align-items:center; gap:12px; min-height:55px; padding:0 16px; border:1px solid #bcd0ec; border-radius:15px; background:#f9fcff; }
.documents-search__field:focus-within { outline:3px solid rgb(52 84 161 / 15%); border-color:var(--blue); }
.documents-search__field svg { width:21px; height:21px; flex:0 0 21px; color:var(--blue); }
.documents-search input { width:100%; min-width:0; padding:15px 0; border:0; outline:0; background:transparent; color:var(--ink); font:inherit; font-size:16px; }
.documents-clear { min-width:36px; min-height:40px; padding:3px; border:0; border-radius:9px; background:#eaf2ff; color:var(--blue); font-size:23px; cursor:pointer; }
.documents-filters { display:flex; flex-wrap:wrap; gap:8px; margin-top:19px; }
.documents-filters button { min-height:42px; padding:10px 15px; border:1px solid #cdddf2; border-radius:999px; background:#f3f8ff; color:var(--blue); font:inherit; font-size:13px; font-weight:650; line-height:1.4; cursor:pointer; }
.documents-filters button[aria-pressed="true"] { border-color:var(--blue); background:var(--blue); box-shadow:0 5px 14px rgb(52 84 161 / 15%); color:#fff; }
.documents-status { margin:16px 0 0; color:#526781; font-size:13px; }
@media(min-width:951px) {
 .documents-intro { max-width:970px; margin-top:15px; font-size:17px; }
 .documents-license { padding:24px 27px; }
 .documents-toolbar { margin-block:24px; padding:22px 25px; }
}
.document-group { margin-top:37px; scroll-margin-top:105px; }
.document-group__heading { display:flex; align-items:baseline; gap:13px; margin-bottom:19px; }
.document-group__heading > span { color:var(--blue); font-size:12px; font-weight:750; }
.document-group h2 { margin:0; color:var(--ink); font-size:clamp(23px,2.5vw,29px); line-height:1.35; }
.document-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:19px; }
.document-card { position:relative; display:flex; min-width:0; flex-direction:column; padding:25px; border:1px solid #cddff4; border-radius:24px; background:linear-gradient(155deg,#fff,#f7fbff); box-shadow:0 10px 26px rgb(52 84 161 / 8%),0 0 18px rgb(123 177 233 / 5%); color:var(--ink); text-decoration:none; transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease; }
.document-card:hover { transform:translateY(-3px); border-color:#8caddb; box-shadow:0 16px 32px rgb(52 84 161 / 14%); }
.document-card__tag { align-self:flex-start; padding:5px 9px; margin-bottom:20px; border:1px solid #d6e4f5; border-radius:8px; background:#eff6ff; color:var(--blue); font-size:11px; font-weight:700; }
.document-card h3 { margin:0 0 11px; font-size:19px; line-height:1.4; overflow-wrap:anywhere; }
.document-card p { margin:0 0 23px; color:var(--ink-soft); font-size:14px; line-height:1.75; }
.document-card__action { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; padding-top:16px; border-top:1px solid #dce7f6; color:var(--blue); font-size:13px; font-weight:700; }
.document-card__action > span:last-child { display:grid; place-items:center; width:30px; height:30px; flex:0 0 30px; padding-left:2px; border-radius:50%; background:#e8f3ff; font-size:10px; }
.documents-empty { padding:30px 23px; border:1px dashed #b8cee9; border-radius:22px; background:#f3f8ff; color:var(--ink); line-height:1.7; text-align:center; }
.documents-help { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px; padding:28px; margin-top:43px; border:1px solid #cbdcf2; border-radius:24px; background:#edf5ff; }
.documents-help h2 { margin:0 0 9px; font-size:23px; line-height:1.4; }
.documents-help p { max-width:680px; margin:0; color:var(--ink-soft); font-size:14px; line-height:1.7; }
.documents-help__links { display:flex; flex-wrap:wrap; gap:10px; }
.documents-help__links a { min-height:44px; padding:11px 15px; border:1px solid #bdd2ed; border-radius:999px; background:#fff; color:var(--blue); font-size:14px; font-weight:700; text-decoration:none; }
html.a11y-enabled .document-grid { grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr)); }
html.a11y-enabled .documents-license { grid-template-columns:minmax(0,1fr); }
html.a11y-enabled .documents-license__icon { display:none; }
html.a11y-enabled .documents-license__links { align-items:flex-start; }
@media(max-width:950px) {
 .document-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .documents-license { grid-template-columns:auto minmax(0,1fr); }
 .documents-license__links { grid-column:1/-1; flex-direction:row; justify-content:flex-start; }
}
@media(max-width:560px) {
 .documents-intro { margin-top:17px; font-size:16px; text-align:center; }
 .documents-license { grid-template-columns:minmax(0,1fr); gap:16px; padding:22px; border-radius:23px; }
 .documents-license__icon { width:48px; height:54px; border-radius:13px; font-size:12px; }
 .documents-license h2 { font-size:22px; }
 .documents-license__links { flex-direction:column; align-items:stretch; gap:14px; }
 .documents-license__links a:not(.button) { text-align:center; }
 .documents-toolbar { padding:19px; border-radius:21px; margin-block:24px; }
 .documents-search__field { padding-inline:12px; }
 .documents-filters { gap:7px; margin-top:16px; }
 .documents-filters button { padding:9px 12px; font-size:12px; }
 .document-group { margin-top:29px; }
 .document-grid { grid-template-columns:1fr; gap:13px; }
 .document-card { padding:22px; border-radius:22px; }
 .document-card__tag { margin-bottom:15px; }
 .document-card h3 { font-size:19px; }
 .document-card p { margin-bottom:18px; }
 .documents-help { padding:22px; margin-top:29px; }
 .documents-help h2 { font-size:21px; }
 .documents-help__links { width:100%; }
}
@media(prefers-reduced-motion:reduce) { .document-card { transition:none; } }
