#followupsLightningBtn:not([hidden]):not(.hidden) {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #dce3ec;
  border-radius: 10px;
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  touch-action: manipulation;
}
.fl-dialog {
  --fl-ink: #203149;
  --fl-muted: #758196;
  --fl-line: #e3e9f0;
  --fl-accent: #2479c6;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--fl-ink);
  background: #f8fafc;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior: none;
  font-family: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.fl-dialog::backdrop { background: #f8fafc; }
.fl-dialog [hidden] { display: none !important; }
.fl-dialog *, .fl-dialog *::before, .fl-dialog *::after { box-sizing: border-box; }
.fl-dialog button, .fl-dialog summary {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.fl-dialog button { font: inherit; color: inherit; cursor: pointer; transition: transform 100ms var(--ease-out), background 100ms ease; }
.fl-dialog button:active { transform: scale(.98); }
.fl-dialog button:disabled { opacity: .38; cursor: default; transform: none; }
.fl-dialog button:focus-visible, .fl-dialog summary:focus-visible, .fl-dialog input:focus-visible, .fl-dialog select:focus-visible, .fl-dialog textarea:focus-visible { outline: 3px solid #a6d1f2; outline-offset: 3px; }
.fl-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.fl-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; padding: max(14px, env(safe-area-inset-top)) max(34px, env(safe-area-inset-right)) 14px max(34px, env(safe-area-inset-left)); border-bottom: 1px solid var(--fl-line); background: #fff; }
.fl-brand, .fl-header-end { display: flex; align-items: center; gap: 12px; }
.fl-brand > span { font-size: 22px; }
.fl-brand h2 { margin: 0; font-size: 20px; font-weight: 850; letter-spacing: -.5px; }
.fl-preview { color: var(--fl-muted); font-size: 12px; white-space: nowrap; }
.fl-icon { display: inline-grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 9px; background: transparent; }
.fl-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fl-menu { position: relative; }
.fl-menu summary { list-style: none; cursor: pointer; }
.fl-menu summary::-webkit-details-marker { display: none; }
.fl-menu summary svg { fill: currentColor; stroke: none; }
.fl-menu-panel { position: absolute; top: 47px; right: 0; z-index: 5; width: 180px; padding: 5px; border: 1px solid var(--fl-line); border-radius: 11px; background: #fff; box-shadow: 0 10px 30px #23364e14; }
.fl-menu-panel button { width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 7px; background: #fff; font-size: 14px; text-align: left; }
.fl-main { flex: 1 1 0; min-height: 0; width: min(100%, 1190px); margin: 0 auto; padding: 50px 36px 34px; overflow-y: auto; overscroll-behavior: contain; }
.fl-stage { min-height: 400px; }
.fl-opportunity { display: grid; grid-template-columns: minmax(0, 1fr) 352px; grid-template-areas: "contact editor" "guidance editor" "history editor"; align-items: start; gap: 28px 64px; }
.fl-contact { grid-area: contact; padding: 3px 0 0; }
.fl-due-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 15px; font-size: 13px; font-weight: 750; }
.fl-due { color: #ad6c38; }
.fl-saved-state { color: #458262; }
.fl-contact h3 { margin: 0; color: #203149; outline: none; font-size: clamp(34px, 3.5vw, 46px); font-weight: 850; letter-spacing: -1.6px; line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; }
.fl-phone { margin: 14px 0 12px; color: #425973; font-size: 25px; font-variant-numeric: tabular-nums; font-weight: 650; letter-spacing: .3px; }
.fl-contact-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 16px; color: var(--fl-muted); font-size: 13px; }
.fl-agent::before { content: "·"; margin-right: 16px; color: #a1adba; }
.fl-guidance { grid-area: guidance; padding: 18px 22px; border-left: 3px solid #81b9e5; border-radius: 0 10px 10px 0; background: #eef5fb; }
.fl-priority { margin: 0 0 7px; color: #4e7293; font-size: 13px; font-weight: 750; line-height: 1.5; }
.fl-suggestion { margin: 0; color: #284d70; font-size: 21px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.fl-context { margin: 10px 0 0; color: #667d93; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.fl-history { grid-area: history; padding-top: 2px; }
.fl-history h4, .fl-editor h4 { margin: 0; color: var(--fl-ink); font-size: 17px; font-weight: 850; letter-spacing: -.2px; }
.fl-history-list { margin: 19px 0 0; padding: 0; list-style: none; }
.fl-history-list li { position: relative; margin-left: 5px; padding: 0 0 23px 22px; border-left: 1px solid #dbe4ee; }
.fl-history-list li:last-child { padding-bottom: 0; border-color: transparent; }
.fl-history-list li::before { content: ""; position: absolute; top: 5px; left: -4px; width: 7px; height: 7px; border: 1px solid #91a8bf; border-radius: 50%; background: #f8fafc; }
.fl-event-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 15px; font-size: 14px; }
.fl-event-top strong { color: #425770; font-weight: 800; }
.fl-event-top time { color: #8793a2; font-size: 12px; white-space: nowrap; }
.fl-history-list li p { margin: 6px 0 3px; color: #6a7a8b; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.fl-event-author { color: #96a1ae; font-size: 12px; }
.fl-empty-history { color: var(--fl-muted); font-size: 14px; }
.fl-editor { grid-area: editor; position: sticky; top: 28px; padding: 24px; border: 1px solid var(--fl-line); border-radius: 15px; background: #fff; box-shadow: 0 5px 20px #17334e04; }
.fl-editor-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 24px; }
.fl-draft-state { color: #8794a4; font-size: 11px; }
.fl-result-form label { display: block; margin: 0 0 8px; color: #52667f; font-size: 13px; font-weight: 750; }
.fl-result-form input, .fl-result-form textarea, .fl-result-form select { display: block; width: 100%; min-width: 0; margin: 0 0 20px; padding: 11px 12px; border: 1px solid #d9e2ec; border-radius: 9px; background: #fff; color: var(--fl-ink); font: inherit; font-size: 16px; font-weight: 500; line-height: 1.45; }
.fl-result-form textarea { min-height: 122px; resize: vertical; }
.fl-result-form textarea::placeholder { color: #a0aab7; }
.fl-result-form select { min-height: 46px; }
.fl-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 2px; }
.fl-primary, .fl-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 9px; font-size: 14px !important; font-weight: 750 !important; line-height: 1.3; }
.fl-primary { background: #287cc5; color: #fff !important; }
.fl-primary svg, .fl-secondary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fl-secondary { background: transparent; color: #62748a !important; }
.fl-save { flex: 1; white-space: nowrap; padding-inline: 13px; }
.fl-cancel { padding-inline: 7px; }
.fl-form-error { margin: 0 0 14px; color: #b34e47; font-size: 13px; line-height: 1.5; }
.fl-footer { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; width: min(100%, 1190px); margin: 0 auto; padding: 18px max(36px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(36px, env(safe-area-inset-left)); border-top: 1px solid var(--fl-line); color: var(--fl-muted); font-size: 13px; }
.fl-navigation { display: flex; align-items: center; gap: 16px; }
.fl-position { min-width: 42px; color: #8c98a6; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.fl-previous { padding-left: 0; }
.fl-next { padding-right: 0; }
.fl-finish { display: flex; min-height: 430px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.fl-finish h3 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.8px; outline: none; }
.fl-finish-count { margin: 13px 0 26px; color: var(--fl-muted); font-size: 15px; }
.fl-loading { padding-top: 70px; text-align: center; color: var(--fl-muted); }
.fl-sr-only { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  #followupsLightningBtn:hover, .fl-icon:hover, .fl-menu-panel button:hover { background: #f0f5fa; }
  .fl-primary:hover { background: #216db1; }
  .fl-secondary:hover { background: #edf2f7; }
}
@media (max-width: 900px) {
  .fl-opportunity { grid-template-columns: minmax(0, 1fr) 320px; gap: 26px 32px; }
  .fl-main { padding: 34px 26px 28px; }
  .fl-editor { padding: 20px; }
  .fl-form-actions { flex-direction: column; align-items: stretch; }
  .fl-save { flex: auto; }
}
@media (max-width: 700px) {
  .fl-header { min-height: 70px; padding-right: max(14px, env(safe-area-inset-right)); padding-left: max(18px, env(safe-area-inset-left)); }
  .fl-brand { gap: 8px; }
  .fl-brand h2 { font-size: 18px; }
  .fl-brand > span { font-size: 20px; }
  .fl-header-end { gap: 2px; }
  .fl-preview { font-size: 10px; }
  .fl-icon { width: 40px; height: 44px; flex-basis: 40px; padding: 10px; }
  .fl-main { padding: 30px 22px; }
  .fl-opportunity { grid-template-columns: minmax(0, 1fr); grid-template-areas: "contact" "guidance" "history" "editor"; gap: 27px; }
  .fl-contact h3 { font-size: 36px; letter-spacing: -1px; }
  .fl-phone { font-size: 24px; }
  .fl-contact-meta { font-size: 12px; }
  .fl-agent::before { margin-right: 9px; }
  .fl-guidance { padding: 16px 18px; }
  .fl-suggestion { font-size: 19px; }
  .fl-editor { position: static; padding: 22px 20px; }
  .fl-editor-heading { margin-bottom: 21px; }
  .fl-form-actions { flex-direction: row; }
  .fl-save { flex: 1; }
  .fl-footer { padding-right: max(22px, env(safe-area-inset-right)); padding-left: max(22px, env(safe-area-inset-left)); }
  .fl-round-count { width: 100%; }
  .fl-navigation { justify-content: space-between; width: 100%; gap: 8px; }
  .fl-history { padding-bottom: 8px; }
}
@media (max-width: 360px) {
  .fl-header { padding-left: 12px; padding-right: 7px; }
  .fl-brand h2 { font-size: 16px; }
  .fl-preview { font-size: 9px; }
  .fl-main { padding: 24px 16px; }
  .fl-editor { padding: 20px 16px; }
  .fl-form-actions { flex-direction: column; align-items: stretch; }
  .fl-save { flex: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .fl-dialog button { transition: background 100ms ease; }
  .fl-dialog button:active { transform: none; }
}
