/* TingDong AI · homepage UX v3: wallet-first, task-first, upload-always-visible */
body.td-product-home .hero.homeHeroV3{padding:18px 0 24px!important}
body.td-product-home .productWorkbench{max-width:980px!important}
body.td-product-home .productIntro{max-width:900px!important;margin-bottom:0!important;text-align:left!important}
body.td-product-home .productEyebrow{margin-bottom:8px!important;font-size:11px!important}
body.td-product-home .homeHeroV3 h1{max-width:none!important;margin:0 0 8px!important;font-size:38px!important;line-height:1.08!important;letter-spacing:-1.45px!important}
body.td-product-home .homeHeroV3 .productIntro>p{max-width:720px!important;margin:0!important;font-size:14px!important;line-height:1.6!important;color:#707b8d!important}

/* Points must be visible before the user starts a task. */
body.td-product-home .homeWalletCard{
  width:100%!important;max-width:920px!important;margin:18px auto 0!important;padding:16px 18px!important;
  display:grid!important;grid-template-columns:auto minmax(0,1fr) auto auto!important;align-items:center!important;gap:10px 16px!important;
  border:1px solid #bfe8d5!important;border-radius:18px!important;background:linear-gradient(135deg,#f3fcf8 0,#fff 56%,#f6fbff 100%)!important;
  box-shadow:0 11px 32px rgba(28,108,76,.08)!important;text-align:left!important
}
body.td-product-home .homeWalletCard .homeMemberLabel{
  color:#16885d!important;font-size:11px!important;font-weight:950!important;letter-spacing:.03em!important
}
body.td-product-home .homeWalletCard .memberMini{
  display:block!important;color:#354256!important;font-size:15px!important;font-weight:760!important;line-height:1.25!important
}
body.td-product-home .homeWalletCard .memberMini b{
  margin:0 3px;color:#111d2e!important;font-size:24px!important;font-weight:970!important;letter-spacing:-.7px!important
}
body.td-product-home .homeWalletHelp{color:#8b96a5;font-size:10.5px;white-space:nowrap}
body.td-product-home .homeWalletCard .homeBuyPointsBtn{
  min-width:126px!important;min-height:44px!important;padding:10px 17px!important;border:0!important;border-radius:12px!important;
  background:linear-gradient(135deg,#1bad70,#29c486)!important;color:#fff!important;font-size:13px!important;font-weight:950!important;
  box-shadow:0 9px 22px rgba(34,184,120,.22)!important;white-space:nowrap!important
}
body.td-product-home .homeWalletCard .homeBuyPointsBtn::after{content:' →';font-weight:800}
body.td-product-home .homeWalletCard .homeBuyPointsBtn:hover{transform:translateY(-1px);filter:saturate(1.05);box-shadow:0 12px 28px rgba(34,184,120,.27)!important}

/* Task selection is a clear step, immediately followed by the upload surface. */
body.td-product-home .productTaskChooser{width:100%;max-width:920px;margin:18px auto 0}
body.td-product-home .productTaskHead{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 2px 9px}
body.td-product-home .productTaskHead strong{color:#1c283b;font-size:14px;font-weight:950}
body.td-product-home .productTaskHead span{color:#98a1ae;font-size:10.5px}
body.td-product-home .productTaskGrid{gap:9px!important}
body.td-product-home .productTaskCard{
  grid-template-columns:40px minmax(0,1fr) 16px!important;gap:10px!important;min-height:82px!important;padding:14px 13px!important;
  border-radius:15px!important;box-shadow:0 5px 18px rgba(42,54,74,.04)!important
}
body.td-product-home .productTaskCard.active{
  border-color:#4cc690!important;background:#f4fcf8!important;box-shadow:0 0 0 2px rgba(34,184,120,.10),0 8px 24px rgba(42,54,74,.055)!important
}
body.td-product-home .productTaskIcon{width:40px!important;height:40px!important;border-radius:11px!important;font-size:14px!important}
body.td-product-home .productTaskCopy strong{font-size:14.5px!important}
body.td-product-home .productTaskCopy small{margin-top:4px!important;font-size:10.5px!important;line-height:1.35!important}
body.td-product-home .productTaskArrow{font-size:15px!important}
body.td-product-home .productTaskExample{margin:9px auto 0!important;font-size:10.5px!important;text-decoration:none!important;color:#7d8897!important}
body.td-product-home .productTaskExample:hover{text-decoration:underline!important}

/* The upload surface is always present. Remove the nested-window feeling. */
body.td-product-home .productCanvas{
  max-width:920px!important;margin:12px auto 0!important;padding:0!important;border:1px solid #dde4eb!important;border-radius:18px!important;
  background:#fff!important;box-shadow:0 12px 36px rgba(37,46,62,.075)!important;overflow:hidden!important
}
body.td-product-home .productWindow{border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
body.td-product-home .productWindowBar{min-height:46px!important;padding:0 17px!important;background:#f9fafc!important;border-bottom:1px solid #e7ebef!important}
body.td-product-home .productWindowTitle>span:last-child{font-size:12px!important;color:#344158!important;font-weight:900!important}
body.td-product-home .productWindowState{font-size:10.5px!important}
body.td-product-home .homeUploadPanel{max-width:none!important;margin:0!important;padding:28px 22px 22px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
body.td-product-home .homeUploadPanel::before{display:none!important}
body.td-product-home .homeUploadPanel:hover{transform:none!important;box-shadow:none!important}
body.td-product-home .homeUploadLead{margin-bottom:14px!important}
body.td-product-home .homeUploadTitle{font-size:18px!important}
body.td-product-home .homeUploadDesc{font-size:11.5px!important}
body.td-product-home .homeChooseBtn{min-width:190px!important;min-height:50px!important;font-size:14px!important}
body.td-product-home .homeFormatRow{margin-top:13px!important}
body.td-product-home .homeFormatRow small{font-size:10.5px!important;color:#778396!important;font-weight:650!important}
body.td-product-home .homeUploadActions{margin-top:16px!important}
body.td-product-home .homeRunBtn{min-width:190px!important}

/* Explanations are intentionally after the main workflow. */
body.td-product-home .productCapabilityDrawerTop{
  max-width:920px!important;margin:14px auto 0!important;border:1px solid #e4e8ed!important;border-radius:13px!important;background:rgba(255,255,255,.58)!important
}
body.td-product-home .productCapabilityDrawerTop>summary{min-height:46px!important;padding:0 14px!important}
body.td-product-home .productCapabilityDrawerTop .productCapabilitySummary strong{font-size:11.5px!important;color:#6a7586!important}
body.td-product-home .productCapabilityDrawerTop .productCapabilitySummary span{font-size:10px!important;color:#a0a8b3!important}
body.td-product-home .productCapabilityDrawerTop .productCapabilityToggle{font-size:10px!important}

@media(max-width:700px){
  body.td-product-home .hero.homeHeroV3{padding:12px 0 20px!important}
  body.td-product-home .productIntro{text-align:left!important}
  body.td-product-home .homeHeroV3 h1{font-size:31px!important;letter-spacing:-1.05px!important}
  body.td-product-home .homeHeroV3 .productIntro>p{font-size:12.5px!important;line-height:1.55!important}
  body.td-product-home .homeWalletCard{
    margin-top:14px!important;padding:14px!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 10px!important;border-radius:15px!important
  }
  body.td-product-home .homeWalletCard .homeMemberLabel{grid-column:1/2;grid-row:1;font-size:10px!important}
  body.td-product-home .homeWalletCard .memberMini{grid-column:1/2;grid-row:2;font-size:12.5px!important}
  body.td-product-home .homeWalletCard .memberMini b{font-size:21px!important}
  body.td-product-home .homeWalletHelp{grid-column:1/-1;grid-row:3;font-size:9.5px;white-space:normal}
  body.td-product-home .homeWalletCard .homeBuyPointsBtn{grid-column:2;grid-row:1/3;min-width:110px!important;min-height:46px!important;padding:10px 12px!important}
  body.td-product-home .productTaskChooser{margin-top:15px}
  body.td-product-home .productTaskHead{align-items:flex-end}
  body.td-product-home .productTaskHead span{max-width:180px;text-align:right;font-size:9.5px}
  body.td-product-home .productTaskGrid{grid-template-columns:1fr!important;gap:7px!important}
  body.td-product-home .productTaskCard{grid-template-columns:42px minmax(0,1fr) 18px!important;min-height:74px!important;padding:12px!important}
  body.td-product-home .productTaskIcon{width:42px!important;height:42px!important}
  body.td-product-home .productTaskCopy strong{font-size:14.5px!important}
  body.td-product-home .productTaskCopy small{font-size:10px!important}
  body.td-product-home .productCanvas{margin-top:10px!important;border-radius:15px!important}
  body.td-product-home .productWindowBar{padding:0 13px!important}
  body.td-product-home .homeUploadPanel{padding:23px 14px 18px!important}
  body.td-product-home .homeChooseBtn{width:100%!important;min-width:0!important;min-height:50px!important}
  body.td-product-home .homeRunBtn{width:100%!important;min-width:0!important}
  body.td-product-home .homeUploadActions{display:grid!important;grid-template-columns:1fr!important}
  body.td-product-home .productCapabilityDrawerTop .productCapabilitySummary span{display:none!important}
}
