.docwk-tool-host{box-sizing:border-box;min-width:0;padding:24px;max-width:100%;background:var(--ui-page,#f6f8fb)}
.docwk-tool-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.docwk-tool-links a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:1px solid var(--ui-line,#e4e9f1);border-radius:11px;background:var(--ui-surface,#fff);color:var(--ui-ink,#26364a);text-decoration:none;font:500 13px/1.5 system-ui}
.docwk-tool-links a[aria-current=page]{background:var(--ui-strong,var(--el-color-primary,#2563eb));color:#fff;border-color:transparent}
.docwk-tool-frame{display:block;border:0;width:100%;height:max(760px,calc(100dvh - 180px));background:#fff;border-radius:16px;box-sizing:border-box}
.docwk-tool-load-error{padding:32px 20px;background:#fff;border:1px solid #e4e9f1;border-radius:16px;color:#9c3e37;line-height:1.8}
.docwk-legacy-tools{padding:20px 0}.docwk-legacy-tools h2{font-size:18px;margin:0 0 14px}.docwk-legacy-tools>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.docwk-legacy-tools a{padding:12px;border-radius:11px;background:var(--ui-surface,#fff);border:1px solid var(--ui-line,#e6eaf0);text-decoration:none;color:var(--ui-ink,#27354a);font-size:13px}
@media screen and (max-width:1024px),screen and (max-width:1366px) and (hover:none) and (pointer:coarse){
body.docwk-front.docwk-unified-ui .docwk-tool-host{padding:16px var(--ui-gutter,16px) calc(var(--docwk-bottom-height,74px) + 20px)!important}
.docwk-tool-links{gap:7px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%;padding-bottom:3px}
.docwk-tool-links a{flex:none;min-height:36px;padding:7px 12px;font-size:12px}
.docwk-tool-frame{height:max(720px,calc(100dvh - 170px));border-radius:14px}
/* One outer gutter for the document header, preview and both recommendation blocks. */
body.docwk-front.docwk-unified-ui .wenku-page .detail-main .detail-scroll{padding:0 var(--ui-gutter,16px) 20px!important}
body.docwk-front.docwk-unified-ui .wenku-page .detail-main .content-bd{padding:0!important;margin:0!important;width:100%!important;max-width:none!important;box-sizing:border-box}
body.docwk-front.docwk-unified-ui .wenku-page .detail-main .detail-card{padding:16px 0!important;margin:0 0 16px!important;width:100%!important;max-width:none!important}
body.docwk-front.docwk-unified-ui .wenku-page .detail-main :is(.reader,.recommend-section){margin-inline:0!important;width:100%!important;max-width:none!important;box-sizing:border-box;padding-inline:0!important}
body.docwk-front.docwk-unified-ui .wenku-page .detail-main .reader-body{margin-inline:0!important;width:100%!important;padding:12px 0!important;box-sizing:border-box}
body.docwk-front.docwk-unified-ui .gov-page>.writing-panel{height:auto!important;min-height:0!important;padding-bottom:8px!important;margin-bottom:0!important;gap:0!important;align-content:start!important}
body.docwk-front.docwk-unified-ui .gov-page .fgroup{min-height:0!important;height:auto!important;margin-bottom:0!important;padding-bottom:0!important}
body.docwk-front.docwk-unified-ui .gov-page>.resources{margin-top:12px!important;padding-top:8px!important}
}
