.wt-app { max-width: 1400px; margin: 12px auto 32px; padding: 0 12px; color: #243044; overflow: visible; }
/* Bootstrap sets body to 16px. Keep the shared site header at 14px, same as other pages. */
.layui-container > .layui-hide-xs { font-size: 14px; line-height: 22px; }
.layui-container > .layui-hide-xs a,
.layui-container > .layui-hide-xs span { font-size: 14px; }
body.wt-embed { background: #f4f7fb; }
body.wt-embed .layui-container { width: auto; max-width: none; padding: 0; }
body.wt-embed .wt-app { margin: 8px auto 16px; }
#wtStep1 { position: relative; z-index: 30; overflow: visible; }
.wt-app h1 { font-size: 22px; margin: 4px 0 2px; font-weight: 700; }
.wt-sub { color: #5c6b7a; margin-bottom: 12px; font-size: 14px; }
.wt-filter-row { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.wt-field-cate { width: 140px; flex: none; }
.wt-field-mini { width: 150px; flex: none; position: relative; }
.wt-dd { position: absolute; z-index: 60; left: 0; top: 100%; min-width: 180px; max-height: 280px; overflow: auto; background: #fff; border: 1px solid #d7dee7; border-radius: 6px; box-shadow: 0 8px 24px rgba(16,24,40,.16); }
.wt-dd-q { position: sticky; top: 0; z-index: 1; display: block; width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid #d7dee7; padding: 8px 10px; font-size: 14px; font-weight: 600; color: #0b57d0; outline: none; }
.wt-dd-empty { padding: 8px 10px; color: #98a2b3; font-size: 13px; }
.wt-dd button { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #f2f4f7; background: #fff; color: #1a2332; font-weight: 600; padding: 6px 10px; cursor: pointer; }
.wt-dd button:hover { background: #f4f8ff; }
.wt-field-q { flex: 1; min-width: 0; }
.wt-filter-row select.form-control,
.wt-filter-row input.form-control {
  color: #0b57d0;
  font-weight: 700;
}
.wt-filter-row input.form-control::placeholder {
  color: #98a2b3;
  font-weight: 400;
}
.wt-filter-row select.form-control option {
  color: #1a2332;
  font-weight: 600;
}
.wt-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.wt-pick-row { display: flex; gap: 16px; align-items: stretch; }
.wt-pick-main { flex: 1; min-width: 0; }
.wt-search-main { margin-bottom: 8px; }
.wt-search-main input { min-height: 48px; font-size: 18px; border: 1px solid #9eb6d6; color: #0b57d0; font-weight: 700; }
.wt-assist { flex: none; font-size: 12px; color: #7a8794; margin: 0; white-space: nowrap; }
.wt-stdlist { max-height: 280px; overflow: auto; border: 1px solid #d7dee7; border-radius: 8px; background: #fff; }
.wt-std-item { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #f0f3f7; background: #fff; padding: 8px 12px; cursor: pointer; }
.wt-std-item b { display: block; color: #1a2332; font-size: 15px; }
.wt-std-item span { display: block; color: #5c6b7a; font-size: 13px; }
.wt-std-on { background: #e8f1ff; box-shadow: inset 4px 0 0 #1a73e8; }
.wt-std-on b { color: #0b57d0; }
.wt-std-empty { padding: 12px; color: #7a8794; }
.wt-hero-card { margin-top: 8px; background: #fff; border-radius: 12px; text-align: center; padding: 18px 12px 14px; }
.wt-hero-card span { display: block; color: #5c6b7a; font-size: 14px; }
.wt-hero-card strong { display: block; font-size: 56px; line-height: 1.05; color: #0b57d0; font-weight: 800; }
.wt-hero-card em { font-style: normal; color: #5c6b7a; }
.wt-hero-card .wt-subresult { margin-top: 6px; }
.wt-copy-row { display: flex; gap: 8px; margin-top: 8px; }
.wt-guest { text-align: center; margin: 20px 0 8px; }
.wt-guest .layui-btn { display: inline-block; height: 38px; line-height: 38px; padding: 0 18px; margin: 0 6px; border: 0; border-radius: 2px; background: #009688; color: #fff; cursor: pointer; font-size: 14px; }
.wt-guest .layui-btn-danger { background: #ff5722; }
.wt-punit { display: flex; flex: none; border: 1px solid #d7dee7; border-radius: 6px; overflow: hidden; }
.wt-punit button { border: 0; background: #fff; color: #5c6b7a; padding: 0 8px; height: 44px; cursor: pointer; font-size: 13px; }
.wt-punit button.on { background: #0b57d0; color: #fff; }
.wt-info { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 220px; flex: none; margin-top: 22px; padding: 10px; border: 1px solid #e4e9ef; border-radius: 8px; background: #fafbfc; text-align: center; color: #1f2a37; text-decoration: none; }
.wt-info:hover { border-color: #0b57d0; color: #0b57d0; }
.wt-info img { width: 120px; height: 120px; object-fit: contain; border: 0; background: transparent; }
.wt-meta { font-size: 13px; line-height: 1.45; }
.wt-meta b { display: block; font-size: 15px; }
.wt-card { background: #fff; border: 1px solid #e4e9ef; border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.wt-card h2 { font-size: 16px; margin: 0 0 10px; font-weight: 700; }
.wt-step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.wt-step-head h2 { margin: 0; }
.wt-card p { margin-bottom: 6px; }
.wt-step { display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; background: #0d6efd; color: #fff; font-size: 12px; margin-right: 6px; }
.wt-search { position: relative; z-index: 31; }
.wt-search input, .wt-app select.form-control, .wt-unitbox input { min-height: 44px; font-size: 16px; }
.wt-search input { border: 1px solid #b7c3d0; border-radius: 6px; padding-right: 36px; }
.wt-search input:focus { border-color: #0b57d0; box-shadow: 0 0 0 3px rgba(11, 87, 208, .12); }
.wt-caret { position: absolute; right: 14px; top: 18px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 7px solid #667085; pointer-events: none; }
.wt-list { position: absolute; z-index: 40; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid #d7dee7; border-radius: 8px; max-height: 360px; overflow: auto; box-shadow: 0 8px 24px rgba(16, 24, 40, .16); }
.wt-opt { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #f0f3f7; background: #fff; padding: 8px 12px; cursor: pointer; }
.wt-opt:hover { background: #f4f8ff; }
.wt-opt-no { display: block; font-weight: 700; color: #0b57d0; }
.wt-opt-name { display: block; color: #5c6b7a; font-size: 13px; }
.wt-empty { padding: 10px 12px; color: #889; }
.wt-meta-line { color: #5c6b7a; }
.wt-picks { display: flex; gap: 10px; }
.wt-picks .form-group { flex: 1; margin-bottom: 8px; }
#wtStep1 { background: #f3f7ff; border-color: #d3e2fb; }
#wtStep1 .wt-step { background: #1a73e8; }
#wtSpecCard { background: #f2faf4; border-color: #c9e6d2; }
#wtSpecCard .wt-step { background: #188038; }
#wtCalcBox.wt-result { background: #fff8f1; border-color: #f0d7bc; padding: 8px 12px; }
#wtCalcBox .wt-step { background: #e37400; }
#wtStep1 .form-control, #wtSpecCard .form-control, #wtCalcBox .form-control { background: #fff; }
.wt-result-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wt-result-top h2 { margin: 0; }
.wt-hero { white-space: nowrap; }
.wt-hero span { color: #5c6b7a; font-size: 14px; margin-right: 4px; }
.wt-hero strong { display: inline-block; font-size: 40px; line-height: 1.1; color: #0b57d0; font-weight: 800; }
.wt-hero em { font-style: normal; color: #5c6b7a; margin-left: 4px; }
.wt-subresult { margin: 0; font-size: 16px; }
.wt-subresult b { font-size: 20px; }
.wt-price { margin-top: 6px; padding-top: 6px; border-top: 1px solid #e6edf5; }
.wt-price-title { flex: none; align-self: center; font-weight: 700; margin: 0; white-space: nowrap; }
.wt-price-main { font-size: 18px; margin-top: 8px; }
.wt-price-main b { font-size: 26px; color: #0b57d0; }
.wt-unitbox { display: flex; align-items: center; gap: 6px; }
.wt-unitbox span { flex: none; color: #667085; font-size: 13px; }
.wt-quote-row { display: flex; gap: 8px; margin-top: 0; align-items: center; }
.wt-quote-row > div { flex: 1; min-width: 0; }
.wt-quote-row label { display: block; font-size: 12px; color: #5c6b7a; margin-bottom: 2px; }
.wt-prices { margin-top: 8px; font-size: 13px; color: #334; }
.wt-prices div { display: flex; justify-content: space-between; padding: 3px 0; }
.wt-note { font-size: 12px; color: #7a8794; margin-top: 8px; line-height: 1.55; }
.wt-dim { margin-top: 8px; text-align: center; background: #fafbfc; border-radius: 8px; padding: 8px; overflow-x: auto; }
.wt-adv-row { display: flex; gap: 28px; align-items: flex-start; justify-content: center; }
.wt-adv-form { flex: 0 1 460px; min-width: 0; }
.wt-dim-formula { flex: none; }
.wt-dim-formula img { max-width: 500px; max-height: 500px; width: auto; height: auto; }
.wt-ref { display: flex; gap: 16px; align-items: flex-start; justify-content: center; margin-top: 12px; }
#wtParaPic { max-width: 900px; max-height: none; width: auto; height: auto; flex: none; }
#wtParaBox { flex: none; }
#wtDimWrap .gg_table { border-collapse: collapse; font-size: 12px; background: #fff; color: #243044; }
#wtDimWrap .gg_table td { border: 0; }
.wt-adv-btn { border: 0; background: transparent; color: #0b57d0; padding: 0; font-size: 14px; cursor: pointer; }
.wt-param { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.wt-param label { width: 148px; margin: 0; font-size: 13px; }
.wt-param-in { display: flex; align-items: center; gap: 6px; flex: 1; }
.wt-param-in .form-control { max-width: 140px; }
.wt-unit { color: #889; font-size: 12px; min-width: 36px; }
.wt-tag { background: #fff4e5; color: #d46b08; border-radius: 4px; font-size: 12px; padding: 1px 6px; }
.wt-edited { border-color: #f0a020 !important; background: #fffaf2; }
.wt-msg { padding: 8px 10px; border-radius: 6px; background: #eef6ff; color: #0b57d0; margin-bottom: 10px; }
.wt-msg-err { background: #fff4f0; color: #c2410c; }
.wt-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
#wtDetailBox { font-size: 13px; color: #445; margin-top: 4px; }
.wt-result .wt-note { margin-top: 4px; }
@media (max-width: 640px) {
  .wt-pick-row, .wt-picks, .wt-quote-row, .wt-ref, .wt-adv-row { flex-direction: column; }
  .wt-param { flex-direction: column; align-items: stretch; }
  .wt-param label { width: auto; }
  .wt-param-in .form-control { max-width: none; width: 100%; }
}
