/* Intent UI: "You came for" shortcut (home) + one-line wish forms (home, montage invite). */
.zi-rec { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 14px 16px; border: 1px solid #c9d3fb; border-radius: 12px; background: #edf1ff; }
html[data-zs-theme="dark"] .zi-rec { background: var(--zs-primary-soft); border-color: var(--zs-border-2); }
.zi-rec[hidden] { display: none; }
.zi-rec-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--zs-bg); color: var(--zs-primary-strong); }
.zi-rec-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.zi-rec-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--zs-text-3); }
.zi-rec-text strong { font-size: 14px; line-height: 20px; color: var(--zs-text); font-weight: 600; overflow-wrap: anywhere; }
.hv .zi-rec .hv-btn { height: 40px; margin: 0; padding: 0 18px; font-size: 12px; white-space: nowrap; }
.zi-rec-hide { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-right: -6px; border: 0; border-radius: 8px; background: transparent; color: var(--zs-text-3); cursor: pointer; }
.zi-rec-hide:hover { background: var(--zs-bg); color: var(--zs-text); }
.zi-rec-hide svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.zi-wish { display: flex; align-items: center; gap: 12px 20px; margin-top: 16px; padding: 16px 18px; border: 1px solid var(--zs-border); border-radius: 12px; background: var(--zs-bg); }
.zi-wish-text { flex: 0 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.zi-wish-text label { font-size: 13px; line-height: 19px; font-weight: 600; color: var(--zs-text); }
.zi-wish-text span { font-size: 12px; line-height: 18px; color: var(--zs-text-3); }
.zi-wish-row { flex: 1 1 360px; min-width: 0; display: flex; gap: 8px; }
.zi-wish input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--zs-border-2); border-radius: 8px; background: var(--zs-bg); color: var(--zs-text); font: 400 13px/1 var(--zs-font); }
.zi-wish input::placeholder { color: var(--zs-text-3); }
.zi-wish input:focus-visible { outline: 3px solid var(--zs-primary); outline-offset: 1px; border-color: var(--zs-primary-strong); }
.zi-wish button { flex: none; height: 40px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--zs-primary-strong); color: #fff; font: 500 12px/1 var(--zs-font); cursor: pointer; }
.zi-wish button:hover:not(:disabled) { background: #2a41b5; }
.zi-wish button:disabled { opacity: .55; cursor: default; }
.zi-wish-status { flex-basis: 100%; margin: 0; font-size: 12px; line-height: 18px; color: #15803d; }
.zi-wish-status.is-error { color: var(--zs-danger, #c62828); }
.zi-wish-status[hidden] { display: none; }
.zi-wish { flex-wrap: wrap; }

/* inside the montage invite card: centred, stacked */
.zi-wish--invite { flex-direction: column; align-items: stretch; max-width: 460px; margin: 22px auto 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--zs-border); border-radius: 0; background: transparent; text-align: left; }
.zi-wish--invite { flex-wrap: nowrap; }
.zi-wish--invite .zi-wish-text, .zi-wish--invite .zi-wish-row { flex: none; width: 100%; }
.zi-wish--invite .zi-wish-status { flex-basis: auto; }

@media (max-width: 768px) {
  .zi-rec { flex-wrap: wrap; }
  .zi-rec-text { flex-basis: calc(100% - 100px); }
  .hv .zi-rec .hv-btn { width: auto; flex: 1 1 auto; height: 44px; }
  /* column + wrap sizes a line to its widest item; nowrap lets rows take the card width */
  .zi-wish { flex-direction: column; flex-wrap: nowrap; align-items: stretch; padding: 16px; }
  .zi-wish-text, .zi-wish-row { flex: none; width: 100%; }
  .zi-wish-status { flex-basis: auto; }
  .zi-wish--invite { padding: 18px 0 0; }
  .zi-wish input, .zi-wish button { height: 44px; font-size: 16px; }
  .zi-wish button { font-size: 14px; }
}
@media (max-width: 380px) {
  .zi-wish-row { flex-direction: column; }
}
