/* Contact pieces from static/contacts.js: the message box the admin picks for success / error
   (checkout), the old contact cards and the small chips. Uses each page's own tokens. */
.rc { display: grid; gap: 10px; }
.rc-title { margin: 0 0 4px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.rc-group { margin: 8px 0 0; font-size: 12.5px; font-weight: 600; color: var(--faint, var(--muted)); }
.rc-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rc-grid.n1 { grid-template-columns: minmax(0, 1fr); }
.rc-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rc-card {
  display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; text-align: left;
  background: transparent; border: 1px solid var(--line-hi, var(--line)); border-radius: 10px; color: var(--text);
  text-decoration: none; font: inherit; cursor: pointer; transition: background .15s, border-color .15s;
}
.rc-card:hover { background: var(--card); text-decoration: none; }
.rc-icon {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 8px;
  background: var(--card-hi, var(--card)); color: var(--text); border: 1px solid var(--line-hi, var(--line));
}
.rc-icon svg { width: 18px; height: 18px; fill: currentColor; }
.rc-text { display: grid; gap: 1px; min-width: 0; }
.rc-label { font-size: 12.5px; color: var(--muted); }
.rc-value { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the one message box after a success / on an error */
.rc-cta {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-align: left;
  background: var(--panel, var(--card)); border: 1px solid var(--line-hi, var(--line)); border-radius: 12px;
}
.rc-cta-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.rc-cta-text p { margin: 0; font-size: 14px; color: var(--text); }
.rc-btn {
  flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 8px;
  border: 1px solid var(--line-hi, var(--line)); background: transparent; color: var(--text); font: inherit; font-size: 13px; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s;
}
.rc-btn:hover { background: var(--card-hi, var(--card)); text-decoration: none; }

@media (max-width: 720px) {
  .rc-grid, .rc-grid.n2 { grid-template-columns: minmax(0, 1fr); }
  .rc-cta { flex-wrap: wrap; }
  .rc-btn { width: 100%; justify-content: center; }
}

/* compact buttons (old shop strip) */
.rc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 5px; border-radius: 9px;
  background: var(--card); border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 13px;
  font-weight: 600; text-decoration: none; cursor: pointer;
}
.rc-chip .rc-icon { width: 24px; height: 24px; border-radius: 6px; }
.rc-chip .rc-icon svg { width: 14px; height: 14px; }
