
body{margin:0;background:#e8ede7;padding:clamp(0px,3vw,32px)}#tf{max-width:960px;margin:auto;box-shadow:0 8px 28px #234b421a}#tf button:disabled{opacity:.55;cursor:default}#tf #email-heading{margin-top:0}#tf .save-warning{margin:12px 16px}
#tf{font-family:system-ui,sans-serif;background:#f6f7f3;color:#253b34;border-radius:18px;overflow:hidden;min-height:550px;font-size:14px}#tf *{box-sizing:border-box}#tf header{background:#234b42;color:white;padding:22px}#tf header h1{font-size:29px;margin:0;letter-spacing:-1px}#tf header p{margin:5px 0 0;color:#d3e3da;font-size:12px}#tf main{padding:16px;min-height:420px}#tf h2{font-size:21px;margin:4px 0 14px}#tf h3{font-size:15px;margin:17px 0 10px}#tf .tile{background:white;border:1px solid #e1e5de;border-radius:13px;padding:14px;margin-bottom:10px}#tf .metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}#tf .number{font-size:27px;font-weight:700;margin:5px 0}#tf small{color:#65776e}#tf button{cursor:pointer;border:0;border-radius:9px;padding:10px 13px;font:inherit;font-weight:600;background:#234b42;color:white}#tf button.alt{background:#e7ede6;color:#234b42}#tf .wide{width:100%;margin:5px 0}#tf .line{display:flex;align-items:center;justify-content:space-between;gap:10px}#tf .muted{color:#65776e;font-size:12px}#tf nav{display:flex;background:white;border-top:1px solid #ddd;justify-content:space-around;padding:8px 2px}#tf nav button{background:transparent;color:#66776e;padding:7px 3px;font-size:10px;flex:1}#tf nav button.on{color:#234b42;background:#e7ede6}#tf nav span{display:block;font-size:21px;margin-bottom:4px}#tf input,#tf select,#tf textarea{width:100%;border:1px solid #cad4cc;border-radius:8px;background:white;color:#253b34;padding:11px;margin:4px 0 11px;font:inherit}#tf label{font-size:12px;font-weight:600}#tf .tag{background:#e7ede6;color:#234b42;font-size:11px;padding:5px 8px;border-radius:20px}#tf .photo{width:70px;height:70px;object-fit:cover;border-radius:9px}#tf .bar{height:8px;background:#e4e9e1;border-radius:10px;overflow:hidden;margin:10px 0}#tf .bar i{display:block;background:#739982;height:100%}#tf .notice{background:#fff8e6;border-radius:8px;padding:10px;margin:8px 0;color:#6b592d;font-size:12px}
/* Wrapping paper, ribbon, and gift tags */
body {
  color-scheme: light;
  background: #f1e9df;
  padding: clamp(10px, 4vw, 44px);
}
#tf {
  background: #fff8ea;
  border: 1px solid #b38770;
  border-radius: 12px;
  box-shadow: 0 6px 0 #dbc3ad, 0 18px 42px #49231936;
  color: #382421;
}
#tf header {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 134px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px clamp(18px, 6vw, 52px);
  background:
    linear-gradient(0deg, transparent calc(50% - 13px), #4d1926 calc(50% - 13px), #702638 50%, #4d1926 calc(50% + 13px), transparent calc(50% + 13px)),
    radial-gradient(circle, #e5a898 1px, transparent 1.6px) 0 0 / 13px 13px,
    #9c3c50;
}
#tf header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 11% 0 auto;
  width: 34px;
  background: linear-gradient(90deg, #531929, #832e43 48%, #531929);
  box-shadow: 0 0 0 1px #44122055;
}
#tf header::after {
  content: "";
  position: absolute;
  inset: 50% calc(11% + 17px) auto auto;
  width: 76px;
  height: 46px;
  transform: translate(50%, -50%);
  background:
    radial-gradient(circle at center, #a14a5b 0 6px, #662336 7px 9px, transparent 10px),
    radial-gradient(ellipse at 25% 50%, #581d2b 0 17%, #ad5364 19% 31%, transparent 33%) 0 0 / 50% 100% no-repeat,
    radial-gradient(ellipse at 75% 50%, #581d2b 0 17%, #ad5364 19% 31%, transparent 33%) 100% 0 / 50% 100% no-repeat;
  pointer-events: none;
}
#tf header h1, #tf header p {
  position: relative;
  width: fit-content;
  max-width: calc(100% - 72px);
  margin: 0;
  background: #fff1d8;
  color: #582632;
  padding: 4px 12px;
}
#tf header h1 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 6vw, 44px);
  letter-spacing: -.03em;
  border-radius: 4px 4px 0 0;
}
#tf header p { border-radius: 0 4px 4px 4px; }
#tf main { padding: clamp(14px, 4vw, 32px); }
#tf .tile { background: #fffdf6; border-color: #e7d4bd; }
#tf small, #tf .muted { color: #655347; }
#tf button, #tf nav button, #tf button.alt {
  position: relative;
  flex-shrink: 0;
  min-height: 44px;
  padding: 9px 14px 9px 28px;
  border: 0;
  border-radius: 6px 3px 3px 6px;
  clip-path: polygon(0 50%, 12px 0, 100% 0, 100% 100%, 12px 100%);
  background: #783346;
  color: #fff8ea;
  overflow-wrap: anywhere;
}
#tf button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 11px;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: .75;
}
#tf button.alt, #tf nav button {
  background: #f0dabb;
  color: #522632;
}
#tf button:focus-visible { outline: 2px solid currentColor; outline-offset: -5px; }
#tf button:disabled { cursor: default; }
#tf nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 12px;
  background: #f5e6d2;
  border-color: #dfc6a9;
}
#tf nav button { font-size: 12px; }
#tf nav button.on { background: #783346; color: #fff8ea; }
#tf nav span { font-size: 16px; margin-bottom: 2px; }
#tf section[aria-labelledby="email-heading"] button { margin: 3px 2px; max-width: 100%; }
#tf .line { flex-wrap: wrap; }
@media (max-width: 460px) {
  #tf nav { grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); }
  #tf nav button { padding-right: 6px; }
  #tf header p { font-size: 11px; }
}
#tf [hidden] { display: none !important; }
#tf main { font-size: 1rem; }
#tf label { display: block; font-size: .9rem; }
#tf form { max-width: 36rem; }
#tf .actions { display:flex; flex-wrap:wrap; gap: .5rem; }
#tf #notice { padding:.75rem; background:#f0dabb; border-radius:.4rem; }
#tf #gifts h3, #tf #form-title { margin-top: 0; }
#tf #gift-tabs { margin-bottom: 1.3rem; border-radius: .6rem; }
#tf #gift-tabs button[aria-current="page"] { background:#783346; color:#fff8ea; }
#tf #home-actions { margin-bottom: 1rem; }
#tf #gifts section > h3 { margin-top: 1.2rem; }
