.resource-page{max-width:1160px;margin:0 auto;padding-bottom:32px}.resource-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:12px 0 28px}.resource-heading h1{font-size:clamp(28px,4vw,40px);margin:8px 0 14px;line-height:1.25}.resource-heading p,.resource-count,.resource-meta,.resource-file p{color:var(--muted,#797d86);font-size:14px}.resource-search{display:flex;gap:10px;max-width:520px;margin-bottom:24px}.resource-search label{flex:1;min-width:0}.resource-search input{width:100%;padding:12px 16px;border:1px solid rgba(128,128,128,.18);border-radius:14px;background:rgba(255,255,255,.2);color:inherit}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.resource-card{display:flex;flex-direction:column;border-radius:22px;padding:24px;text-decoration:none;color:inherit;min-width:0}.resource-category{font-size:12px;color:var(--muted,#797d86)}.resource-card h2{font-size:20px;line-height:1.5;margin:16px 0 10px;overflow-wrap:anywhere}.resource-card>p{color:var(--muted,#797d86);font-size:14px;line-height:1.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 24px}.resource-meta{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;margin-top:auto;font-size:12px}.resource-card footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(128,128,128,.15);padding-top:16px;margin-top:16px;font-size:12px}.resource-card footer .icon{width:18px;height:18px}.resource-back{display:inline-flex;gap:8px;align-items:center;color:inherit;text-decoration:none;margin:12px 0}.resource-back .icon{width:18px;height:18px}.resource-intro,.resource-changes p{white-space:pre-wrap;line-height:1.9;max-width:780px;overflow-wrap:anywhere}.resource-detail>h2,.resource-changes h2{font-size:18px;margin:32px 0 16px}.resource-files{padding:0 24px;border-radius:22px}.resource-file{display:flex;gap:20px;align-items:center;padding:24px 0;border-bottom:1px solid rgba(128,128,128,.15)}.resource-file:last-child{border:0}.resource-number{font-size:13px;color:var(--muted,#797d86)}.resource-file-info{flex:1;min-width:0}.resource-file h3{margin:0 0 8px;font-size:16px;overflow-wrap:anywhere}.resource-file p{margin:4px 0;line-height:1.6}.resource-download{flex-shrink:0;gap:8px}.resource-download .icon{width:18px;height:18px}.resource-note{white-space:pre-wrap}.resource-pagination{display:flex;gap:20px;align-items:center;justify-content:center;margin-top:28px}.resource-dialog{width:min(460px,calc(100vw - 32px));max-height:80dvh;padding:24px;border-radius:24px;color:inherit;border:1px solid rgba(128,128,128,.2)}.resource-dialog::backdrop{background:rgba(0,0,0,.28);backdrop-filter:blur(6px)}.resource-source{padding:20px 0;border-bottom:1px solid rgba(128,128,128,.15)}.resource-source:last-child{border:0}.resource-source-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.resource-source-actions input{width:90px;max-width:100%;padding:6px;border:0;border-radius:6px;color:inherit;background:rgba(128,128,128,.08)}.resource-report{margin-top:16px;font-size:12px;color:var(--muted,#797d86)}.resource-changes{margin-bottom:24px}.resource-page .filter-tabs{flex-wrap:wrap;gap:8px}.resource-page a:focus-visible,.resource-page button:focus-visible{outline:2px solid #da2850;outline-offset:4px}
@media(max-width:1100px){.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.resource-grid{grid-template-columns:1fr;gap:14px}.resource-card{padding:20px}.resource-heading{gap:12px;margin-bottom:24px}.resource-heading h1{font-size:28px}.resource-files{padding:0 16px}.resource-file{gap:12px;flex-wrap:wrap}.resource-number{display:none}.resource-file-info{flex-basis:65%}.resource-download{padding:10px 12px}.resource-count{white-space:nowrap;font-size:12px}.resource-dialog{padding:20px}}
/* Compact document groups, shared with server-rendered resource pages. */
.resource-page{max-width:1080px}.resource-heading{margin-bottom:24px}.resource-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}.resource-toolbar .resource-search{margin:0;flex:1;min-width:240px;max-width:420px}.resource-toolbar .filter-tabs{margin:0}.resource-groups{display:grid;gap:14px}.resource-group{border-radius:18px;overflow:hidden}.resource-group>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;cursor:pointer}.resource-group>summary::-webkit-details-marker{display:none}.resource-group h2{font-size:19px;line-height:1.45;margin:0 0 7px;overflow-wrap:anywhere}.resource-group>summary>div>span{font-size:12px;color:var(--muted)}.resource-expand{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(128,128,128,.08);flex-shrink:0}.resource-expand .icon{width:18px;height:18px}.resource-group[open] .resource-expand{transform:rotate(180deg)}.resource-group-body{padding:0 26px 16px}.resource-group-body>.resource-intro{font-size:14px;margin:0 0 16px;color:var(--muted)}.resource-file-list{border-top:1px solid rgba(128,128,128,.16)}.resource-file{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:14px;padding:16px 0}.resource-file h3{font-size:14px;line-height:1.6;margin:0;font-weight:500}.resource-file-actions{display:flex;gap:8px;flex-shrink:0}.resource-file-actions .button{font-size:12px;padding:8px 13px;min-height:36px;border:1px solid rgba(128,128,128,.18);background:rgba(128,128,128,.035);white-space:nowrap}.resource-file-actions .resource-member{color:var(--accent,#da2850);border-color:rgba(218,40,80,.2);background:rgba(218,40,80,.055)}.resource-group footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding-top:14px}.resource-group footer a{color:inherit;text-decoration:none}.resource-detail-files{padding:6px 26px}.resource-detail-files .resource-file-list{border:0}.resource-footnote{font-size:12px;color:var(--muted);margin-top:16px}.resource-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;color:var(--muted)}.resource-group summary:focus-visible{outline:2px solid var(--accent,#da2850);outline-offset:-4px}.resource-dialog .resource-source strong{overflow-wrap:anywhere}.resource-dialog .resource-source{padding-top:10px}@media(max-width:600px){.resource-toolbar{gap:12px}.resource-toolbar .resource-search{max-width:none}.resource-group>summary{padding:18px}.resource-group h2{font-size:17px}.resource-group-body{padding:0 18px 14px}.resource-file{grid-template-columns:minmax(0,1fr);gap:10px;padding:14px 0}.resource-file .resource-number{display:none}.resource-file-actions{justify-content:flex-end}.resource-file-actions .button{min-height:40px;padding:9px 14px}.resource-detail-files{padding:4px 18px}.resource-group footer{font-size:11px}.resource-group{border-radius:16px}}

.resource-expand .icon{transform:rotate(90deg)}
.resource-search .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
/* Small resources expose their content without an expansion step. */
.resource-direct{padding:20px 22px}.resource-direct h2{font-size:16px;margin:0 0 10px;line-height:1.5}.resource-direct h2 a{color:inherit;text-decoration:none}.resource-direct .resource-intro,.resource-card-note{font-size:13px;line-height:1.75;margin:0 0 12px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.resource-card-note{font-size:12px}.resource-file{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 0}.resource-file h3{font-size:13px}.resource-file-actions .button,.resource-inline-actions .button{min-height:34px;padding:7px 13px;font-size:12px;line-height:1.4;white-space:nowrap}.resource-inline-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.resource-inline-actions .button{border:1px solid rgba(128,128,128,.18);background:rgba(128,128,128,.035)}.resource-inline-actions .resource-member{color:var(--accent,#da2850);border-color:rgba(218,40,80,.2);background:rgba(218,40,80,.055)}.resource-direct .resource-file:last-child{padding-bottom:0}.resource-detail-link{display:inline-block;font-size:12px;color:var(--muted);margin-top:8px;text-decoration:none}@media(max-width:600px){.resource-direct{padding:17px 18px}.resource-file{grid-template-columns:minmax(0,1fr) auto}.resource-file-actions{flex-wrap:wrap;justify-content:flex-end;max-width:160px;gap:6px}.resource-file-actions .button,.resource-inline-actions .button{min-height:36px;padding:8px 11px}.resource-group h2{font-size:16px}}
