.tmc-interest-dialog:not([open]){display:none}
.tmc-interest-dialog{
  box-sizing:border-box;
  position:fixed;
  inset:0;
  width:min(530px,calc(100vw - 28px));
  max-height:min(86dvh,760px);
  margin:auto;
  padding:30px;
  overflow:auto;
  border:1px solid rgba(181,138,80,.28);
  border-radius:18px;
  background:#fffdf8;
  color:#181816;
  box-shadow:0 26px 90px rgba(15,14,12,.3);
}
.tmc-interest-dialog::backdrop{background:rgba(13,14,13,.72);backdrop-filter:blur(5px)}
.tmc-interest-dialog h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(26px,3.5vw,36px);line-height:1.12;font-weight:500;letter-spacing:-.025em;margin:9px 42px 4px 0}
.tmc-interest-dialog .tmc-interest-lede{margin:6px 0 12px;color:#6f6b63;font-size:13px}
.tmc-interest-dialog .tmc-interest-note{margin:0 0 20px;color:#59554e;font-size:13px;line-height:1.65}
.tmc-interest-close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid rgba(35,32,27,.13);border-radius:50%;background:#f7f3e9;color:#28251e;font-size:26px;line-height:1;cursor:pointer}
.tmc-interest-close:hover,.tmc-interest-close:focus-visible{background:#eee6d7}
.tmc-interest-dialog .field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.tmc-interest-dialog .field{min-width:0}
.tmc-interest-dialog .field label{display:block;margin-bottom:6px}
.tmc-interest-dialog .field input,.tmc-interest-dialog .field select,.tmc-interest-dialog .field textarea{width:100%;min-width:0}
.tmc-interest-dialog .tmc-interest-actions{display:flex;justify-content:flex-end;margin-top:22px}
.tmc-interest-dialog .tmc-interest-actions .btn{min-width:166px}
.tmc-interest-dialog .tmc-interest-feedback{margin-top:16px;border:1px solid #a8c5ad;border-radius:10px;padding:14px 16px;background:#eff8f0;color:#285137;font-size:14px;line-height:1.55}
.tmc-interest-dialog .tmc-interest-feedback[hidden]{display:none}
.tmc-interest-dialog .tmc-interest-feedback.is-error{background:#fff1ec;color:#873d2f;border-color:#e1aea1}
@media(max-width:640px){
  .tmc-interest-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);padding:25px 19px;border-radius:15px}
  .tmc-interest-dialog .field-grid{grid-template-columns:1fr}
  .tmc-interest-dialog .tmc-interest-actions .btn{width:100%}
}
