.ti-dock {
  --ti-ink: #15372d;
  position: fixed;
  z-index: 1000;
  left: 14px;
  bottom: var(--ti-bottom, 14px);
  display: flex;
  align-items: center;
  width: min(260px, calc(100vw - 28px));
  box-sizing: border-box;
  padding: 5px 7px 5px 5px;
  color: var(--ti-ink);
  background: #fff;
  border: 1px solid #d6e6d8;
  border-radius: 999px;
  box-shadow: 0 9px 28px #0b2d2426;
  font-family: Manrope, sans-serif;
}
.ti-dock[hidden] { display: none; }
.ti-open {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.ti-dock-image {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: cover;
  border-radius: 50%;
  background: #dcebcf;
}
.ti-dock-copy { min-width: 0; }
.ti-dock-copy strong {
  display: block;
  overflow: hidden;
  color: #17372d;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ti-dock-copy small { display: block; margin-top: 2px; color: #547064; font-size: 10px; line-height: 1.3; }
.ti-dock-copy small span { color: #225a3e; font-weight: 800; }
.ti-dismiss {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #597168;
  font-size: 19px;
  cursor: pointer;
}
.ti-dismiss:hover, .ti-dismiss:focus-visible { background: #edf4ea; color: #17372d; }
.ti-dialog {
  width: min(640px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  box-sizing: border-box;
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #d5e5d7;
  border-radius: 24px;
  background: #f8faf7;
  color: #17372d;
  box-shadow: 0 30px 90px #09251d55;
  font-family: Manrope, sans-serif;
}
.ti-dialog::backdrop { background: #081d18b8; backdrop-filter: blur(4px); }
.ti-close {
  position: sticky;
  z-index: 2;
  top: 10px;
  float: right;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 10px 10px -46px 0;
  padding: 0;
  border: 1px solid #ffffffb8;
  border-radius: 50%;
  background: #ffffffed;
  color: #183c30;
  font-size: 25px;
  cursor: pointer;
}
.ti-cover { position: relative; height: 138px; overflow: hidden; background: #284939; }
.ti-cover::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #08231c99); }
.ti-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.ti-cover span {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 15px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #c7f275;
  color: #17372d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.ti-content { padding: 24px 28px 28px; }
.ti-eyebrow { margin: 0 0 10px; color: #43754f; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.ti-dialog h2 { margin: 0 0 9px; color: #15372d; font-family: 'Space Grotesk', sans-serif; font-size: clamp(25px, 4vw, 34px); line-height: 1.12; letter-spacing: -.045em; }
.ti-dialog h2:focus { outline: none; }
#ti-benefits { margin: 12px 0 10px; color: #244638; font-family: 'Space Grotesk', sans-serif; font-size: clamp(20px, 3vw, 25px); font-weight: 600; line-height: 1.3; letter-spacing: -.025em; text-wrap: pretty; }
#ti-invitation { margin: 0 0 24px; color: #225a3e; font-size: clamp(16px, 2.5vw, 18px); font-weight: 800; line-height: 1.4; }
.ti-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ti-grid label { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: #244638; font-size: 12px; font-weight: 700; }
.ti-grid label > span { display: contents; font-weight: 400; }
.ti-grid input, .ti-grid select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid #c7d9cb;
  border-radius: 10px;
  background: #fff;
  color: #17372d;
  font: inherit;
  font-size: 16px;
}
.ti-formats { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; padding: 0; border: 0; }
.ti-formats legend { margin-bottom: 9px; font-size: 12px; font-weight: 800; }
.ti-formats label { position: relative; flex: 1; min-width: 125px; cursor: pointer; }
.ti-formats input { position: absolute; opacity: 0; }
.ti-formats span { display: grid; place-items: center; box-sizing: border-box; min-height: 44px; padding: 8px; border: 1px solid #c7d9cb; border-radius: 10px; background: #fff; font-size: 11px; line-height: 1.35; text-align: center; }
.ti-formats input:checked + span { border-color: #527c34; background: #e5f6c9; color: #15372d; font-weight: 800; }
.ti-consent { display: flex; align-items: flex-start; gap: 9px; color: #4a6356; font-size: 11px; line-height: 1.5; }
.ti-consent input { width: 17px; height: 17px; flex: 0 0 17px; margin: 1px 0 0; accent-color: #225a3e; }
.ti-consent a { color: inherit; text-decoration: underline; }
.ti-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 19px; border: 0; border-radius: 999px; background: #174e37; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.ti-submit:hover { background: #0e3928; }
.ti-submit:disabled { opacity: .55; cursor: wait; }
.ti-status { margin: 10px 0; color: #9c2828; font-size: 12px; line-height: 1.4; }
.ti-status:empty { display: none; }
.ti-note { margin: 10px 0 0; color: #62776a; font-size: 10px; text-align: center; }
.ti-community { display: block; width: fit-content; margin: 10px auto 0; color: #42675a; font-size: 10px; text-decoration: underline; }
.ti-honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ti-success { padding: 16px 0; color: #174e37; font-size: 17px; line-height: 1.5; }
html.ti-modal-open { overflow: hidden; }
.ti-open:focus-visible, .ti-dismiss:focus-visible, .ti-close:focus-visible, .ti-submit:focus-visible, .ti-grid input:focus-visible, .ti-grid select:focus-visible, .ti-formats input:focus-visible + span { outline: 3px solid #4f8842; outline-offset: 3px; }
@media (max-width: 600px) {
  .ti-dock { left: 10px; width: min(220px, calc(100vw - 20px)); padding: 4px 5px 4px 4px; }
  .ti-dock-image { width: 36px; height: 36px; flex-basis: 36px; }
  .ti-dock-copy strong { font-size: 11px; }
  .ti-dock-copy small { font-size: 9px; }
  .ti-dismiss { width: 32px; height: 36px; flex-basis: 32px; }
  .ti-dialog { max-height: calc(100dvh - 16px); border-radius: 18px; }
  .ti-cover { height: 92px; }
  .ti-cover span { left: 18px; bottom: 10px; }
  .ti-content { padding: 18px; }
  .ti-grid { grid-template-columns: 1fr; gap: 10px; }
  .ti-grid input, .ti-grid select { min-height: 42px; }
  .ti-formats label { min-width: 112px; }
  .ti-dialog:has(input:focus, select:focus) .ti-cover { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .ti-dialog[open] { animation: ti-enter .22s ease-out; }
  @keyframes ti-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
