:root {
  color-scheme: light;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #163339;
  background: #ecfafb;
  --accent: #155760;
  --muted: #435e64;
  --line: #cce4e7;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
.shell { max-width: 620px; margin: 0 auto; padding: 22px 18px 28px; }
.brand, footer { display: flex; align-items: center; }
.brand { justify-content: space-between; margin: 0 0 14px; gap: 12px; }
.brand-logo {
  display: block;
  width: clamp(116px, 32vw, 134px);
  height: 76px;
  object-fit: cover;
  /* Turn the pale background white so it blends into the page. */
  filter: grayscale(1) brightness(1.3);
  mix-blend-mode: multiply;
}
.language { min-width: 45px; min-height: 40px; padding: 0 10px; color: var(--accent); background: white; border: 1px solid var(--line); border-radius: 99px; font: inherit; font-size: .85rem; font-weight: 700; }
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 33px clamp(23px, 6vw, 42px) 32px; border-radius: 29px; background: linear-gradient(115deg, #b3eef4 15%, #d9f7f6); color: #132e34; }
.hero h1 { position: relative; font-size: clamp(2.1rem, 7vw, 3.2rem); letter-spacing: -.055em; line-height: 1.12; margin: 0 0 15px; font-weight: 730; }
.hero p { position: relative; max-width: 245px; margin: 0; color: #284c53; font-size: .95rem; line-height: 1.64; }
.petals { position: absolute; right: clamp(-65px, -6vw, -18px); top: 18px; width: 207px; height: 186px; pointer-events: none; opacity: .55; }
.petals i { position: absolute; bottom: 8px; left: 40px; width: 105px; height: 150px; border: 1px solid #23889759; border-radius: 75% 12% 73% 12% / 70% 15% 76% 15%; background: linear-gradient(155deg,#70cbd550,#e5fbfb00); transform-origin: 50% 88%; }
.petals i:nth-child(1) { transform: rotate(-65deg); }
.petals i:nth-child(2) { transform: rotate(-33deg); }
.petals i:nth-child(3) { transform: rotate(0deg); }
.petals i:nth-child(4) { transform: rotate(33deg); }
.petals i:nth-child(5) { transform: rotate(65deg); }
.card { margin-top: 14px; padding: clamp(18px, 5vw, 31px); background: #fff; border: 1px solid #d8ecee; border-radius: 25px; box-shadow: 0 7px 25px #163f460d; }
fieldset { border: 0; padding: 0; margin: 0 0 23px; min-width: 0; }
legend, .field-title { display: block; padding: 0; font-weight: 750; font-size: 1.05rem; }
.help { margin: 5px 0 12px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; position: relative; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: grid; align-items: center; min-height: 41px; border: 1px solid var(--line); border-radius: 50px; padding: 7px 13px; color: #204a52; background: #f3fbfc; font-size: .89rem; }
.choice input:checked + span { background: #cff1f4; border-color: #4a929b; color: #184a52; }
.choice input:focus-visible + span, :focus-visible { outline: 2px solid #23747f; outline-offset: 3px; }
textarea { display: block; width: 100%; padding: 11px 13px; margin: 9px 0 0; border: 1px solid #b9d9de; border-radius: 12px; background: #f7fcfd; color: inherit; font: inherit; font-size: 1rem; line-height: 1.55; resize: vertical; }
textarea::placeholder { color: #526c72; }
.actions { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 15px; }
button, .button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .72; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 47px; border: 1px solid transparent; border-radius: 11px; padding: 8px 17px; font: inherit; font-weight: 700; text-decoration: none; text-align: center; }
.primary { color: white; background: var(--accent); }
.primary:hover { background: #114650; }
.text-button { background: transparent; border: 0; padding: 5px 1px; min-height: 40px; color: var(--accent); font: inherit; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
.action-link { display: inline-flex; align-items: center; }
.notice { margin: 11px 0 0; color: var(--muted); font-size: .88rem; }
.draft-box, .google-box { border-top: 1px solid var(--line); margin-top: 19px; padding-top: 17px; }
.google { width: 100%; border-color: #c7dde1; color: #19373e; background: white; }
.google:hover { background: #eef9fa; }
.google-ready { background: #dcf4f6; border-color: #93c7cc; color: #164b54; }
.google-ready:hover { background: #cff1f4; }
.g-mark { color: #1769d4; font-weight: 800; font-size: 1.16rem; }
.google-box .help { margin: 8px 0 0; }
.status { margin: 10px 0 0; color: var(--accent); font-size: .89rem; }
.status:empty { margin: 0; }
footer { justify-content: space-between; gap: 10px; margin: 18px 4px 0; color: var(--muted); font-size: .76rem; }
footer span { letter-spacing: .10em; }
footer a { color: var(--accent); padding: 8px 0; }
.qr-card { text-align: center; }
.qr-card h2 { margin: 0; font-size: 1.3rem; }
#qr { display: block; width: min(100%, 242px); height: auto; margin: 12px auto; image-rendering: pixelated; }
.qr-card .action-link { margin-left: 12px; }
@media (max-width: 350px) { .petals { opacity: .29; } }
@media print { .brand, .hero, footer, .qr-card .button, .qr-card .action-link, .qr-card p { display: none; } body, .card { background: white; } .qr-card { border: 0; box-shadow: none; } }
