
  /* Normal flow, directly beneath the input. The dropdown anchors absolutely
     over the map and is only open while a query is live — and a new query
     clears this line — so the two are never on screen together and cannot
     overlap. */
  .intent-status.svelte-urmlxe {
    display: grid;
    /* Sentence and × on the first row; the action row spans the sentence
       column beneath it. `auto` on the second column keeps the × a fixed-size
       target while the text takes what is left. */
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 4px 8px;
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    color: #1f2937;
    font-size: 13px;
    line-height: 1.35;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .intent-status-text.svelte-urmlxe {
    /* Wraps rather than truncating: see the component comment. */
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .intent-status-actions.svelte-urmlxe {
    grid-column: 1 / -1;
  }

  .intent-status-action.svelte-urmlxe {
    display: inline-flex;
    align-items: center;
    position: relative;
    min-height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #1a73e8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }

  .intent-status-dismiss.svelte-urmlxe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: none;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5f6368;
    cursor: pointer;
  }

  .intent-status-dismiss.svelte-urmlxe .material-symbols-outlined:where(.svelte-urmlxe) {
    font-size: 18px;
  }

  /* 32px painted, 44px hit — WCAG 2.5.5, reached with an inset pseudo-element
     rather than by growing the control, exactly as `.mfm-hide-notice-action`
     does on the map. 32 + 2*6 = 44. */
  .intent-status-action.svelte-urmlxe::after,
  .intent-status-dismiss.svelte-urmlxe::after {
    content: '';
    position: absolute;
    inset: -6px;
  }

  .intent-status-action.svelte-urmlxe:hover {
    background: rgba(26, 115, 232, 0.1);
  }

  .intent-status-dismiss.svelte-urmlxe:hover {
    background: rgba(95, 99, 104, 0.12);
  }

  .intent-status-action.svelte-urmlxe:focus-visible,
  .intent-status-dismiss.svelte-urmlxe:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 1px;
  }

  /* The theme is toggled by `html.dark` (see $lib/utils/theme.ts), so both
     values sit side by side the way every other map surface keeps them. */
  html.dark .intent-status.svelte-urmlxe {
    background: rgba(31, 41, 55, 0.96);
    color: #f3f4f6;
  }

  html.dark .intent-status-action.svelte-urmlxe {
    color: #93c5fd;
  }

  html.dark .intent-status-dismiss.svelte-urmlxe {
    color: #d1d5db;
  }

