/* The care campaign has its own surface; ordinary support dialogs stay unchanged. */
body #care-grant-dialog {
  --care-green:#224e38;
  --care-muted:#596e5e;
  --care-paper:#f7f8f1;
  width:calc(100% - 48px);
  max-width:1100px;
  max-height:calc(100dvh - 48px);
  margin:auto;
  padding:0;
  border:0;
  border-radius:26px;
  background:var(--care-paper)!important;
  color:var(--care-green);
  box-shadow:0 28px 100px rgb(13 35 24 / 30%);
  overflow:hidden;
}
body #care-grant-dialog::backdrop {
  background:rgb(28 51 37 / 52%);
  backdrop-filter:blur(5px);
}
body #care-grant-dialog[open] { animation:care-grant-enter 220ms ease-out both; }
body #care-grant-dialog .care-grant-layout {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, .45fr) minmax(0, .55fr);
  min-height:min(640px, calc(100dvh - 48px));
}
body #care-grant-dialog .care-grant-visual {
  position:relative;
  min-width:0;
  min-height:0;
  margin:0;
  overflow:hidden;
  background:#e8dfcd;
}
body #care-grant-dialog .care-grant-visual picture {
  position:absolute;
  inset:0;
  display:block;
}
body #care-grant-dialog .care-grant-image {
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:50% 49%;
}
body #care-grant-dialog .care-grant-image-caption {
  position:absolute;
  z-index:1;
  inset:auto 0 0;
  display:grid;
  gap:9px;
  padding:76px 28px 30px;
  color:#fffdf4;
  background:linear-gradient(transparent, rgb(35 65 42 / 68%));
  pointer-events:none;
}
body #care-grant-dialog .care-grant-image-kicker {
  font:500 11px/1.4 Arial,Helvetica,sans-serif;
  letter-spacing:.2em;
}
body #care-grant-dialog .care-grant-image-caption strong {
  max-width:16em;
  color:inherit;
  font-size:clamp(22px,2.2vw,29px);
  font-weight:600;
  line-height:1.4;
  letter-spacing:-.015em;
  text-wrap:balance;
}
body #care-grant-dialog .care-grant-copy {
  min-width:0;
  max-height:min(740px, calc(100dvh - 48px));
  padding:40px 42px 30px;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#b8c4b5 transparent;
}
body #care-grant-dialog .care-grant-close {
  position:absolute;
  z-index:3;
  top:14px;
  right:14px;
  display:grid;
  place-items:center;
  width:44px;
  min-width:44px;
  height:44px;
  margin:0;
  padding:11px;
  border:0;
  border-radius:50%;
  background:var(--care-paper);
  color:var(--care-muted);
  cursor:pointer;
}
body #care-grant-dialog .care-grant-close svg {
  display:block;
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
}
body #care-grant-dialog .care-grant-close:hover { color:var(--care-green);background:#e7ecdf; }
body #care-grant-dialog .care-grant-eyebrow {
  margin:0;
  padding-right:28px;
  color:var(--care-green);
  font-size:12px!important;
  font-weight:600;
  line-height:1.5;
  letter-spacing:.15em;
}
body #care-grant-dialog #care-grant-title {
  margin:14px 0 22px;
  color:var(--care-green);
  font-size:clamp(30px,3.5vw,42px)!important;
  font-weight:700;
  line-height:1.22;
  letter-spacing:-.035em;
  text-wrap:balance;
  overflow-wrap:anywhere;
}
body #care-grant-dialog .care-grant-body {
  margin:0;
  color:var(--care-muted);
  font-size:16px!important;
  line-height:1.85;
  white-space:pre-line;
  overflow-wrap:anywhere;
}
body #care-grant-dialog .care-grant-terms {
  margin:20px 0 0;
  padding:13px 17px;
  border-left:2px solid #879e85;
  background:#f0f3ea;
  color:#3c5342;
  font-size:14px!important;
  line-height:1.8;
  white-space:pre-line;
  overflow-wrap:anywhere;
}
body #care-grant-dialog .care-grant-contact {
  margin-top:24px;
  padding-top:21px;
  border-top:1px solid #d2dccb;
}
body #care-grant-dialog .care-hotline-label {
  margin:0 0 6px;
  color:var(--care-muted);
  font-size:14px!important;
  line-height:1.6;
}
body #care-grant-dialog .contact-number {
  display:block;
  margin:0;
  padding:0;
  border:0;
  color:var(--care-green);
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:clamp(27px,3.5vw,42px)!important;
  font-weight:650;
  line-height:1.25;
  letter-spacing:-.035em;
  text-decoration:none;
  font-variant-numeric:lining-nums tabular-nums;
  overflow-wrap:anywhere;
}
html[lang|="zh"] body #care-grant-dialog .contact-number {
  font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif!important;
}
body #care-grant-dialog .care-grant-apply {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  width:100%;
  min-height:56px;
  margin-top:24px;
  padding:14px 20px;
  border:1px solid var(--care-green);
  border-radius:15px;
  background:var(--care-green);
  color:#fffdf6;
  font-size:17px;
  font-weight:600;
  line-height:1.5;
  text-align:center;
  text-decoration:none;
  transition:background-color 160ms ease,box-shadow 160ms ease;
}
body #care-grant-dialog .care-grant-apply svg {
  flex:none;
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body #care-grant-dialog .care-grant-apply:hover { background:#163e29;box-shadow:0 5px 16px rgb(34 78 56 / 16%); }
body #care-grant-dialog .care-grant-footnote {
  margin:12px 0 0;
  color:var(--care-muted);
  font-size:12px!important;
  line-height:1.65;
  text-align:center;
}
body #care-grant-dialog :is(a,button):focus-visible { outline:3px solid #6d916e;outline-offset:3px; }

/* A compact, keyboard-accessible product-page invitation. */
body .support-offer-cta {
  border:1px solid #d6dfcd;
  border-radius:12px;
  background:#f4f6ec;
}
body .support-offer-cta .support-offer-trigger {
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:76px;
  padding:13px 0;
  border:0;
  background:transparent;
  color:var(--ink,#224e38);
  text-align:left;
  text-decoration:none;
}
body .support-offer-trigger .care-offer-icon {
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#e5eddb;
}
body .support-offer-trigger .care-offer-icon svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body .support-offer-trigger .care-offer-copy { display:grid;flex:1;gap:3px;min-width:0; }
body .support-offer-trigger .care-offer-copy strong { color:inherit;font-size:14px;line-height:1.5;font-weight:600; }
body .support-offer-trigger .care-offer-copy > span { color:var(--muted,#596e5e);font-size:12px;line-height:1.7;overflow-wrap:anywhere; }
body .support-offer-trigger .care-offer-arrow { flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform 160ms ease; }
body .support-offer-trigger .care-offer-arrow svg { display:block;width:100%;height:100%; }
body .support-offer-trigger:hover .care-offer-arrow { transform:translateX(3px); }
body .support-offer-trigger:focus-visible { outline:2px solid #6d916e;outline-offset:4px;border-radius:6px; }

/* The product invitation sits inline below the package choices; cart cards stay intact. */
html body .purchase-box .support-offer-cta.support-offer-inline {
  margin:12px 0 0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
body .purchase-box .support-offer-inline .support-offer-trigger {
  align-items:flex-start;
  gap:7px;
  min-height:0;
  padding:0;
  border:0;
  background:transparent;
  font-size:14px;
  font-weight:400;
  line-height:1.7;
  text-decoration:none;
}
body .purchase-box .support-offer-inline .care-offer-icon {
  flex:0 0 18px;
  width:18px;
  height:24px;
  border-radius:0;
  background:transparent;
}
body .purchase-box .support-offer-inline .care-offer-icon svg { width:18px;height:18px; }
body .purchase-box .support-offer-inline .care-offer-text {
  min-width:0;
  overflow-wrap:anywhere;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

@media (min-width:901px) and (max-width:1000px) {
  body #care-grant-dialog .care-grant-copy { padding:34px 30px 28px; }
  body #care-grant-dialog .care-grant-image-caption { padding-inline:22px; }
  body #care-grant-dialog #care-grant-title { font-size:32px!important; }
}
@media (max-width:900px) {
  body #care-grant-dialog {
    width:calc(100% - 24px);
    max-width:520px;
    max-height:calc(100dvh - 24px);
    border-radius:20px;
    overflow:auto;
  }
  body #care-grant-dialog .care-grant-layout { display:block;min-height:0; }
  body #care-grant-dialog .care-grant-visual { aspect-ratio:3 / 2; }
  body #care-grant-dialog .care-grant-image { object-position:50% 50%; }
  body #care-grant-dialog .care-grant-image-caption { display:none; }
  body #care-grant-dialog .care-grant-copy { max-height:none;padding:25px 23px max(25px,env(safe-area-inset-bottom));overflow:visible; }
  body #care-grant-dialog .care-grant-close { top:10px;right:10px;background:rgb(247 248 241 / 96%);box-shadow:0 2px 8px rgb(34 78 56 / 8%); }
  body #care-grant-dialog .care-grant-eyebrow { padding:0;font-size:11px!important;letter-spacing:.12em; }
  body #care-grant-dialog #care-grant-title { margin:11px 0 17px;font-size:30px!important;line-height:1.3; }
  body #care-grant-dialog .care-grant-body { font-size:14px!important;line-height:1.8; }
  body #care-grant-dialog .care-grant-terms { margin-top:17px;padding:11px 14px;font-size:13px!important;line-height:1.8; }
  body #care-grant-dialog .care-grant-contact { margin-top:21px;padding-top:18px; }
  body #care-grant-dialog .care-hotline-label { font-size:13px!important; }
  body #care-grant-dialog .contact-number { font-size:31px!important; }
  body #care-grant-dialog .care-grant-apply { min-height:52px;margin-top:19px;font-size:16px;border-radius:13px; }
  body #care-grant-dialog .care-grant-footnote { font-size:11px!important; }
}
@media (max-width:360px) {
  body #care-grant-dialog .care-grant-copy { padding-inline:19px; }
  body #care-grant-dialog #care-grant-title { font-size:27px!important; }
  body #care-grant-dialog .contact-number { font-size:27px!important; }
  body .support-offer-trigger .care-offer-icon { flex-basis:28px;width:28px;height:28px; }
}
@keyframes care-grant-enter {
  from { opacity:0;transform:translateY(12px) scale(.99); }
  to { opacity:1;transform:translateY(0) scale(1); }
}
@media (prefers-reduced-motion:reduce) {
  body #care-grant-dialog[open] { animation:none; }
  body #care-grant-dialog .care-grant-apply,body .support-offer-trigger .care-offer-arrow { transition:none; }
}
