/* Correction mode on a place page (Kevin, 2026-11-07): "Report a correction" outlines
   each fact on the page like an inspect tool; tapping one opens a box to correct it. */
.cx-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 60; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: var(--ink); color: #FBFAF6;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.cx-bar b { flex: 1; font-size: 16px; }
.cx-bar b small { display: block; font-weight: 400; font-size: 12px; opacity: .8; }
.cx-bar button { min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid #FBFAF6; background: transparent;
  color: #FBFAF6; font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.cx-bar button.cx-done { background: #FBFAF6; color: var(--ink); font-weight: 600; }
body.cx-on { padding-top: 64px; }
body.cx-on [data-cx] { outline: 2px dashed rgba(31, 84, 118, .55); outline-offset: 3px; border-radius: 4px; cursor: pointer;
  transition: outline-color .1s, background-color .1s; }
body.cx-on [data-cx]:hover, body.cx-on [data-cx]:focus-visible, body.cx-on [data-cx].cx-pick {
  outline: 2px solid var(--lake); background-color: rgba(143, 179, 204, .28); }
body.cx-on .fd-feats li[data-cx] { outline-offset: 1px; }

.cx-sheet { border: 0; padding: 0; width: min(560px, 100vw); max-width: 100vw; max-height: 92vh; border-radius: 14px;
  background: var(--card); color: var(--ink); box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.cx-sheet::backdrop { background: rgba(27, 36, 40, .45); }
@media (max-width: 640px) {
  .cx-sheet { margin: auto 0 0; width: 100vw; border-radius: 14px 14px 0 0; max-height: 88vh; }
}
.cx-form { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); }
.cx-form h2 { margin: 0; font: 500 22px/1.2 var(--serif); padding-right: 40px; }
.cx-x { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 26px;
  color: var(--muted); cursor: pointer; }
.cx-now { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 8px 10px; font-size: 14px; }
.cx-now .k, .cx-q { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cx-now .v { display: block; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 2px; }
.cx-form label.cx-f { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.cx-form input[type=text], .cx-form input[type=email], .cx-form input[type=url], .cx-form input[type=date],
.cx-form textarea, .cx-form select { width: 100%; font: inherit; font-size: 16px; padding: 10px; border: 1px solid #B9B2A3;
  border-radius: 8px; background: #fff; color: var(--ink); }
.cx-chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.cx-chips legend { padding: 0; margin-bottom: 6px; }
.cx-chips label { position: relative; }
.cx-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.cx-chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #B9B2A3;
  border-radius: 20px; font-size: 14px; background: #fff; cursor: pointer; }
.cx-chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #FBFAF6; }
.cx-chips input:focus-visible + span { outline: 2px solid var(--lake); outline-offset: 2px; }
.cx-hours { display: grid; grid-template-columns: 48px 1fr; gap: 6px 8px; align-items: center; font-size: 14px; }
.cx-more { font-size: 14px; }
.cx-more summary { cursor: pointer; color: var(--lake); min-height: 32px; display: flex; align-items: center; }
.cx-more > div { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.cx-err { color: #8A4415; font-size: 14px; min-height: 0; }
.cx-send { min-height: 48px; border: 0; border-radius: 24px; background: var(--ink); color: #FBFAF6; font: inherit;
  font-weight: 600; font-size: 16px; cursor: pointer; }
.cx-send:disabled { opacity: .6; }
.cx-pickers { display: flex; flex-direction: column; gap: 8px; }
.cx-pickers button { min-height: 48px; text-align: left; padding: 0 16px; border: 1px solid var(--rule); border-radius: 10px;
  background: #fff; font: inherit; font-size: 16px; color: var(--ink); cursor: pointer; }
.cx-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; background: var(--ink);
  color: #FBFAF6; padding: 12px 18px; border-radius: 10px; font-size: 15px; max-width: calc(100vw - 32px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25); }
.cx-hint { font-size: 13px; color: var(--muted); }
