/* DOWESTON shared 1840px screen layout. Version 2026101503. */
@media screen {
/* Shared desktop canvas. PDF generation and print styles are independent. */
body.dw-layout.dw-site {
  --dw-site-max: 1840px;
  --dw-page-gutter: 24px;
  --dw-layout-gap: 28px;
  min-width: 0;
}
body.dw-layout.dw-site #header .content,
body.dw-layout.dw-site #condition .content,
body.dw-layout.dw-site #home .content1,
body.dw-layout.dw-site #home .productsort,
body.dw-layout.dw-site #productsort,
body.dw-layout.dw-site #goreg .content,
body.dw-layout.dw-site #service .content,
body.dw-layout.dw-site #footer .content,
body.dw-layout.dw-site #copyright .content,
body.dw-layout.dw-site #project,
body.dw-layout.dw-site #menu,
body.dw-layout.dw-site #reg > .content,
body.dw-layout.dw-site #login > .content,
body.dw-layout.dw-site .member-center,
body.dw-layout.dw-site .dwk {
  width: calc(100% - var(--dw-page-gutter) * 2);
  max-width: var(--dw-site-max);
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
body.dw-layout.dw-site #header .content .logo { left: 0; }
body.dw-layout.dw-site #header .content .logo { height: 100%; display: flex; align-items: center; }
body.dw-layout.dw-site #header .content .logo a { display: flex; align-items: center; }
body.dw-layout.dw-site #header .content .right { right: 0; }
body.dw-layout.dw-site #header .content .center { left: 245px; right: 365px; }
body.dw-layout.dw-site #header .content .right .tips { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
body.dw-layout.dw-site #condition .content .t2 { max-width: 1120px; line-height: 1.8; overflow-wrap: anywhere; }
body.dw-layout.dw-site #condition .content .search { width: min(1040px, 65%); }
body.dw-layout.dw-site #condition .content .search input { box-sizing: border-box; }
body.dw-layout.dw-site #goreg, body.dw-layout.dw-site #service, body.dw-layout.dw-site #footer, body.dw-layout.dw-site #copyright { padding-left: 0; padding-right: 0; }
body.dw-layout.dw-site #reg, body.dw-layout.dw-site #login { padding-left: 0; padding-right: 0; }
body.dw-layout.dw-site #goreg .content { padding-top: 0; padding-bottom: 0; }
body.dw-layout.dw-site #goreg .content .t1 { line-height: 1.4; overflow-wrap: anywhere; }
body.dw-layout.dw-site #service .content .items { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
body.dw-layout.dw-site #service .content .items .item { width: auto; min-width: 0; box-sizing: border-box; float: none; overflow-wrap: anywhere; }
body.dw-layout.dw-site #service .content .items::after { display: none; }
body.dw-layout.dw-site #footer .content { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(180px,.7fr) minmax(240px,1fr); gap: clamp(28px,4vw,88px); }
body.dw-layout.dw-site #footer .content > div { float: none; width: auto; min-width: 0; margin: 0; }
body.dw-layout.dw-site #footer .content::after { display: none; }
body.dw-layout.dw-site #footer .content .con1 .text { max-width: 720px; }
body.dw-layout.dw-site #footer .content .text, body.dw-layout.dw-site #footer .content .t2, body.dw-layout.dw-site #footer .content .t3, body.dw-layout.dw-site #footer .content .t4 { overflow-wrap: anywhere; }

/* Catalogs use available width without reducing cards to narrow strips. */
body.dw-layout.dw-site #home .content1 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px,4vw,80px); }
body.dw-layout.dw-site #home .content1 .users .list .item { padding: 18px 20px; }
body.dw-layout.dw-site #home .productsort .sorts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: min(100%,760px); }
body.dw-layout.dw-site #home .productsort .sorts .sort { min-width: 0; max-width: none; width: auto !important; left: auto; padding: 12px 20px; line-height: 1.6; text-indent: 0; text-align: center; white-space: normal; overflow-wrap: anywhere; background-image: none; background-color: #0054a6; color: #fff; border-radius: 4px; }
body.dw-layout.dw-site #home .productsort .sorts .sort.active { background-image: none; background-color: #218854; }
body.dw-layout.dw-site #home .productsort .groups .group .list .item.show ul { grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 20px; }
body.dw-layout.dw-site #productsort { column-gap: var(--dw-layout-gap); }
@media (min-width:801px) {
  body.dw-layout.dw-site #productsort:not(.shousuo) { grid-template-columns: clamp(240px,18vw,320px) minmax(0,1fr); }
}
body.dw-layout.dw-site #productsort .datalist .items { grid-template-columns: repeat(auto-fill,minmax(min(100%,260px),1fr)); gap: 22px; }
body.dw-layout.dw-site #productsort .datalist .items .item .data .pic { height: 170px; flex-basis: 170px; }
body.dw-layout.dw-site #productsort .datalist .items .item .data { min-height: 570px; }
body.dw-layout.dw-site #productsort .menu .groups .gname,
body.dw-layout.dw-site #productsort .menu .groups .items .iname,
body.dw-layout.dw-site #productsort .menu .groups ul li .tit { height: auto; min-height: 44px; line-height: 1.6; overflow-wrap: anywhere; }
body.dw-layout.dw-site #productsort .menu .groups .gname { padding-top: 12px; padding-bottom: 12px; }

/* Product gallery, configuration and quote panel. Existing events and DOM stay in place. */
body.dw-layout.dw-site #product .detail { grid-template-columns: minmax(280px,440px) minmax(0,1fr); gap: 40px; }
body.dw-layout.dw-site #product .detail .right .title { font-size: clamp(24px,1.65vw,32px); line-height: 1.4; }
body.dw-layout.dw-site #product .detail .right .text { max-width: 1120px; font-size: 15px; }
body.dw-layout.dw-site #product .detail .right .files .flist p.pdfitem { max-width: none; }
body.dw-layout.dw-site #product .detail .right .files .flist { display: grid; grid-template-columns: minmax(0,1fr); max-width: 1040px; gap: 8px; }
body.dw-layout.dw-site #product .detail .right .files .flist p.pdfitem { margin: 0; }
body.dw-layout.dw-site #product .detail .right .files .flist p.pdfitem a { min-width: 0; white-space: normal; overflow: visible; text-overflow: clip; }
body.dw-layout.dw-site #allocation:not(.guestwall) { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,400px); gap: var(--dw-layout-gap); align-items: start; min-height: 0 !important; }
body.dw-layout.dw-site #allocation .content { margin: 0; min-width: 0; min-height: 0; width: 100%; box-sizing: border-box; }
body.dw-layout.dw-site #allocation .cart { position: relative; top: auto; right: auto; width: 100%; min-width: 0; margin-top: 0; box-sizing: border-box; }
body.dw-layout.dw-site #allocation .content .tname { padding: 14px 128px 14px 20px; line-height: 1.5; overflow-wrap: anywhere; }
body.dw-layout.dw-site #allocation .content .groups.sort .group { display: grid; grid-template-columns: minmax(150px,200px) minmax(0,1fr); gap: 18px; padding: 14px 52px 14px 18px; }
body.dw-layout.dw-site #allocation .content .groups .group { min-width: 0; box-sizing: border-box; }
body.dw-layout.dw-site #allocation .content .groups.sort .group .parname { position: static; max-width: none; line-height: 1.6; overflow: visible; -webkit-line-clamp: unset; overflow-wrap: anywhere; }
body.dw-layout.dw-site #allocation .content .groups .group dl { height: auto !important; min-height: 0; transition: none; }
body.dw-layout.dw-site #allocation .content .groups.sort .group dl { margin: 0; }
body.dw-layout.dw-site #allocation .content .groups .group dl dd { min-height: 50px; padding: 9px 166px 9px 0; line-height: 1.7; overflow-wrap: anywhere; box-sizing: border-box; }
body.dw-layout.dw-site #allocation .content .groups .group dl dd .check { top: 0; vertical-align: middle; flex-shrink: 0; }
body.dw-layout.dw-site #allocation .content .groups .group dl dd .code { margin: 0 10px; }
body.dw-layout.dw-site #allocation .content .groups .group dl dd .codename { display: inline; max-width: none; margin-bottom: 0; padding-top: 0; line-height: inherit; white-space: normal; overflow: visible; -webkit-line-clamp: unset; overflow-wrap: anywhere; }
body.dw-layout.dw-site #allocation .content .groups .group dl dd .price { right: 12px; top: 10px; width: 148px; line-height: 1.6; text-align: right; overflow-wrap: anywhere; }
body.dw-layout.dw-site #allocation .content .groups .group dl dd input { max-width: 100%; box-sizing: border-box; }
body.dw-layout.dw-site #allocation .content .groups .group .open { width: 46px; height: 54px; }
body.dw-layout.dw-site #allocation .content .groups.view .viewshow dl { margin: 8px 18px 12px 230px; }
body.dw-layout.dw-site #allocation .content .groups .group .strname { padding-left: 230px; padding-right: 18px; line-height: 1.6; }
body.dw-layout.dw-site #allocation .content .grouppanel .pnames .pname { line-height: 1.6; overflow-wrap: anywhere; }
body.dw-layout.dw-site #allocation .cart .btns .btn { padding: 9px 12px; line-height: 1.6; border-radius: 4px; overflow-wrap: anywhere; }
body.dw-layout.dw-site #allocation .cart .goodslist .head { height: auto; min-height: 50px; line-height: 1.6; padding: 12px; display: flex; flex-wrap: wrap; gap: 8px 12px; box-sizing: border-box; }
body.dw-layout.dw-site #allocation .cart .goodslist .head .import,
body.dw-layout.dw-site #allocation .cart .goodslist .head .edit,
body.dw-layout.dw-site #allocation .cart .goodslist .head .qhproject { position: relative; top: auto; left: auto; right: auto; }
body.dw-layout.dw-site #allocation .cart .goodslist .head .qhproject { margin-left: auto; }
body.dw-layout.dw-site #allocation .cart .goodslist .project p { white-space: normal; overflow-wrap: anywhere; }
body.dw-layout.dw-site #allocation .cart .goodslist .goods .good { overflow-wrap: anywhere; }
body.dw-layout.dw-site #allocation .cart .goodslist .goods .good label { max-width: calc(100% - 75px); width: auto; overflow-wrap: anywhere; word-break: normal; }
body.dw-layout.dw-site #allocation .cart .goodslist .goods .good .t1 { padding-right: 64px; }
body.dw-layout.dw-site #allocation .cart .goodslist .goods .good .t1 label { max-width: calc(100% - 15px); }
body.dw-layout.dw-site #allocation .cart .goodslist .goods .good .t4 { display: flex; flex-wrap: wrap; width: auto; gap: 6px 12px; }
body.dw-layout.dw-site #allocation .cart .goodslist .goods .good .t4 label { width: auto; max-width: 100%; margin: 0; }
body.dw-layout.dw-site #allocation .content .ordernote textarea { width: 100%; box-sizing: border-box; }
body.dw-layout.dw-site #allocation .content .basic_par { overflow-wrap: anywhere; }

@media (max-width:1280px) {
  body.dw-layout.dw-site #product .detail { grid-template-columns: minmax(240px,32%) minmax(0,1fr); gap: 28px; }
  body.dw-layout.dw-site #allocation:not(.guestwall) { grid-template-columns: minmax(0,1fr); gap: 24px; }
  body.dw-layout.dw-site #allocation .cart { max-width: none; }
  body.dw-layout.dw-site #allocation .cart .goodslist .goods { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); }
  body.dw-layout.dw-site #allocation .cart .goodslist .goods .good { min-width: 0; }
}
@media (max-width:1100px) {
  body.dw-layout.dw-site #allocation .content { display: grid; grid-template-columns: minmax(0,1fr); }
  body.dw-layout.dw-site #allocation .content .tname { grid-row: 1; }
  body.dw-layout.dw-site #allocation .content .grouppanel { position: relative; top: auto; left: auto; width: 100%; grid-row: 2; }
  body.dw-layout.dw-site #allocation .content .groups { grid-row: 3; min-height: 0 !important; }
  body.dw-layout.dw-site #allocation .content .grouppanel .pnames { display: flex; overflow-x: auto; gap: 8px; padding: 10px; }
  body.dw-layout.dw-site #allocation .content .grouppanel .pnames .pname { flex: 0 0 auto; max-width: 210px; margin: 0; padding: 9px 12px; white-space: normal; }
  body.dw-layout.dw-site #allocation .content .groups.view .viewshow dl { margin: 8px 16px 16px; }
  body.dw-layout.dw-site #allocation .content .groups .group .strname { top: auto; padding: 14px 16px 0; }
  body.dw-layout.dw-site #allocation .content .groups.sort .group { grid-template-columns: minmax(0,1fr); gap: 8px; }
  body.dw-layout.dw-site #header .content .center { font-size: 20px; left: 215px; right: 330px; }
  body.dw-layout.dw-site #header .content .logo img { width: 190px; }
}
@media (max-width:800px) {
  body.dw-layout.dw-site { --dw-page-gutter: 16px; --dw-layout-gap: 20px; }
  body.dw-layout.dw-site #header .content .center { display: none; }
  body.dw-layout.dw-site #header .content .logo img { width: 156px; }
  body.dw-layout.dw-site #header .content .right .tips { max-width: 120px; }
  body.dw-layout.dw-site #condition .content .search { width: 100%; }
  body.dw-layout.dw-site #home .content1 { grid-template-columns: minmax(0,1fr); gap: 28px; }
  body.dw-layout.dw-site #home .content1 .users .list .item { padding: 14px; }
  body.dw-layout.dw-site #home .productsort .groups .group .list .item.show ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  body.dw-layout.dw-site #productsort .datalist .items { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  body.dw-layout.dw-site #productsort .datalist .items .item .data { min-height: 540px; padding-left: 12px; padding-right: 12px; }
  body.dw-layout.dw-site #product .detail { grid-template-columns: minmax(0,1fr); gap: 24px; }
  body.dw-layout.dw-site #product .detail .left { max-width: 440px; margin-left: auto; margin-right: auto; }
  body.dw-layout.dw-site #allocation .content .groups .group dl dd { padding: 8px 0; }
  body.dw-layout.dw-site #allocation .content .groups .group dl dd .price { position: relative; top: auto; right: auto; margin: 4px 0 0 38px; width: auto; text-align: left; }
  body.dw-layout.dw-site #allocation .content .groups .group dl dd .codename { max-width: none; }
  body.dw-layout.dw-site #allocation .content .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 18px 12px; }
  body.dw-layout.dw-site #allocation .content .btns .btn { width: auto; min-width: 130px; max-width: 100%; margin: 0; padding: 0 14px; box-sizing: border-box; }
  body.dw-layout.dw-site #service .content .items { grid-template-columns: minmax(0,1fr); }
  body.dw-layout.dw-site #footer .content { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  body.dw-layout.dw-site #footer .content .con1 { grid-column: 1/-1; }
}
@media (max-width:480px) {
  body.dw-layout.dw-site #header .content .logo img { width: 128px; }
  body.dw-layout.dw-site #header .content .right .tips { max-width: 90px; }
  body.dw-layout.dw-site #header .content .right { gap: 5px; }
  body.dw-layout.dw-site #home .productsort .sorts .sort { padding: 12px 8px; font-size: 15px; }
  body.dw-layout.dw-site #productsort .datalist .items { grid-template-columns: minmax(0,1fr); }
  body.dw-layout.dw-site #productsort .datalist .items .item .data { min-height: 0; }
  body.dw-layout.dw-site #productsort .datalist .items .item .data .pic { height: 190px; flex-basis: 190px; }
  body.dw-layout.dw-site #footer .content { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:360px) {
  body.dw-layout.dw-site #header .content .logo img { width: 112px; }
  body.dw-layout.dw-site #header .content .right .tips { max-width: 58px; padding-right: 16px; }
}

/* Knowledge layouts. Included by the shared screen-only layout stylesheet. */
body.dw-layout.dw-site .dwk {
  width: calc(100% - var(--dw-page-gutter, 24px) - var(--dw-page-gutter, 24px));
  max-width: var(--dw-site-max, 1840px);
  min-width: 0;
  margin-inline: auto;
  box-sizing: border-box;
}
body.dw-layout.dw-site .dwk .dwk-nav { gap: 12px 32px; }
body.dw-layout.dw-site .dwk .dwk-hero {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 48px;
  padding: 52px 0 44px;
}
body.dw-layout.dw-site .dwk .dwk-hero > div,
body.dw-layout.dw-site .dwk .dwk-hero-aside { min-width: 0; }
body.dw-layout.dw-site .dwk .dwk-hero > div > p { max-width: 62ch; }
body.dw-layout.dw-site .dwk .dwk-hero-aside { width: 100%; max-width: 620px; justify-self: end; }
body.dw-layout.dw-site .dwk .dwk-topic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 24px;
}
body.dw-layout.dw-site .dwk .dwk-topic-card { padding: 26px; }
body.dw-layout.dw-site .dwk .dwk-topic-card h3,
body.dw-layout.dw-site .dwk .dwk-topic-card p,
body.dw-layout.dw-site .dwk .dwk-hero h1,
body.dw-layout.dw-site .dwk .dwk-article-head h1,
body.dw-layout.dw-site .dwk .dwk-banner { overflow-wrap: anywhere; }
body.dw-layout.dw-site .dwk .dwk-toolbar { gap: 24px; }
body.dw-layout.dw-site .dwk .dwk-search { min-width: 0; }
body.dw-layout.dw-site .dwk .dwk-role { width: 280px; max-width: 40%; flex-shrink: 0; }
body.dw-layout.dw-site .dwk .dwk-banner { gap: 32px; }
body.dw-layout.dw-site .dwk .dwk-banner > div { min-width: 0; }
body.dw-layout.dw-site .dwk .dwk-banner p { max-width: 86ch; }
body.dw-layout.dw-site .dwk .dwk-button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }

/* Full-width document surface with a restrained reading measure. */
body.dw-layout.dw-site .dwk .dwk-article-head { max-width: 1240px; }
body.dw-layout.dw-site .dwk .dwk-article-head > p { max-width: 90ch; overflow-wrap: anywhere; }
body.dw-layout.dw-site .dwk .dwk-article-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
body.dw-layout.dw-site .dwk .dwk-toc { min-width: 0; top: 112px; }
body.dw-layout.dw-site .dwk .dwk-toc a { overflow-wrap: anywhere; }
body.dw-layout.dw-site .dwk .dwk-prose { min-width: 0; padding: 32px 40px; }
body.dw-layout.dw-site .dwk .dwk-prose > section {
  max-width: 96ch;
  margin-inline: auto;
  overflow-wrap: anywhere;
}
body.dw-layout.dw-site .dwk .dwk-prose p,
body.dw-layout.dw-site .dwk .dwk-prose li { overflow-wrap: anywhere; }

/* Guided application entry stays beside the information review on desktops. */
body.dw-layout.dw-site .dwk .dwk-tool-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 28px;
  align-items: start;
}
body.dw-layout.dw-site .dwk .dwkg-input,
body.dw-layout.dw-site .dwk .dwkg-result,
body.dw-layout.dw-site .dwk .dwkg-field { min-width: 0; }
body.dw-layout.dw-site .dwk .dwkg-grid { gap: 20px 24px; }
body.dw-layout.dw-site .dwk .dwkg-steps { gap: 8px; }
body.dw-layout.dw-site .dwk .dwkg-steps button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
body.dw-layout.dw-site .dwk .dwkg-controls { flex-wrap: wrap; }
body.dw-layout.dw-site .dwk .dwkg-controls > span { min-width: 0; overflow-wrap: anywhere; }
body.dw-layout.dw-site .dwk .dwkg-result { position: sticky; top: 112px; }
body.dw-layout.dw-site .dwk .dwkg-result h2,
body.dw-layout.dw-site .dwk .dwkg-result h3,
body.dw-layout.dw-site .dwk .dwkg-download p { overflow-wrap: anywhere; }

/* Calculator uses its existing form/results DOM; no calculations or data change. */
body.dw-layout.dw-site #dwk-calculation.dkc {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  column-gap: 28px;
  row-gap: 0;
  align-items: start;
}
body.dw-layout.dw-site #dwk-calculation.dkc > * { min-width: 0; grid-column: 1 / -1; }
body.dw-layout.dw-site #dwk-calculation.dkc > .dkc-header { order: 0; }
body.dw-layout.dw-site #dwk-calculation.dkc > .dkc-language { order: 1; }
body.dw-layout.dw-site #dwk-calculation.dkc > .dkc-boundary { order: 2; }
body.dw-layout.dw-site #dwk-calculation.dkc > .dkc-live { order: 3; }
body.dw-layout.dw-site #dwk-calculation.dkc > .dkc-form { order: 4; grid-column: 1; }
body.dw-layout.dw-site #dwk-calculation.dkc > .dkc-results { order: 5; grid-column: 2; position: sticky; top: 112px; max-height: calc(100vh - 138px); overflow-y: auto; overscroll-behavior-y: contain; }
body.dw-layout.dw-site #dwk-calculation .dkc-panel { margin-top: 0; margin-bottom: 24px; }
body.dw-layout.dw-site #dwk-calculation .dkc-result-heading { margin-top: 0; }
body.dw-layout.dw-site #dwk-calculation .dkc-result-card { margin-top: 0; margin-bottom: 20px; }
body.dw-layout.dw-site #dwk-calculation .dkc-candidate {
  grid-template-columns: minmax(0, 1fr) 92px 76px minmax(0, 1.1fr) auto;
  gap: 10px;
}
body.dw-layout.dw-site #dwk-calculation .dkc-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.dw-layout.dw-site #dwk-calculation .dkc-metrics > div { flex-wrap: wrap; gap: 4px 12px; }
body.dw-layout.dw-site #dwk-calculation .dkc-metrics dd { margin-inline-start: auto; }
body.dw-layout.dw-site #dwk-calculation .dkc-result-top { flex-wrap: wrap; }
body.dw-layout.dw-site #dwk-calculation .dkc-actions { gap: 12px; }
body.dw-layout.dw-site #dwk-calculation .dkc-actions button { flex: 1 1 180px; }
@supports selector(:has(*)) {
  body.dw-layout.dw-site #dwk-calculation.dkc:has(> .dkc-results:empty) > .dkc-form { grid-column: 1 / -1; }
  body.dw-layout.dw-site #dwk-calculation.dkc > .dkc-results:empty { display: none; }
}

/* Saved material keeps navigation narrow and gives titles/notes the main width. */
body.dw-layout.dw-site .dwk.dwkl .dwkl-head { gap: 32px; }
body.dw-layout.dw-site .dwk.dwkl .dwkl-head > div { max-width: 1100px; }
body.dw-layout.dw-site .dwk.dwkl .dwkl-head > a { max-width: 320px; }
body.dw-layout.dw-site .dwk.dwkl .dwkl-workspace { grid-template-columns: 236px minmax(0, 1fr); gap: 32px; }
body.dw-layout.dw-site .dwk.dwkl .dwkl-sidebar { min-width: 0; top: 110px; }
body.dw-layout.dw-site .dwk.dwkl .dwkl-views a { min-width: 0; }
body.dw-layout.dw-site .dwk.dwkl .dwkl-views a span { min-width: 0; overflow-wrap: anywhere; }
body.dw-layout.dw-site .dwk.dwkl .dwkl-filters {
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 14px;
}
body.dw-layout.dw-site .dwk.dwkl .dwkl-search { grid-column: auto; }
body.dw-layout.dw-site .dwk.dwkl .dwkl-card { grid-template-columns: minmax(0, 1fr) minmax(180px, 240px); gap: 24px; }
body.dw-layout.dw-site .dwk.dwkl .dwkl-card-main { max-width: 1100px; }
body.dw-layout.dw-site .dwk.dwkl .dwkl-card-actions { max-width: none; min-width: 0; }
body.dw-layout.dw-site .dwk.dwkl .dwkl-draft-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* Embedded pages inherit the product panel width instead of a second page shell. */
body.dw-layout.dw-site.dw-pw-embed .dwk {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 0 28px;
}
body.dw-layout.dw-site.dw-pw-embed .dwk .dwk-hero { gap: 28px; padding-top: 8px; }
body.dw-layout.dw-site.dw-pw-embed .dwk .dwk-article-head { padding-top: 8px; }
body.dw-layout.dw-site.dw-pw-embed .dwk .dwk-toc,
body.dw-layout.dw-site.dw-pw-embed .dwk .dwkg-result,
body.dw-layout.dw-site.dw-pw-embed .dwk.dwkl .dwkl-sidebar { position: static; top: auto; }
body.dw-layout.dw-site.dw-pw-embed .dwk.dwkl .dwkl-workspace { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }

@media (max-width: 1100px) {
  body.dw-layout.dw-site .dwk .dwk-hero { gap: 28px; }
  body.dw-layout.dw-site .dwk .dwk-topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
  body.dw-layout.dw-site .dwk .dwk-topic-card { padding: 22px; }
  body.dw-layout.dw-site .dwk .dwk-article-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 26px; }
  body.dw-layout.dw-site .dwk .dwk-prose { padding: 28px; }
  body.dw-layout.dw-site .dwk .dwk-tool-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; }
  body.dw-layout.dw-site .dwk .dwkg-grid { gap: 18px; }
  body.dw-layout.dw-site .dwk .dwkg-input fieldset { padding: 20px; }
  body.dw-layout.dw-site .dwk .dwkg-result { padding: 22px; }
  body.dw-layout.dw-site #dwk-calculation.dkc { grid-template-columns: minmax(0, 1fr); }
  body.dw-layout.dw-site #dwk-calculation.dkc > .dkc-form,
  body.dw-layout.dw-site #dwk-calculation.dkc > .dkc-results { grid-column: 1 / -1; }
  body.dw-layout.dw-site #dwk-calculation.dkc > .dkc-results { position: static; max-height: none; overflow-y: visible; }
  body.dw-layout.dw-site #dwk-calculation .dkc-candidate { grid-template-columns: minmax(0, 1fr) 100px 80px; }
  body.dw-layout.dw-site #dwk-calculation .dkc-candidate .dkc-field:nth-child(4) { grid-column: 1 / 3; }
  body.dw-layout.dw-site #dwk-calculation .dkc-candidate .dkc-remove { grid-column: 3; justify-self: end; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-workspace,
  body.dw-layout.dw-site.dw-pw-embed .dwk.dwkl .dwkl-workspace { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-search { grid-column: 1 / -1; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-card { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-card-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-draft-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  body.dw-layout.dw-site .dwk { padding-bottom: 40px; }
  body.dw-layout.dw-site .dwk .dwk-nav { gap: 8px 20px; }
  body.dw-layout.dw-site .dwk .dwk-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px 0 28px; }
  body.dw-layout.dw-site .dwk .dwk-hero-aside { max-width: none; justify-self: stretch; }
  body.dw-layout.dw-site .dwk .dwk-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  body.dw-layout.dw-site .dwk .dwk-toolbar { flex-direction: column; align-items: stretch; gap: 16px; }
  body.dw-layout.dw-site .dwk .dwk-role { width: 100%; max-width: none; }
  body.dw-layout.dw-site .dwk .dwk-section-head { align-items: start; flex-wrap: wrap; gap: 10px 20px; }
  body.dw-layout.dw-site .dwk .dwk-banner { flex-direction: column; align-items: start; gap: 20px; padding: 24px; }
  body.dw-layout.dw-site .dwk .dwk-article-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.dw-layout.dw-site .dwk .dwk-toc { position: static; padding: 20px; background: #edf4fb; border-radius: 4px; }
  body.dw-layout.dw-site .dwk .dwk-toc ol { columns: 2; column-gap: 28px; }
  body.dw-layout.dw-site .dwk .dwk-toc li { break-inside: avoid; }
  body.dw-layout.dw-site .dwk .dwk-prose { padding: 24px; }
  body.dw-layout.dw-site .dwk .dwk-tool-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.dw-layout.dw-site .dwk .dwkg-result { position: static; top: auto; }
  body.dw-layout.dw-site .dwk .dwkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.dw-layout.dw-site .dwk .dwkg-wide { grid-column: 1 / -1; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-head { align-items: start; flex-direction: column; gap: 18px; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-head > a { max-width: 100%; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-workspace,
  body.dw-layout.dw-site.dw-pw-embed .dwk.dwkl .dwkl-workspace { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-sidebar { position: static; top: auto; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-views { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-private-note { margin: 10px 8px 14px; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-save-product { width: auto; max-width: 100%; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-draft-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.dw-layout.dw-site.dw-pw-embed .dwk { padding: 20px 0 24px; }
}

@media (max-width: 480px) {
  body.dw-layout.dw-site .dwk .dwk-topic-grid { grid-template-columns: minmax(0, 1fr); }
  body.dw-layout.dw-site .dwk .dwk-topic-card { padding: 22px; }
  body.dw-layout.dw-site .dwk .dwk-article-head h1 { font-size: 27px; }
  body.dw-layout.dw-site .dwk .dwk-toc ol { columns: 1; }
  body.dw-layout.dw-site .dwk .dwk-prose { padding: 20px; }
  body.dw-layout.dw-site .dwk .dwk-prose h2 { font-size: 21px; }
  body.dw-layout.dw-site .dwk .dwkg-grid { grid-template-columns: minmax(0, 1fr); }
  body.dw-layout.dw-site .dwk .dwkg-wide { grid-column: auto; }
  body.dw-layout.dw-site .dwk .dwkg-input fieldset { padding: 18px; }
  body.dw-layout.dw-site .dwk .dwkg-controls { gap: 10px; }
  body.dw-layout.dw-site .dwk .dwkg-controls > span { order: -1; flex-basis: 100%; }
  body.dw-layout.dw-site .dwk .dwkg-controls .dwk-button { flex: 1 1 120px; padding-inline: 12px; }
  body.dw-layout.dw-site .dwk .dwk-form-actions { gap: 10px; }
  body.dw-layout.dw-site .dwk .dwk-form-actions .dwk-button { flex: 1 1 100%; }
  body.dw-layout.dw-site #dwk-calculation .dkc-grid,
  body.dw-layout.dw-site #dwk-calculation .dkc-checks,
  body.dw-layout.dw-site #dwk-calculation .dkc-metrics { grid-template-columns: minmax(0, 1fr); }
  body.dw-layout.dw-site #dwk-calculation .dkc-candidate { grid-template-columns: minmax(0, 1fr) 82px; }
  body.dw-layout.dw-site #dwk-calculation .dkc-candidate .dkc-field:first-child,
  body.dw-layout.dw-site #dwk-calculation .dkc-candidate .dkc-field:nth-child(4) { grid-column: 1 / -1; }
  body.dw-layout.dw-site #dwk-calculation .dkc-candidate .dkc-remove { grid-column: 1 / -1; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-filters > label:last-child { grid-column: 1 / -1; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-card { padding: 18px; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-card-actions { flex-direction: column; align-items: start; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-secondary-actions { justify-content: start; }
  body.dw-layout.dw-site .dwk.dwkl .dwkl-draft-list,
  body.dw-layout.dw-site .dwk.dwkl .dwkl-editor-grid { grid-template-columns: minmax(0, 1fr); }
}

}
/* 1840 layout: account, quote workspace, authentication and dialog safety.
   Merge after the shared shell. Every selector is scoped to body.dw-layout.dw-site.
   Dialog visibility, role checks, form actions and selection state stay with
   the existing templates and scripts. Screen rules do not alter PDF/print. */
@media screen {
  body.dw-layout.dw-site #project,
  body.dw-layout.dw-site #menu,
  body.dw-layout.dw-site #reg,
  body.dw-layout.dw-site #login > .content {
    min-width: 0;
    box-sizing: border-box;
  }

  /* Quote columns follow their actual DOM order: number, company, subject,
     created date and actions. Ordinary members omit company and amount. */
  body.dw-layout.dw-site #project .condition {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px;
    border: 1px solid #e1e8ef;
    border-radius: 4px;
  }
  body.dw-layout.dw-site #project .condition::after,
  body.dw-layout.dw-site #project .datalist .row .rzds::after,
  body.dw-layout.dw-site #project .datalist .row .list .prow::after {
    display: none;
  }
  body.dw-layout.dw-site #project .condition .inp {
    float: none;
    flex: 1 1 230px;
    min-width: 0;
    width: auto;
    height: 48px;
    margin: 0;
    border-radius: 4px;
  }
  body.dw-layout.dw-site #project .condition .inp input {
    min-width: 0;
    box-sizing: border-box;
    font-family: inherit;
  }
  body.dw-layout.dw-site #project .condition .search,
  body.dw-layout.dw-site #project .condition .create {
    float: none;
    flex: 0 1 auto;
    min-width: 110px;
    width: auto;
    margin: 0;
    padding: 12px 24px;
    line-height: 24px;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
  body.dw-layout.dw-site #project .datalist {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
  body.dw-layout.dw-site #project .datalist .row .rzds {
    display: grid;
    grid-template-columns: minmax(130px, .95fr) minmax(160px, 1.35fr) minmax(180px, 1.45fr) minmax(120px, .8fr) minmax(220px, 1.15fr);
    align-items: center;
    min-width: 1010px;
    box-sizing: border-box;
  }
  body.dw-layout.dw-site #project .datalist.member .row .rzds {
    grid-template-columns: minmax(130px, 1fr) minmax(200px, 1.65fr) minmax(120px, 1fr) minmax(220px, 1.3fr);
    min-width: 820px;
  }
  body.dw-layout.dw-site #project .datalist .row .rzds .rzd,
  body.dw-layout.dw-site #project .datalist.member .row .rzds .rzd {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 15px 20px;
    box-sizing: border-box;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }
  body.dw-layout.dw-site #project .datalist .row .rzds .rzd.rzd5 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 16px;
  }
  body.dw-layout.dw-site #project .datalist .row .rzds .rzd.rzd5 span {
    margin: 0;
    line-height: 1.7;
  }
  body.dw-layout.dw-site #project .datalist .row .list {
    min-width: 1010px;
  }
  body.dw-layout.dw-site #project .datalist.member .row .list {
    min-width: 820px;
  }
  body.dw-layout.dw-site #project .datalist .row .list .prow {
    display: grid;
    grid-template-columns: minmax(160px, 1.15fr) minmax(240px, 1.75fr) minmax(70px, .45fr) minmax(120px, .75fr) minmax(220px, 1.2fr);
    align-items: center;
    box-sizing: border-box;
  }
  body.dw-layout.dw-site #project .datalist.member .row .list .prow {
    grid-template-columns: minmax(170px, 1.2fr) minmax(250px, 1.85fr) minmax(70px, .45fr) minmax(220px, 1.3fr);
  }
  body.dw-layout.dw-site #project .datalist .row .list .prow .p,
  body.dw-layout.dw-site #project .datalist.member .row .list .prow .p {
    /* Existing member rules use !important on three fixed pixel widths. */
    width: auto !important;
    min-width: 0;
    float: none;
    padding: 15px 20px;
    margin: 0;
    box-sizing: border-box;
    line-height: 1.7;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  body.dw-layout.dw-site #project .datalist .row .list .prow .p.p5 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 16px;
  }
  body.dw-layout.dw-site #project .datalist .row .list .prow .p.p5 span {
    margin: 0;
  }

  /* The legacy account landing page has five cards and 400px side padding. */
  body.dw-layout.dw-site #menu .list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 0 72px;
    box-sizing: border-box;
  }
  body.dw-layout.dw-site #menu .list .item {
    display: block;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 158px;
    margin: 0;
    padding: 14px 12px 20px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 4px;
  }
  body.dw-layout.dw-site #menu .list .item .tit {
    line-height: 1.6;
    padding-top: 12px;
    overflow-wrap: anywhere;
  }

  /* Keep the approved account styling; wide rows use their available space. */
  body.dw-layout.dw-site .member-center .mc-main,
  body.dw-layout.dw-site .member-center .mc-sidebar {
    min-width: 0;
  }
  body.dw-layout.dw-site .member-center .mc-heading > div:first-child {
    max-width: 1120px;
  }

  /* Registration and the separate legacy administrator sign-in use the
     full page shell, while actual inputs stay within a comfortable width. */
  body.dw-layout.dw-site #reg .content .data,
  body.dw-layout.dw-site #login > .content > .data {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    align-items: start;
    gap: clamp(36px, 5vw, 96px);
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding-top: 42px;
    box-sizing: border-box;
  }
  body.dw-layout.dw-site #reg .content .data::after,
  body.dw-layout.dw-site #login > .content > .data::after {
    display: none;
  }
  body.dw-layout.dw-site #reg .content .data .text,
  body.dw-layout.dw-site #login > .content > .data .text {
    float: none;
    width: auto;
    min-width: 0;
    max-width: 640px;
  }
  body.dw-layout.dw-site #reg .content .data .formdata,
  body.dw-layout.dw-site #login > .content > .data .formdata {
    float: none;
    width: 100%;
    max-width: 560px;
    min-width: 0;
    margin: 0;
    justify-self: end;
    box-sizing: border-box;
  }
  body.dw-layout.dw-site #reg .content .data .formdata .item input,
  body.dw-layout.dw-site #login > .content > .data .formdata .item input {
    min-width: 0;
    box-sizing: border-box;
    font-family: inherit;
  }
  body.dw-layout.dw-site #reg .content .data .text .t1,
  body.dw-layout.dw-site #reg .content .data .text .t2,
  body.dw-layout.dw-site #login > .content > .data .text .t1,
  body.dw-layout.dw-site #login > .content > .data .text .t2 {
    overflow-wrap: anywhere;
  }
  body.dw-layout.dw-site #reg .content .data .formdata .codeitem input {
    padding-right: min(42%, 216px);
  }
  body.dw-layout.dw-site #reg .content .data .formdata .codeitem span {
    width: 42%;
    max-width: 216px;
    font-size: 14px;
    line-height: 1.5;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
  body.dw-layout.dw-site #reg .content .data .formdata .codeitem img {
    max-width: 42%;
    flex: 0 1 auto;
    object-fit: contain;
  }
  body.dw-layout.dw-site #reg .content .data .formdata .codeitem input[name="yzms"] {
    flex: 1 1 0;
    width: 0;
    padding-right: 0;
  }
  body.dw-layout.dw-site #reg .content .data .formdata .submit,
  body.dw-layout.dw-site #login > .content > .data .formdata .submit {
    padding: 16px 18px;
    line-height: 1.5;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }

  /* Keep every modal's original visibility. Restrict only its surface size.
     Outside close buttons need 56px of room until moved inside on mobile. */
  body.dw-layout.dw-site #preview > .content,
  body.dw-layout.dw-site #create_project > .content,
  body.dw-layout.dw-site #delete_project > .content,
  body.dw-layout.dw-site #check_project > .content,
  body.dw-layout.dw-site #update_peizhi > .content,
  body.dw-layout.dw-site #xunjia > .content {
    max-width: calc(100vw - 128px);
    box-sizing: border-box;
  }
  body.dw-layout.dw-site #import > .content,
  body.dw-layout.dw-site #emailsend > .content,
  body.dw-layout.dw-site #login_xunwen > .content,
  body.dw-layout.dw-site #forget > .container {
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
  }
  body.dw-layout.dw-site .ai_sel_mask .ai_sel_box {
    box-sizing: border-box;
    max-width: calc(100vw - 32px);
  }
  body.dw-layout.dw-site .ai_sel_mask .ai_start,
  body.dw-layout.dw-site .ai_sel_mask .ai_refresh {
    min-width: 0;
    width: auto;
    max-width: 100%;
    padding: 12px 32px;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.6;
  }
  body.dw-layout.dw-site .ai_sel_mask .ai_sel_head {
    min-height: 52px;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    box-sizing: border-box;
    gap: 16px;
  }
  body.dw-layout.dw-site .ai_sel_mask .ai_sel_head .tit {
    min-width: 0;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  body.dw-layout.dw-site .ai_sel_mask .ai_sel_head .close {
    flex: 0 0 26px;
  }
  body.dw-layout.dw-site .ai_sel_mask .ai_opts label {
    max-width: 100%;
    line-height: 1.6;
    align-items: flex-start;
    overflow-wrap: anywhere;
  }
  body.dw-layout.dw-site .ai_sel_mask .ai_opts input {
    flex: 0 0 auto;
    margin-top: 3px;
  }

  @media (min-width: 1500px) {
    body.dw-layout.dw-site .member-center .mc-layout {
      grid-template-columns: 288px minmax(0, 1fr);
      gap: 32px;
    }
    body.dw-layout.dw-site .member-center #mc-personal .mc-fields,
    body.dw-layout.dw-site .member-center #mc-company .mc-fields,
    body.dw-layout.dw-site .member-center #mc-security .mc-fields {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    body.dw-layout.dw-site .member-center #mc-region .mc-fields {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  @media (max-width: 1100px) {
    body.dw-layout.dw-site #project .condition .inp {
      flex-basis: 220px;
    }
    body.dw-layout.dw-site #project .datalist .row .rzds .rzd,
    body.dw-layout.dw-site #project .datalist .row .list .prow .p {
      padding: 13px 16px;
      font-size: 14px;
    }
  }

  @media (max-width: 800px) {
    body.dw-layout.dw-site #project,
    body.dw-layout.dw-site #menu {
      margin-top: 26px;
      margin-bottom: 40px;
    }
    body.dw-layout.dw-site #project .thisname,
    body.dw-layout.dw-site #menu .thisname {
      font-size: 24px;
      line-height: 1.5;
      padding: 0 0 18px;
      overflow-wrap: anywhere;
    }
    body.dw-layout.dw-site #project .condition {
      padding: 14px;
      gap: 10px;
    }
    body.dw-layout.dw-site #project .condition .inp {
      flex-basis: 100%;
      height: 46px;
    }
    body.dw-layout.dw-site #project .condition .search,
    body.dw-layout.dw-site #project .condition .create {
      flex: 1 1 120px;
      padding: 11px 14px;
      font-size: 14px;
    }
    body.dw-layout.dw-site #menu .list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      padding: 28px 0 40px;
    }
    body.dw-layout.dw-site #menu .list .item {
      min-height: 148px;
    }
    body.dw-layout.dw-site #reg {
      padding: 32px 0 40px;
    }
    body.dw-layout.dw-site #reg .content .thisname,
    body.dw-layout.dw-site #login > .content > .thisname {
      font-size: 28px;
      line-height: 1.4;
      margin-bottom: 18px;
      overflow-wrap: anywhere;
    }
    body.dw-layout.dw-site #reg .content .data,
    body.dw-layout.dw-site #login > .content > .data {
      grid-template-columns: minmax(0, 1fr);
      gap: 24px;
      padding-top: 22px;
    }
    body.dw-layout.dw-site #reg .content .data .formdata,
    body.dw-layout.dw-site #login > .content > .data .formdata {
      justify-self: center;
      max-width: 550px;
    }
    body.dw-layout.dw-site #login > .content > .data .text {
      max-width: 550px;
      justify-self: center;
    }
    body.dw-layout.dw-site #login > .content > .data .text .t1,
    body.dw-layout.dw-site #login > .content > .data .text .t2 {
      font-size: 15px;
      line-height: 1.8;
    }

    /* Modal wrappers remain hidden until existing JS opens them. */
    body.dw-layout.dw-site #preview,
    body.dw-layout.dw-site #import,
    body.dw-layout.dw-site #emailsend,
    body.dw-layout.dw-site #create_project,
    body.dw-layout.dw-site #delete_project,
    body.dw-layout.dw-site #check_project,
    body.dw-layout.dw-site #update_peizhi,
    body.dw-layout.dw-site #xunjia,
    body.dw-layout.dw-site #login_xunwen,
    body.dw-layout.dw-site #forget,
    body.dw-layout.dw-site #tanbox {
      left: 0;
      right: 0;
      width: 100%;
      overflow-y: auto;
      overscroll-behavior-y: contain;
      box-sizing: border-box;
    }
    body.dw-layout.dw-site #preview > .content,
    body.dw-layout.dw-site #import > .content,
    body.dw-layout.dw-site #emailsend > .content,
    body.dw-layout.dw-site #create_project > .content,
    body.dw-layout.dw-site #delete_project > .content,
    body.dw-layout.dw-site #check_project > .content,
    body.dw-layout.dw-site #update_peizhi > .content,
    body.dw-layout.dw-site #xunjia > .content,
    body.dw-layout.dw-site #login_xunwen > .content,
    body.dw-layout.dw-site #forget > .container {
      width: calc(100% - 32px);
      max-width: 680px;
      max-height: calc(100vh - 32px);
      max-height: calc(100dvh - 32px);
      top: 0;
      transform: none;
      margin: 16px auto;
      overflow: auto;
      box-sizing: border-box;
    }
    body.dw-layout.dw-site #preview > .content > .close,
    body.dw-layout.dw-site #create_project > .content > .close,
    body.dw-layout.dw-site #delete_project > .content > .close,
    body.dw-layout.dw-site #check_project > .content > .close,
    body.dw-layout.dw-site #update_peizhi > .content > .close,
    body.dw-layout.dw-site #xunjia > .content > .close {
      right: 8px;
      top: 8px;
      width: 36px;
      height: 36px;
      background-size: 20px;
      border-radius: 4px;
      z-index: 3;
    }
    body.dw-layout.dw-site #create_project .content .thisname,
    body.dw-layout.dw-site #check_project .content .thisname,
    body.dw-layout.dw-site #xunjia .content .thisname,
    body.dw-layout.dw-site #update_peizhi .content .head {
      padding: 14px 52px 14px 18px;
      font-size: 20px;
      line-height: 1.5;
      overflow-wrap: anywhere;
    }
    body.dw-layout.dw-site #create_project .content .items,
    body.dw-layout.dw-site #check_project .content .items {
      margin: 24px 18px;
    }
    body.dw-layout.dw-site #create_project .content .items .item,
    body.dw-layout.dw-site #check_project .content .items .item {
      padding-left: 0;
    }
    body.dw-layout.dw-site #create_project .content .items .item .zd,
    body.dw-layout.dw-site #check_project .content .items .item .zd {
      position: relative;
      width: auto;
      text-align: start;
      padding: 0 0 7px;
      line-height: 1.5;
    }
    body.dw-layout.dw-site #create_project .content .items .item .val,
    body.dw-layout.dw-site #check_project .content .items .item .val {
      height: auto;
      min-height: 48px;
    }
    body.dw-layout.dw-site #create_project .content .items .item .val input,
    body.dw-layout.dw-site #check_project .content .items .item .val input {
      height: 48px;
    }
    body.dw-layout.dw-site #create_project .content .items .item .result_show,
    body.dw-layout.dw-site #check_project .content .items .item .result_show,
    body.dw-layout.dw-site #check_project .content .items .item .val .layui-form-select dl {
      position: relative;
      left: auto;
      top: auto;
      width: auto;
      max-height: 36vh;
      overflow-y: auto;
    }
    body.dw-layout.dw-site #create_project .content .items .submit span,
    body.dw-layout.dw-site #check_project .content .items .submit span,
    body.dw-layout.dw-site #xunjia .content .items .submit span {
      width: auto;
      max-width: 100%;
      padding: 12px 24px;
      line-height: 1.6;
      box-sizing: border-box;
      overflow-wrap: anywhere;
    }
    body.dw-layout.dw-site #delete_project .content {
      height: auto;
      padding-bottom: 24px;
    }
    body.dw-layout.dw-site #delete_project .content .str {
      padding: 58px 20px 0;
      font-size: 22px;
      line-height: 1.6;
    }
    body.dw-layout.dw-site #delete_project .content .btns {
      margin: 24px 16px 0;
    }
    body.dw-layout.dw-site #delete_project .content .btns span {
      width: calc(50% - 14px);
      max-width: 170px;
      font-size: 15px;
      line-height: 1.6;
      padding: 12px 8px;
      box-sizing: border-box;
    }
    body.dw-layout.dw-site #preview .content .head {
      padding: 52px 16px 18px;
    }
    body.dw-layout.dw-site #preview .content .head .item {
      overflow-wrap: anywhere;
      font-size: 14px;
      line-height: 1.8;
      margin-bottom: 7px;
    }
    body.dw-layout.dw-site #preview .content .head .item .zd {
      font-size: 14px;
    }
    body.dw-layout.dw-site #preview .content .head .price {
      position: relative;
      right: auto;
      top: auto;
      width: 100%;
      height: auto;
      padding: 12px 14px;
      margin-top: 16px;
      box-sizing: border-box;
    }
    body.dw-layout.dw-site #preview .content .head .price .t1 {
      padding-top: 0;
    }
    body.dw-layout.dw-site #preview .content .head .copy {
      max-width: 100%;
      padding: 12px 18px;
      line-height: 1.6;
      box-sizing: border-box;
    }
    body.dw-layout.dw-site #preview .content .list {
      max-height: 55vh;
      overflow: auto;
    }
    body.dw-layout.dw-site #preview .content table {
      min-width: 600px;
    }
    body.dw-layout.dw-site #preview .content table tr th,
    body.dw-layout.dw-site #preview .content table tr td {
      padding: 10px 14px;
      font-size: 13px;
      line-height: 1.7;
      overflow-wrap: anywhere;
    }
    body.dw-layout.dw-site #preview .content .basic,
    body.dw-layout.dw-site #preview .content .note2 {
      margin: 12px 16px;
      font-size: 13px;
      line-height: 1.8;
      overflow-wrap: anywhere;
    }
    body.dw-layout.dw-site #import .content .head,
    body.dw-layout.dw-site #emailsend .content .head {
      padding: 14px 60px 14px 18px;
      line-height: 1.5;
      font-size: 18px;
      overflow-wrap: anywhere;
    }
    body.dw-layout.dw-site #import .content .con,
    body.dw-layout.dw-site #emailsend .content .con {
      padding: 16px 18px;
    }
    body.dw-layout.dw-site #import .content .con input,
    body.dw-layout.dw-site #emailsend .content .con input {
      max-width: 100%;
      box-sizing: border-box;
    }
    body.dw-layout.dw-site #emailsend .content {
      height: auto;
      min-height: 250px;
      padding-bottom: 72px;
    }
    body.dw-layout.dw-site #update_peizhi .content .parameter {
      padding: 12px 16px;
      font-size: 14px;
      line-height: 1.7;
      overflow-wrap: anywhere;
    }
    body.dw-layout.dw-site #update_peizhi .content .datalist .list .item {
      padding: 16px;
      line-height: 1.7;
    }
    body.dw-layout.dw-site #update_peizhi .content .datalist .list .item .zd {
      float: none;
      width: auto;
      margin: 0 0 10px;
      font-size: 14px;
    }
    body.dw-layout.dw-site #update_peizhi .content .datalist .list .item dl {
      margin-left: 0;
      min-width: 0;
    }
    body.dw-layout.dw-site #xunjia .content .items .text textarea {
      box-sizing: border-box;
      font-size: 14px;
      line-height: 1.8;
    }
    body.dw-layout.dw-site #forget > .container {
      padding: 90px 22px 28px;
    }
    body.dw-layout.dw-site #forget .container .content .name {
      font-size: 25px;
      line-height: 1.5;
      margin-bottom: 24px;
    }
    body.dw-layout.dw-site #forget .container .content .item input {
      min-width: 0;
      box-sizing: border-box;
      font-size: 14px;
    }
    body.dw-layout.dw-site #forget .container .content .codeitem img {
      max-width: 45%;
      object-fit: contain;
      vertical-align: middle;
    }
    body.dw-layout.dw-site #forget .container .content .codeitem .getcode {
      padding: 8px;
      line-height: 1.5;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
    }
    body.dw-layout.dw-site .ai_sel_mask .ai_sel_box {
      margin: 16px auto;
    }
    body.dw-layout.dw-site .ai_sel_mask .ai_two_cols {
      flex-direction: column;
      padding: 18px;
      gap: 20px;
    }
    body.dw-layout.dw-site .ai_sel_mask .ai_col_right {
      border-left: 0;
      border-top: 1px dashed #dfe9f2;
      padding-left: 0;
      padding-top: 20px;
    }
    body.dw-layout.dw-site .ai_sel_mask .ai_sel_foot,
    body.dw-layout.dw-site .ai_sel_mask .ai_prog_body {
      padding: 18px;
    }
    body.dw-layout.dw-site .ai_sel_mask .ai_start,
    body.dw-layout.dw-site .ai_sel_mask .ai_refresh {
      width: 100%;
      padding: 12px 18px;
      font-size: 14px;
      letter-spacing: 0;
    }
    body.dw-layout.dw-site .ai_sel_mask .ai_tabs {
      min-width: 0;
    }
    body.dw-layout.dw-site .ai_sel_mask .ai_tab {
      min-width: 0;
      padding: 10px 6px;
      font-size: 13px;
      line-height: 1.6;
      overflow-wrap: anywhere;
    }
    body.dw-layout.dw-site .ai_sel_mask .ai_steps {
      flex-wrap: wrap;
      gap: 12px 16px;
    }
    body.dw-layout.dw-site .ai_sel_mask .ai_step {
      flex: 1 1 40%;
      min-width: 0;
      line-height: 1.6;
    }
    body.dw-layout.dw-site .ai_sel_mask .ai_pctline {
      flex-wrap: wrap;
      gap: 6px 12px;
    }
    body.dw-layout.dw-site .ai_sel_mask .ai_stage,
    body.dw-layout.dw-site .ai_sel_mask .ai_hint,
    body.dw-layout.dw-site .ai_sel_mask .ai_hint_foot,
    body.dw-layout.dw-site .ai_sel_mask .ai_note {
      overflow-wrap: anywhere;
    }
    body.dw-layout.dw-site .member-center .mc-modal-panel {
      max-height: calc(100dvh - 32px);
    }
  }
}
