/* r23: compact catalogue and reference-specific detail recommendations. */
body.docwk-front .wenku-page .wenku-main .doc-grid:has(>.dw-document-card){grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
body.docwk-front .wenku-page .dw-document-card{height:auto!important;min-height:0!important;padding:16px!important;border-radius:14px!important}
body.docwk-front .wenku-page .dw-file-icon{margin-bottom:9px!important;gap:8px}
body.docwk-front .wenku-page .dw-file-icon svg{width:27px;height:30px}
body.docwk-front .wenku-page .dw-document-card .doc-title{min-height:0!important;height:auto!important;max-height:3em!important;margin:0 0 8px!important;font-size:17px!important;line-height:1.5!important}
body.docwk-front .wenku-page .dw-document-category{margin-bottom:5px!important;padding:2px 8px!important}
body.docwk-front .wenku-page .dw-document-card .doc-desc{margin:4px 0 10px!important;height:3.4em!important;min-height:0!important;max-height:3.4em!important;font-size:14px!important;line-height:1.7!important;-webkit-line-clamp:2!important}
body.docwk-front .wenku-page .dw-document-footer{margin-top:8px!important;padding-top:10px!important;font-size:13px!important;gap:8px}
body.docwk-front .wenku-page .dw-document-stats{font-size:13px!important}
body.docwk-front .wenku-page .detail-card{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important}
body.docwk-front .wenku-page .detail-card .dw-doc-summary{flex:0 0 100%!important;width:100%!important;max-width:none!important;grid-column:1 / -1;box-sizing:border-box}
body.docwk-front .wenku-page .detail-main .recommend-section{margin-top:24px!important}
body.docwk-front .wenku-page .recommend-section .recommend-card:has(.doc-grid){background:transparent!important;border:0!important;padding:0!important}
body.docwk-front .wenku-page .recommend-section .doc-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
body.docwk-front .wenku-page .recommend-section .recommend-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px!important}
body.docwk-front .wenku-page .recommend-title h3{font-size:18px!important;font-weight:700;color:#14213d}
body.docwk-front .wenku-page .recommend-section .dw-document-card{background:linear-gradient(135deg,#fff,#fafcff)!important;border:1px solid #e4ecfa!important;box-shadow:0 5px 18px #345ba009!important}
body.docwk-front .wenku-page .recommend-section .recommend-card:has(.latest-list){background:#fff!important;border:1px solid #e4ecfa!important;border-radius:16px!important;padding:18px 20px!important}
body.docwk-front .wenku-page .latest-list{border:0!important;padding:0!important;background:none!important}
body.docwk-front .wenku-page .latest-item{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:14px;align-items:center;padding:11px 0!important;min-height:44px;box-sizing:border-box}
body.docwk-front .wenku-page .latest-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
body.docwk-front .wenku-page .latest-name:before{vertical-align:middle;width:24px;height:28px;margin-right:12px}
body.docwk-front .wenku-page .latest-date{font-size:13px;color:#6b7893}
body.docwk-front .wenku-page .dw-list-view .doc-grid{grid-template-columns:1fr!important}
@media(max-width:1280px){body.docwk-front .wenku-page .wenku-main .doc-grid:has(>.dw-document-card){grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1100px){body.docwk-front .wenku-page .wenku-main .doc-grid:has(>.dw-document-card),body.docwk-front .wenku-page .recommend-section .doc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body.docwk-front .wenku-page .wenku-main .doc-grid:has(>.dw-document-card),body.docwk-front .wenku-page .recommend-section .doc-grid{grid-template-columns:1fr!important}body.docwk-front .wenku-page .dw-document-card{padding:14px!important}body.docwk-front .wenku-page .latest-item{grid-template-columns:30px minmax(0,1fr)!important;gap:8px}body.docwk-front .wenku-page .latest-date{grid-column:2;font-size:12px}body.docwk-front .wenku-page .dw-document-footer,body.docwk-front .wenku-page .dw-document-stats{font-size:12px!important}.dw-doc-summary{display:block!important}.dw-doc-summary strong{display:block;border:0;margin-bottom:6px}}

body.docwk-front .wenku-page .dw-rec-off{display:none!important}.dw-rec-next{border:0;background:transparent;color:#65748d;font:inherit;font-size:14px;cursor:pointer}.recommend-title h3:before{content:"";display:inline-block;width:20px;height:22px;background:url(/assets/ui-icons/document.svg) center/contain no-repeat;vertical-align:middle;margin-right:8px}

