/* Shared small-screen foundations. Wide tables scroll inside their own viewport. */
.docwk-responsive{--docwk-vh:100dvh}html.docwk-responsive,html.docwk-responsive body{width:100%;min-width:0}html.docwk-responsive img,html.docwk-responsive video{max-width:100%}html.docwk-responsive .el-dialog,html.docwk-responsive .el-message-box{max-width:calc(100vw - 24px)}html.docwk-responsive .el-drawer{max-width:100vw}html.docwk-responsive .el-table,html.docwk-responsive .el-table__body-wrapper,html.docwk-responsive .vxe-table--body-wrapper{max-width:100%}.docwk-table-scroll{overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.docwk-table-scroll:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}.docwk-nav-toggle,.docwk-nav-shade{display:none}
@media screen and (max-width:1180px){
body.docwk-front .gov-layout{height:100vh;height:100dvh;min-width:0}body.docwk-front .gov-main,body.docwk-front .gov-content{min-width:0;max-width:100%}body.docwk-front .wa-workspace{gap:10px}body.docwk-front .wa-setting{width:300px}body.docwk-front .wa-material{width:240px}body.docwk-front .doc-bar,body.docwk-front .editor-header{height:auto;min-height:46px;flex-wrap:wrap;padding-block:8px}body.docwk-front .doc-bar .doc-left{min-width:0;flex-wrap:wrap}body.docwk-front .kb-page{min-width:0}body.docwk-front .dt-layout{grid-template-columns:minmax(0,1fr)}
body.docwk-admin .layout-container,body.docwk-admin .layout-columns-warp,body.docwk-admin .layout-main,body.docwk-admin .layout-backtop,body.docwk-admin .el-container{min-width:0;max-width:100%}body.docwk-admin .layout-container{height:100vh;height:100dvh}body.docwk-admin .layout-scrollbar{padding:12px!important}body.docwk-admin .el-card,body.docwk-admin .el-card__body{min-width:0;max-width:100%}body.docwk-admin .el-form-item__content{min-width:0}body.docwk-admin .el-form-item .el-input,body.docwk-admin .el-form-item .el-select,body.docwk-admin .el-form-item .el-cascader,body.docwk-admin .el-form-item .el-date-editor{max-width:100%}body.docwk-admin .el-tabs__header{max-width:100%}body.docwk-admin .el-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:8px;height:auto;white-space:normal}body.docwk-admin .el-dialog{width:min(900px,94vw)!important;max-height:calc(100dvh - 32px);margin:16px auto!important;display:flex;flex-direction:column}body.docwk-admin .el-dialog__header,body.docwk-admin .el-dialog__footer{flex-shrink:0}body.docwk-admin .el-dialog__body{overflow:auto;min-height:0}body.docwk-admin .el-drawer__body{overflow:auto}body.docwk-admin .el-table__fixed-right{max-width:50%}body.docwk-admin .edui-default .edui-editor,body.docwk-admin .edui-default .edui-editor-iframeholder{width:100%!important;max-width:100%}body.docwk-admin .edui-default .edui-toolbar{white-space:normal}body.docwk-admin .docwk-file-preview{max-width:100%}body.docwk-admin .docwk-file-preview iframe{max-width:100%}
}
@media screen and (max-width:1024px), screen and (max-width:1366px) and (hover:none) and (pointer:coarse){
body.docwk-front [data-docwk-navigation]{position:fixed!important;top:0!important;left:0!important;bottom:0!important;width:min(280px,86vw)!important;max-width:86vw!important;height:100vh!important;height:100dvh!important;transform:translateX(-105%);visibility:hidden;z-index:2201!important;overflow-y:auto;transition:transform .18s ease,visibility .18s}body.docwk-front.docwk-nav-open [data-docwk-navigation]{transform:translateX(0);visibility:visible;padding-top:50px!important}body.docwk-front [data-docwk-navigation] .create-popover,body.docwk-front [data-docwk-navigation] .more-popover{position:static!important;width:100%!important;max-width:100%!important;left:auto!important}body.docwk-front .gov-main{width:100%;margin-left:0!important}body.docwk-front .gov-topbar{padding-left:58px!important;min-height:54px;height:auto;gap:10px;flex-wrap:wrap;padding-block:8px}body.docwk-front .gov-topbar .avatar-dropdown{position:fixed!important;right:12px!important;left:auto!important;top:62px!important;width:min(340px,calc(100vw - 24px));min-width:0;max-height:calc(100dvh - 80px);overflow:auto}body.docwk-front .docwk-nav-toggle{display:flex;align-items:center;justify-content:center;position:fixed;left:10px;top:10px;width:36px;height:36px;border:1px solid #dbe2ed;border-radius:8px;background:#fff;color:#334155;z-index:2202;cursor:pointer}.docwk-nav-toggle:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.docwk-nav-toggle svg{width:20px;height:20px}body.docwk-front.docwk-nav-open .docwk-nav-shade{display:block;position:fixed;inset:0;z-index:2200;background:#172b4d66;border:0;width:100%;height:100dvh}body.docwk-front .rs-modal,body.docwk-front .preview-modal,body.docwk-front .save-modal,body.docwk-front .dp-dialog{max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto}body.docwk-front .wa-page{height:auto!important;min-height:100%;overflow:visible!important}body.docwk-front .wa-workspace{flex-direction:column;min-height:0;height:auto;overflow:visible!important;padding:10px;gap:12px}body.docwk-front .wa-editor-wrap{order:1;flex:none;width:100%;min-height:58dvh;margin-top:0!important;overflow:visible}body.docwk-front .wa-functions{order:2;position:static!important;width:100%!important;flex:none;flex-direction:row;flex-wrap:wrap;box-shadow:none}body.docwk-front .wa-setting{order:3;position:static!important;inset:auto!important;width:100%!important;max-width:100%;height:auto;max-height:none;flex:none;transform:none!important}body.docwk-front .wa-material{order:4;position:static!important;inset:auto!important;width:100%!important;height:auto;max-height:none;flex:none;opacity:1;transform:none!important}body.docwk-front .wa-setting .setting-scroll-area,body.docwk-front .wa-material .mat-list{max-height:460px;overflow:auto}body.docwk-front .wa-paper{max-width:100%;min-width:0!important;width:100%!important;padding:24px!important;box-sizing:border-box}body.docwk-front .wa-workspace .function-grid{display:flex;flex-wrap:wrap;gap:8px}body.docwk-front .kb-page{height:auto!important;min-height:100%;flex-direction:column;overflow:visible}body.docwk-front .kb-page .kb-side{width:100%!important;flex:none!important;max-height:260px;overflow:auto}body.docwk-front .kb-page .kb-main{width:100%;min-width:0;min-height:450px}body.docwk-front .kb-page .detail-body{height:auto;overflow:visible}body.docwk-front .kb-page .doc-pane{min-height:280px;max-height:480px;overflow:auto}body.docwk-front .kb-page .chat-pane{min-height:400px;overflow:visible}body.docwk-front .wenku-page .detail-toolbar{flex-wrap:wrap;height:auto;gap:10px}body.docwk-front .wenku-page .toolbar-search{max-width:100%;width:100%}
body.docwk-admin .layout-container .layout-columns-warp{width:100%}body.docwk-admin .layout-main{height:auto;min-height:0}body.docwk-admin .el-drawer.ltr{width:min(290px,88vw)!important}body.docwk-admin .el-drawer .layout-aside,body.docwk-admin .el-drawer .el-menu{width:100%!important;max-width:100%}body.docwk-admin .layout-header{height:auto!important;min-height:50px}body.docwk-admin .layout-navbars-breadcrumb-index{max-width:100%;height:auto;min-height:50px}body.docwk-admin .layout-navbars-breadcrumb-right{max-width:65vw;overflow-x:auto;flex-shrink:1}body.docwk-admin .btn-card{left:0!important;max-width:100%;padding-bottom:env(safe-area-inset-bottom)}
}
@media screen and (max-width:600px){
body.docwk-front .gov-content{padding-bottom:env(safe-area-inset-bottom);overscroll-behavior-y:contain}body.docwk-front .gov-content .hero{padding-inline:16px}body.docwk-front .gov-content .hero h1{font-size:28px;white-space:normal}body.docwk-front .ha-skill-pop{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;grid-template-columns:1fr}body.docwk-front .rs-body{flex-direction:column}body.docwk-front .rs-body .rs-cats{width:100%!important;max-height:150px;overflow:auto;flex-shrink:0}body.docwk-front .doc-grid,body.docwk-front .latest-list,body.docwk-front .guess-list{grid-template-columns:minmax(0,1fr)!important}body.docwk-front .wenku-page .detail-card{grid-template-columns:minmax(0,1fr)!important;padding:16px}body.docwk-front .wenku-page .detail-card .actions{position:static;display:flex;flex-wrap:wrap;gap:8px}body.docwk-front .wenku-page .doc-title{font-size:21px;overflow-wrap:anywhere}body.docwk-front .wa-paper{padding:18px!important}body.docwk-front .doc-bar{padding:8px 10px;gap:8px}body.docwk-front .editor-header{padding:8px 10px}body.docwk-front .float-bar{max-width:calc(100vw - 20px);overflow-x:auto}body.docwk-front input,body.docwk-front select,body.docwk-front textarea{font-size:16px}body.docwk-front .el-dialog{width:calc(100vw - 24px)!important;margin:12px auto!important;max-height:calc(100dvh - 24px);overflow:auto}
body.docwk-admin .layout-scrollbar{padding:10px!important}body.docwk-admin .el-card__body{padding:14px!important}body.docwk-admin .el-form .el-col{width:100%!important;margin-left:0!important}body.docwk-admin .el-form-item__label{float:none!important;display:block;width:auto!important;text-align:left!important;padding-bottom:4px;line-height:1.6}body.docwk-admin .el-form-item__content{margin-left:0!important;line-height:1.6}body.docwk-admin .el-form--inline .el-form-item{display:block;width:100%;margin-right:0}body.docwk-admin .el-form-item__content>.el-input,body.docwk-admin .el-form-item__content>.el-select,body.docwk-admin .el-form-item__content>.el-cascader,body.docwk-admin .el-form-item__content>.el-date-editor,body.docwk-admin .el-form-item__content>.el-input-number{width:100%!important;max-width:100%!important}body.docwk-admin .el-form-item__content>.el-button{margin-top:6px;margin-bottom:6px}body.docwk-admin .el-input__inner,body.docwk-admin .el-textarea__inner{font-size:16px}body.docwk-admin .el-checkbox-group,body.docwk-admin .el-radio-group{display:flex;flex-wrap:wrap;gap:10px}body.docwk-admin .el-checkbox,body.docwk-admin .el-radio{margin-right:12px;white-space:normal;height:auto}body.docwk-admin .el-pagination .el-pagination__sizes{margin-left:0}body.docwk-admin .el-dialog{width:calc(100vw - 20px)!important;margin:10px auto!important;max-height:calc(100dvh - 20px)}body.docwk-admin .el-dialog__body{padding:14px}body.docwk-admin .el-dialog__footer .el-button{margin-top:6px}body.docwk-admin .el-picker-panel{max-width:calc(100vw - 16px);overflow-x:auto}body.docwk-admin .edui-editor-toolbarbox{max-width:100%;overflow-x:auto}body.docwk-admin .pan-item{flex-wrap:wrap;gap:10px}body.docwk-admin .pan-item>.el-select,body.docwk-admin .pan-item>.el-input,body.docwk-admin .pan-item>div{width:100%!important;flex:auto!important}body.docwk-admin .conter,body.docwk-admin .scollhide{margin-left:0!important;max-width:100%}body.docwk-admin .submission{width:auto!important;margin-left:0!important}body.docwk-admin .login-weaper{width:calc(100vw - 32px)!important;max-width:420px;min-height:420px;height:auto!important;margin-inline:auto!important}body.docwk-admin .login-left{display:none!important}body.docwk-admin .login-right{width:100%!important;min-width:0}body.docwk-admin .login-main{width:100%!important;max-width:100%;padding:24px!important;box-sizing:border-box}body.docwk-admin .layout-view-bg-white{height:auto;min-height:100%}
}
@media(prefers-reduced-motion:reduce){body.docwk-front [data-docwk-navigation]{transition:none}}
@media print{.docwk-nav-toggle,.docwk-nav-shade{display:none!important}}

@media screen and (min-width:601px) and (max-width:900px){body.docwk-admin .el-form .el-col{width:100%!important;margin-left:0!important}body.docwk-admin .layout-main .el-row>.el-col{min-width:0}body.docwk-admin .el-form-item__content{overflow-wrap:anywhere}}

@media screen and (max-width:1024px), screen and (max-width:1366px) and (hover:none) and (pointer:coarse){body.docwk-front .qw-page{height:auto!important;min-height:100%;overflow:visible}body.docwk-front .qw-topbar{height:auto;min-height:56px;flex-wrap:wrap;gap:10px;padding:10px 12px}body.docwk-front .qw-topbar .tb-right{flex-wrap:wrap;gap:8px;margin-left:0}body.docwk-front .qw-topbar .doc-title{min-width:0;max-width:65vw}body.docwk-front .qw-workspace{flex-direction:column;overflow:visible;min-height:0;gap:12px}body.docwk-front .qw-editor{flex:none;width:100%;min-height:58dvh;overflow:visible}body.docwk-front .qw-right{flex:none!important;width:100%!important;min-height:360px;max-width:100%;flex-direction:column}body.docwk-front .qw-right .qw-rail{order:-1;flex-direction:row;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden}body.docwk-front .qw-right .qw-rail .ar{flex-shrink:0;min-width:66px}body.docwk-front .qw-right .qw-panes{min-height:340px}body.docwk-front .qw-editor .findbar{max-width:calc(100vw - 40px);right:8px}body.docwk-front .tpl-page,body.docwk-front .tpl-layout{height:auto!important;min-height:100%;overflow:visible}body.docwk-front .tpl-layout{flex-direction:column}body.docwk-front .tpl-page .side{width:100%!important;max-height:220px;overflow:auto}body.docwk-front .tpl-page .main,body.docwk-front .tpl-page .content{min-width:0;height:auto!important;overflow:visible}body.docwk-front .tpl-page .content-wrap{padding:18px 14px 40px}body.docwk-front .tpl-page .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media screen and (max-width:480px){body.docwk-front .tpl-page .grid{grid-template-columns:minmax(0,1fr)!important}body.docwk-front .qw-topbar .doc-title{max-width:70vw}body.docwk-front .qw-workspace{padding:8px}body.docwk-front .qw-right .qw-rail .ar{min-width:60px}}

@media screen and (max-width:600px){body.docwk-admin .el-table__fixed,body.docwk-admin .el-table__fixed-right{display:none!important}body.docwk-admin .el-table__body-wrapper td.is-hidden>*,body.docwk-admin .el-table__header-wrapper th.is-hidden>*{visibility:visible!important}}

@media screen and (max-width:1024px), screen and (max-width:1366px) and (hover:none) and (pointer:coarse){body.docwk-front .qw-editor .doc-preview .dp-scroll{align-items:flex-start;overflow:auto;padding-inline:12px}}
/* Account forms retain a usable gutter instead of their native 400px minimum. */
@media screen and (max-width:600px){body.docwk-admin .container.containerBig,body.docwk-admin .page-account-container.from-wh{width:calc(100vw - 32px)!important;min-width:0!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box}body.docwk-front [data-docwk-navigation]{overflow-x:hidden;box-sizing:border-box}}
@media screen and (max-width:1024px), screen and (max-width:1366px) and (hover:none) and (pointer:coarse){body.docwk-admin .page-account .container{width:min(400px,calc(100vw - 32px))!important;min-width:0!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box}body.docwk-admin .page-account .container>.swiper-container{display:none!important}body.docwk-admin .page-account .page-account-container.from-wh{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}}
