/* The guest invitation banner links to the existing account views, never to a payment site. */
.rf-invite-banner { margin-block: 12px 20px; padding: 16px 20px; border: 1px solid #525b77; border-radius: 12px; background: #242a3b; color: #ebeeff; }
.rf-invite-banner p { margin: 6px 0 10px; color: #c1c9de; }
.rf-invite-banner div,.rf-center .rf-share-link { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
.rf-invite-banner :is(a,button) { font: inherit; border: 1px solid #647292; border-radius: 7px; padding: 10px 14px; background: #30384d; color: #e5eaff; cursor: pointer; }
.rf-center .rf-share-link { margin-top: 12px; }
/* Scoped to the signed-in profile; the surrounding shell owns width and navigation. */
.rf-center {
  --rf-surface: #191b25; --rf-edge: #373b4d; --rf-text: #f0f2fa; --rf-muted: #b8bfd1; --rf-accent: #c8d4ff;
  display: grid; gap: 12px; min-width: 0; margin-top: clamp(26px, 4vw, 52px); color: var(--rf-text);
  text-align: left; overflow-wrap: anywhere;
}
.rf-center [hidden] { display: none !important; }
.rf-center :is(h2,h3,p,dl,dd,ul) { margin: 0; }
.rf-center :is(button,input,select) { box-sizing: border-box; font-family: inherit; }
.rf-center :focus-visible { outline: 2px solid #d1dcff; outline-offset: 3px; }
.rf-center .rf-head,.rf-center .rf-line,.rf-center .rf-demo { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; min-width: 0; }
.rf-center .rf-label { margin-bottom: 5px; color: #b6c2ec; font: 580 .67rem/1.5 var(--mono,monospace); letter-spacing: .12em; }
.rf-center h2 { font-size: clamp(1.55rem, 2.8vw, 2.3rem); font-weight: 650; line-height: 1.22; letter-spacing: -.04em; }
.rf-center h3 { font-size: clamp(1.12rem,2vw,1.46rem); font-weight: 630; line-height: 1.4; letter-spacing: -.025em; }
.rf-center .rf-intro,.rf-center .rf-note,.rf-center .rf-demo p { color: var(--rf-muted); font-size: .85rem; line-height: 1.65; }
.rf-center .rf-intro strong { color: #dce3ff; font-weight: 600; }
.rf-center .rf-body { display: grid; gap: 12px; min-width: 0; }
.rf-center .rf-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.rf-center .rf-card { min-width: 0; border: 1px solid var(--rf-edge); border-radius: 14px; padding: clamp(17px,2.4vw,29px); background: var(--rf-surface); }
.rf-center .rf-share { background: radial-gradient(ellipse at top right,#35394988,transparent 65%),linear-gradient(125deg,#252a3a,#191c27); }
.rf-center .rf-card .rf-note { margin-top: 9px; }
.rf-center .rf-tag { width: fit-content; border: 1px solid #525b77; border-radius: 5px; padding: 3px 8px; background: #262c3c; color: #d4dffc; font: 550 .75rem/1.45 var(--sans,sans-serif); }
.rf-center .rf-button,.rf-center input,.rf-center select { min-height: 44px; max-width: 100%; border: 1px solid #59617b; border-radius: 7px; font-size: .85rem; line-height: 1.5; }
.rf-center .rf-button { min-width: 44px; padding: 9px 14px; color: #e5eaff; background: #2b3043; font-weight: 600; cursor: pointer; }
.rf-center .rf-button:hover:not(:disabled) { background: #353c54; border-color: #8b9ac4; }
.rf-center .rf-button.rf-primary { background: #dbe4ff; border-color: #dbe4ff; color: #1a2030; }
.rf-center .rf-button.rf-primary:hover:not(:disabled) { background: #c4d2ff; }
.rf-center :is(button,input,select):disabled { background: #262935; border-color: #414555; color: #aaaebd; cursor: not-allowed; }
.rf-center .rf-copy,.rf-center form,.rf-center .rf-confirm-actions { display: flex; align-items: end; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.rf-center .rf-copy { align-items: center; }
.rf-center .rf-copy code { flex: 1 1 14rem; min-width: 0; border: 1px dashed #68749a; border-radius: 7px; padding: 11px 10px; background: #171b28; user-select: all; font: 570 .85rem/1.6 var(--mono,monospace); letter-spacing: .035em; color: #e3eaff; }
.rf-center .rf-field { display: grid; gap: 4px; min-width: 0; flex: 1 1 11rem; max-width: 100%; color: #d9dfee; font-size: .8rem; font-weight: 550; }
.rf-center input,.rf-center select { min-width: 0; width: 100%; padding: 8px 10px; background: #131621; color: var(--rf-text); }
.rf-center input::placeholder { color: #a2a8bc; opacity: 1; }
.rf-center .rf-message:not(:empty),.rf-center .rf-receipt:not(:empty) { border-left: 2px solid #8b9ed4; padding: 6px 11px; background: #252b3b; color: #d5e0ff; font-size: .84rem; line-height: 1.6; }
.rf-center .rf-message:empty,.rf-center .rf-receipt:empty { display: none; }
.rf-center .rf-message[data-error="true"] { background: #33252d; border-color: #e296a6; color: #ffd0da; }
.rf-center .rf-receipt:not(:empty) { margin-top: 14px; }
.rf-center .rf-quote-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 12px 24px; align-items: end; margin-top: 16px; }
.rf-center .rf-prices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.rf-center .rf-prices div { min-width: 0; border-left: 1px solid #44495d; padding-left: clamp(6px,1.5vw,16px); }
.rf-center .rf-prices dt { color: var(--rf-muted); font-size: .78rem; }
.rf-center .rf-prices dd { margin-top: 4px; font-weight: 620; font-size: clamp(1rem,1.8vw,1.4rem); font-variant-numeric: tabular-nums; }
.rf-center [data-rf-due] { color: var(--rf-accent); }
.rf-center .rf-reference { margin-top: 14px; border-top: 1px solid var(--rf-edge); }
.rf-center summary { min-height: 44px; box-sizing: border-box; padding: 12px 0; color: #d2dbfa; font-size: .83rem; font-weight: 570; cursor: pointer; }
.rf-center .rf-reference ul { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; padding: 0; list-style: none; }
.rf-center .rf-reference li { display: grid; gap: 3px; border: 1px solid var(--rf-edge); border-radius: 6px; padding: 8px 10px; color: #cad1e4; background: #141722; font-size: .79rem; font-variant-numeric: tabular-nums; }
.rf-center .rf-reference strong { color: #e8ecfa; }
.rf-center .rf-demo,.rf-center .rf-confirm { margin-top: 12px; border: 1px solid #49536e; border-radius: 8px; padding: clamp(12px,1.8vw,18px); background: #242a3b; }
.rf-center .rf-demo strong,.rf-center .rf-confirm strong { font-size: .91rem; font-weight: 600; }
.rf-center .rf-confirm p { margin-top: 5px; color: #d9dff0; font-size: .84rem; line-height: 1.65; }
@media(max-width:760px) {
  .rf-center .rf-pair { grid-template-columns: minmax(0,1fr); }
  .rf-center .rf-quote-layout { grid-template-columns: minmax(0,1fr); }
  .rf-center .rf-prices { margin-top: 3px; }
  .rf-center .rf-reference ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:440px) {
  .rf-center .rf-card { padding: 15px; }
  .rf-center .rf-copy,.rf-center form { align-items: stretch; flex-direction: column; }
  .rf-center .rf-copy code,.rf-center form .rf-field { flex: auto; }
  .rf-center input,.rf-center select { font-size: 16px; }
  .rf-center .rf-demo>.rf-button,.rf-center .rf-confirm-actions>.rf-button { flex: 1 1 100%; }
}
