dialog.fcl-lease-intent {
  box-sizing: border-box;
  width: min(32rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #adc1b2;
  border-radius: 14px;
  background: #fff;
  color: #18201d;
  font: 1rem/1.5 system-ui, sans-serif;
  box-shadow: 0 12px 52px rgba(17,38,27,.24);
}
dialog.fcl-lease-intent[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
dialog.fcl-lease-intent:not([open]), .fcl-lease-intent [hidden] { display: none !important; }
.fcl-lease-intent::backdrop { background: rgba(17,29,23,.6); }
html:has(.fcl-lease-intent[open]) { overflow: hidden; }
.fcl-intent-heading, .fcl-intent-body, .fcl-intent-actions { box-sizing: border-box; padding: .9rem 1.25rem; }
.fcl-intent-heading { border-bottom: 1px solid #d5dfd6; }
.fcl-intent-body { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.fcl-lease-intent h2 { margin: 0; font: 500 1.55rem/1.2 Georgia, serif; color: inherit; }
.fcl-lease-intent p { margin: 0 0 .7rem; }
.fcl-lease-intent p:last-child, .fcl-lease-intent p:empty { margin: 0; }
.fcl-lease-intent #fcl-intent-stay { margin: .25rem 0 0; font-weight: 650; color: #355740; }
#fcl-intent-preview, .fcl-lease-intent [data-intake-status] { color: #42574a; font-size: .9rem; }
.fcl-lease-intent form { display: grid; gap: .85rem; margin: 0; padding: 0; }
.fcl-lease-intent fieldset { display: grid; gap: .5rem; min-width: 0; margin: 0; padding: .65rem .8rem .75rem; border: 1px solid #ccd6cd; border-radius: 8px; }
.fcl-lease-intent legend { padding: 0 .2rem; font-size: .95rem; font-weight: 650; }
.fcl-lease-intent label { display: block; font-size: .9rem; line-height: 1.4; }
.fcl-lease-intent select, .fcl-lease-intent input:not([type]), .fcl-lease-intent input:is([type="text"],[type="email"]) {
  box-sizing: border-box; display: block; width: 100%; min-height: 42px;
  margin: .2rem 0 0; border: 1px solid #829287; border-radius: 6px;
  padding: .5rem .6rem; background: white; color: inherit; font: inherit; font-size: 1rem;
}
.fcl-lease-intent input[type="radio"] { accent-color: #355740; }
.fcl-lease-intent summary { cursor: pointer; font-weight: 600; }
.fcl-lease-intent details[open] > fieldset { margin-top: .5rem; }
.fcl-intent-actions { display: flex; align-items: center; justify-content: space-between; gap: .55rem; border-top: 1px solid #d5dfd6; }
.fcl-intent-actions button, .fcl-lease-intent [data-retry] {
  min-height: 44px;
  padding: .55rem .85rem;
  border: 1px solid #355740;
  border-radius: 7px;
  background: #fff;
  color: #28472f;
  font: 600 .96rem/1.3 system-ui, sans-serif;
  cursor: pointer;
}
.fcl-intent-actions [data-continue] { background: #355740; color: #fff; }
.fcl-intent-actions [data-continue]:disabled { background: #e4e9e3; color: #47544a; border-color: #c0ccc1; cursor: default; }
.fcl-lease-intent [data-intake-recovery] { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.fcl-lease-intent [data-full-form] { color: #28472f; text-decoration: underline; }
.fcl-lease-intent :is(button,input,a,summary):focus-visible { outline: 3px solid #457eab; outline-offset: 2px; }
@media (max-width: 480px) {
  dialog.fcl-lease-intent { inset: auto 0 0; width: 100%; max-width: none; margin: 0; border-radius: 14px 14px 0 0; max-height: calc(100dvh - max(.4rem,env(safe-area-inset-top))); }
  .fcl-intent-heading, .fcl-intent-body, .fcl-intent-actions { padding-inline: 1rem; }
  .fcl-intent-actions { padding-bottom: max(.75rem,env(safe-area-inset-bottom)); }
}
