/* Cards aligned with supplied document-library reference. */
body.docwk-front .wenku-page{background:#f5f7fc}.wenku-page .dw-document-card{position:relative;display:block!important;padding:20px!important;background:linear-gradient(135deg,#fff,#fbfcff)!important;border:1px solid #e7edf7!important;border-radius:16px!important;box-shadow:0 5px 18px #243a6a07!important;min-height:240px;transition:border-color .18s,box-shadow .18s}.wenku-page .dw-document-card:hover{border-color:#cbd9f2!important;box-shadow:0 9px 22px #243a6a12!important}.wenku-page .dw-file-icon{width:auto;display:flex;align-items:center;gap:10px;padding:0;margin-bottom:16px}.wenku-page .dw-file-icon svg{width:32px;height:36px;fill:#eef5ff}.wenku-page .dw-file-icon span{font-size:13px}.wenku-page .dw-document-card .doc-title{font-size:18px!important;line-height:1.5!important;font-weight:700!important;min-height:54px;height:auto!important;margin-bottom:10px!important;color:#10213e}.wenku-page .dw-document-category{background:#eef4ff!important;color:#2966be!important;border-radius:6px;padding:3px 9px;font-size:12px}.wenku-page .dw-document-card .doc-desc{font-size:14px!important;line-height:1.75!important;margin-top:9px!important;min-height:48px;max-height:49px;overflow:hidden}.wenku-page .dw-document-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef1f7;margin-top:16px;padding-top:12px;color:#67758f;font-size:12px;gap:12px}.dw-view-switch{display:flex;gap:8px;margin-left:12px}.dw-view-switch button{border:1px solid #dce4f0;border-radius:7px;background:white;color:#4b5a74;padding:9px 12px;white-space:nowrap;cursor:pointer}.dw-view-switch button[aria-pressed=true]{border-color:var(--color-orange-500,#ff5b24);color:var(--color-orange-500,#ff5b24);background:#fff8f4}.wenku-page .dw-list-view .doc-grid{grid-template-columns:1fr!important}.wenku-page .dw-list-view .dw-document-card{min-height:0;display:grid!important;grid-template-columns:90px 1fr;gap:20px}.wenku-page .dw-list-view .doc-title{min-height:0!important}.wenku-page .detail-card{background:linear-gradient(120deg,#fff,#fcfdff)!important;border:1px solid #edf1f7!important;border-radius:18px!important;padding:24px!important;gap:20px;flex-wrap:wrap;box-shadow:0 8px 30px #243a6a05}.wenku-page .detail-card .doc-info{flex:1;min-width:0}.wenku-page .detail-card .doc-title{font-size:25px!important;line-height:1.5!important}.wenku-page .detail-card .meta{font-size:13px;gap:12px}.dw-doc-summary{display:flex;align-items:start;gap:24px;width:100%;flex-basis:100%;background:#f0f5ff;border-radius:10px;padding:15px 18px;box-sizing:border-box;color:#324563;font-size:14px;line-height:1.8}.dw-doc-summary strong{flex:none;padding-right:24px;border-right:1px solid #cbdaf4}.dw-doc-summary p{margin:0}.wenku-page .recommend-section .recommend-card{border-radius:16px!important}.wenku-page .recommend-section .dw-document-card{min-height:210px;background:linear-gradient(140deg,#fff,#f8faff)!important}.wenku-page .recommend-section .latest-list{background:#fff;border:1px solid #e6edf8;border-radius:16px;padding:16px}.wenku-page .latest-item{padding:13px 8px!important;border-bottom:1px solid #edf1f8!important}
@media(max-width:1100px){.wenku-toolbar{flex-wrap:wrap;gap:10px}.dw-view-switch{margin-left:0}.dw-view-switch button{font-size:12px;padding:8px}}
@media(max-width:600px){.wenku-page .dw-document-card{padding:16px!important;min-height:0}.wenku-page .dw-document-card .doc-title{font-size:17px!important;min-height:0}.wenku-page .dw-file-icon{margin-bottom:10px}.wenku-page .detail-card{padding:16px!important;gap:12px}.wenku-page .detail-card .doc-title{font-size:20px!important}.dw-doc-summary{font-size:13px;padding:12px;gap:12px}.dw-doc-summary strong{padding-right:12px}.dw-view-switch{width:100%}.dw-view-switch button{flex:1}.wenku-page .dw-list-view .dw-document-card{grid-template-columns:65px 1fr;gap:12px}.wenku-page .dw-document-footer{font-size:11px;gap:8px}.wenku-page .recommend-section .dw-document-card{min-height:0}}
.wenku-page .latest-name:before{content:"DOC";display:inline-flex;align-items:center;justify-content:center;width:28px;height:32px;flex:none;margin-right:12px;border:1px solid #c4dcff;border-radius:4px;background:linear-gradient(140deg,#eff8ff,#c7e3ff);color:#2370cd;font-size:9px;font-weight:700}.wenku-page .latest-num{border-radius:6px;background:#fff0e9;color:var(--color-orange-500,#ff5b24);padding:3px 9px}.wenku-page .latest-list{padding:10px 18px!important}.wenku-page .latest-item:last-child{border-bottom:0!important}.wenku-page .detail-card .keywords{flex-basis:100%;margin-top:0!important}
