/**
 * Área do cliente — painel desktop em tela cheia (preview do cartão continua em 430).
 */

:root {
  --giro-width: 430px;
  --giro-height: 932px;
  --rgc-content-max: none;
  --rgc-sidebar: 220px;
  --rwa-font: "Poppins", Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rwa-green: #b91c1c;
  --rwa-green-deep: #991b1b;
  --rwa-green-soft: #fef2f2;
  --rwa-orange: #be123c;
  --rwa-purple: #7c3aed;
  --rwa-ink: #121212;
  --rwa-muted: #737373;
  --rwa-line: #ebe4e4;
  --rwa-bg: #ffffff;
  --rwa-soft: #faf7f7;
  --rwa-header: #1c1010;
  --rwa-radius: 12px;
  --rwa-radius-lg: 20px;
  --rwa-shadow-sm: 0 5px 14px rgba(80, 20, 30, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--rwa-font);
  color: var(--rwa-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.rgc-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.rgc-logoImg {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: center;
  border-radius: 11px;
  display: block;
  background: #e10600;
}

.rgc-logoMark {
  color: var(--rwa-purple);
  font-weight: 800;
}

.rgc-logoProduct {
  color: var(--rwa-header);
  font-weight: 700;
  text-transform: lowercase;
}

.rgc-eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rwa-muted);
}

.rgc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--rwa-radius);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  touch-action: manipulation;
}

.rgc-btn--primary {
  background: #ff6a00;
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.28);
}

.rgc-btn--primary:hover {
  background: #e85f00;
}

.rgc-btn--green {
  background: var(--rwa-green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(185, 28, 28, 0.24);
}

.rgc-btn--green:hover {
  background: var(--rwa-green-deep);
}

.rgc-btn--outline {
  background: #fff;
  color: var(--rwa-green);
  border: 1.5px solid var(--rwa-green);
}

.rgc-btn--soft {
  background: var(--rwa-soft);
  color: var(--rwa-ink);
}

.rgc-btn--danger {
  background: #fff;
  color: #b42318;
  border: 1.5px solid #fda29b;
}

.rgc-btn--block {
  width: 100%;
}

.rgc-linkBtn {
  border: 0;
  background: none;
  color: var(--rwa-purple);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  min-height: 44px;
}

/* Login */
.rgc-login {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  background: var(--rwa-bg);
}

.rgc-loginHero {
  display: none;
}

.rgc-loginPanel {
  width: min(100%, 400px);
}

/* display:grid no .rgc-login sobrescreve o [hidden] do UA — força esconder */
.rgc-login[hidden],
.rgc-app[hidden] {
  display: none !important;
}

.rgc-loginCard {
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 28px 22px;
  border: 1px solid var(--rwa-line);
  border-radius: var(--rwa-radius-lg);
  box-shadow: var(--rwa-shadow-sm);
  background: #fff;
}

@media (min-width: 960px) {
  .rgc-login {
    grid-template-columns: minmax(280px, 1.1fr) minmax(360px, 0.9fr);
    place-items: stretch;
    padding: 0;
    background:
      linear-gradient(135deg, #1c1010 0%, #3a1518 48%, #7a1f2b 100%);
  }

  .rgc-loginHero {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 48px 56px;
    color: #f7f1e6;
  }

  .rgc-loginHeroLogo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
  }

  .rgc-loginHeroEyebrow {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.72;
  }

  .rgc-loginHeroTitle {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.05;
  }

  .rgc-loginHeroText {
    margin: 0;
    max-width: 28ch;
    font-size: 16px;
    line-height: 1.45;
    color: rgba(247, 241, 230, 0.82);
  }

  .rgc-loginPanel {
    width: auto;
    display: grid;
    place-items: center;
    padding: 32px 40px;
    background: #f4f1ec;
  }

  .rgc-loginCard {
    max-width: 440px;
    margin: 0;
  }
}

.rgc-authTabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 4px 0 8px;
  padding: 4px;
  border-radius: 12px;
  background: var(--rwa-soft);
}

.rgc-authTab {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--rwa-muted);
  cursor: pointer;
}

.rgc-authTab.is-active {
  background: #fff;
  color: var(--rwa-green-deep);
  box-shadow: var(--rwa-shadow-sm);
}

.rgc-authForm {
  display: grid;
  gap: 10px;
}

.rgc-authForm[hidden] {
  display: none !important;
}

.rgc-demoNote a {
  color: var(--rwa-green-deep);
  font-weight: 700;
}

.rgc-loginCard h1 {
  margin: 0 0 4px;
  font-size: 28px;
}

.rgc-hint {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--rwa-muted);
}

.rgc-loginCard label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rwa-muted);
}

.rgc-loginCard input {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--rwa-radius);
  border: 1px solid var(--rwa-line);
  background: #fff;
}

.rgc-passField {
  position: relative;
  display: grid;
}

.rgc-passField input {
  width: 100%;
  padding-right: 64px;
}

.rgc-passToggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: var(--rwa-soft);
  color: var(--rwa-green-deep);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}

.rgc-passToggle:hover,
.rgc-passToggle[aria-pressed="true"] {
  background: var(--rwa-green-soft);
}

.rgc-status.is-error {
  color: #b42318;
  font-weight: 600;
}

.rgc-status {
  min-height: 1.2em;
  margin: 0;
  font-size: 13px;
  color: #b42318;
}

.rgc-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  margin: 4px 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--rwa-muted);
  font-weight: 600;
}

.rgc-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.rgc-consent a {
  color: var(--rwa-green-deep, #2f6b2f);
}

.rgc-demoNote {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--rwa-muted);
}

.rgc-forgotRow {
  margin: -2px 0 0;
  text-align: right;
}

.rgc-forgotLink,
.rgc-textBtn {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--rwa-green-deep, #2f6b2f);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rgc-textBtn {
  margin-top: 4px;
  text-align: left;
}

.rgc-back {
  margin-top: 8px;
  color: var(--rwa-purple);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.rgc-company {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rwa-line);
  text-align: center;
  font-size: 12px;
  color: var(--rwa-muted);
}

.rgc-company strong {
  color: var(--rwa-header);
  font-size: 13px;
  font-weight: 800;
}

.rgc-company a {
  color: var(--rwa-green-deep);
  font-weight: 600;
  text-decoration: none;
}

.rgc-company a:hover {
  text-decoration: underline;
}

/* Painel em tela cheia no computador (e no celular) */
.rgc-app {
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  background: var(--rwa-bg);
}

.rgc-scale {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.rgc-surface {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 1fr;
  background: var(--rwa-bg);
  color: var(--rwa-ink);
}

.rgc-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 14px 16px 10px;
  padding-top: max(14px, env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--rwa-line);
}

.rgc-topMain {
  flex: 1 1 200px;
  min-width: 0;
}

.rgc-topTitle {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.rgc-topMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--rwa-muted);
}

.rgc-topPhone,
.rgc-topCpf {
  margin: 0;
}

.rgc-topPhone:not([hidden]) + .rgc-topCpf:not([hidden])::before {
  content: "·";
  margin-right: 12px;
  opacity: 0.55;
}

.rgc-topWallet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 10px;
  flex: 0 0 auto;
  margin-left: auto;
}

.rgc-topWalletSaldo {
  display: grid;
  gap: 2px;
  text-align: right;
  min-width: 7.5rem;
}

.rgc-topWalletLabel {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rwa-muted);
}

.rgc-topWalletSaldo strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.rgc-topSaque {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.rgc-walletActions {
  margin: 4px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rgc-walletActions--stack {
  flex-direction: column;
  align-items: stretch;
  min-width: min(220px, 100%);
}

.rgc-walletHero {
  display: grid;
  gap: 16px;
  align-items: start;
}

@media (min-width: 720px) {
  .rgc-walletHero {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.rgc-walletMeta--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rwa-line);
}

.rgc-walletMeta--grid .rgc-statusKey {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a6b63;
}

.rgc-walletMeta--grid strong {
  font-size: 16px;
  font-weight: 800;
  color: #1a1412;
}

.rgc-wallet--panel .rgc-walletSaldo {
  font-size: clamp(32px, 5vw, 42px);
}

.rgc-referral {
  display: grid;
  gap: 12px;
}

.rgc-referralLinkLabel {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #6b635c;
}

.rgc-referralLinkRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.rgc-referralLinkRow input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 10px 12px;
  border: 1.5px solid #e8d5c8;
  border-radius: 12px;
  background: #fffaf6;
  color: #1a1412;
  font-size: 13px;
}

.rgc-modal {
  border: 0;
  padding: 0;
  border-radius: 18px;
  max-width: min(420px, calc(100vw - 24px));
  background: transparent;
}

.rgc-modal::backdrop {
  background: rgba(26, 20, 18, 0.55);
}

.rgc-modalCard {
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid #e0c4b0;
  box-shadow: 0 24px 48px rgba(33, 25, 21, 0.22);
}

.rgc-planBadge {
  display: inline-flex;
  align-items: center;
  margin: 8px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--rwa-green-soft);
  color: var(--rwa-green-deep);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rgc-checklist {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid #e3c8b4;
  box-shadow: 0 8px 20px rgba(92, 42, 16, 0.06);
  font-size: 14px;
}

.rgc-checklist--compact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.rgc-checklist strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--rwa-ink);
}

.rgc-checklist ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4a403c;
}

.rgc-checklist li.is-done {
  color: #1f7a3f;
  text-decoration: none;
  opacity: 1;
}

.rgc-checklist.is-complete {
  border-color: #8fd0a6;
  background: #f2fbf5;
}

.rgc-walletSaldo {
  margin: 4px 0 8px;
  font: 700 28px/1.1 var(--rwa-display, inherit);
  letter-spacing: -0.02em;
}

.rgc-walletMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 8px 0 12px;
  font-size: 12px;
  color: var(--rwa-muted);
}

.rgc-statementList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rgc-statementRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--rwa-line);
}

.rgc-statementRow:first-child {
  border-top: 0;
  padding-top: 0;
}

.rgc-statementAmount {
  font-weight: 700;
  white-space: nowrap;
}

.rgc-statementRow.is-credit .rgc-statementAmount {
  color: #0f7a3a;
}

.rgc-statementRow.is-debit .rgc-statementAmount {
  color: #8a3b12;
}

.rgc-shareBlock {
  margin-top: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: grid;
  gap: 10px;
}

.rgc-shareBlock.is-disabled {
  opacity: 0.72;
}

.rgc-shareUrl {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--rwa-radius);
  border: 1px solid var(--rwa-line);
  background: var(--rwa-soft);
  font: inherit;
  font-size: 12px;
}

.rgc-shareQr {
  width: 132px;
  margin-inline: auto;
}

.rgc-shareQr svg {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  border-radius: 8px;
}

.rgc-scroll {
  overflow: auto;
  padding: 14px 16px calc(28px + env(safe-area-inset-bottom, 0px));
  -webkit-overflow-scrolling: touch;
  font-size: 15px;
  line-height: 1.45;
}


.rgc-top,
.rgc-scroll,
.rgc-nav {
  width: 100%;
}

.rgc-nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 8px 8px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rwa-line);
  background: #fff;
  z-index: 20;
}

.rgc-navLinks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
}

.rgc-navBtn.rgc-navBtn--deskExtra {
  display: none !important;
}

.rgc-navMore {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: calc(100% + 6px);
  display: grid;
  gap: 4px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--rwa-line);
  background: #fff;
  box-shadow: 0 12px 28px rgba(28, 16, 16, 0.14);
}

.rgc-navMore[hidden] {
  display: none !important;
}

.rgc-navMoreBtn {
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--rwa-ink);
  cursor: pointer;
}

.rgc-navMoreBtn.is-active,
.rgc-navMoreBtn:hover {
  background: var(--rwa-green-soft);
  color: var(--rwa-green-deep);
}

.rgc-navIcon {
  display: none;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.rgc-navIcon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rgc-navCompany {
  display: none;
}

.rgc-navCollapse {
  display: none;
}

/* Studio: prévia no topo (sticky) + editor; ≥720px lado a lado. */
.rgc-cardEditor {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rgc-cardEditor > .rgc-previewHost {
  order: -1;
  position: sticky;
  top: 0;
  z-index: 6;
}

.rgc-cardEditor > .rgc-cardMain {
  order: 1;
  min-width: 0;
}

@media (min-width: 960px) {
  .rgc-surface {
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }

  .rgc-nav {
    grid-column: 1;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 236px;
    padding: 18px 12px calc(18px + env(safe-area-inset-bottom, 0px));
    border-top: 0;
    border-right: 0;
  }

  .rgc-navLinks {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .rgc-navBtn {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    justify-content: flex-start;
    text-align: left;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
  }

  .rgc-navBtn--more {
    display: none !important;
  }

  .rgc-navBtn.rgc-navBtn--deskExtra {
    display: flex !important;
  }

  .rgc-navMore {
    display: none !important;
  }

  .rgc-navIcon {
    display: block;
  }

  .rgc-navCompany {
    display: grid;
    gap: 4px;
    margin-top: auto;
    margin-bottom: 8px;
    padding: 14px 14px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
  }

  .rgc-navCompany__name {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
  }

  .rgc-navCompany__cnpj,
  .rgc-navCompany__address {
    color: rgba(255, 255, 255, 0.88);
  }

  .rgc-navCompany__phone,
  .rgc-navCompany__email {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
  }

  .rgc-navCompany__phone:hover,
  .rgc-navCompany__email:hover {
    text-decoration: underline;
  }

  .rgc-navCollapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 0;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .rgc-navCollapseChevron {
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
  }

  .rgc-top {
    grid-column: 2;
    padding: 20px 32px 14px;
  }

  .rgc-scroll {
    grid-column: 2;
    padding: 20px 32px 32px;
  }

  .rgc-topTitle {
    font-size: 30px;
  }

  #pane-redemptions .rgc-scroll,
  #pane-redemptions.rgc-pane {
    min-height: 0;
  }

  .rgc-redemptionsDesk {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 14px;
    align-items: stretch;
    min-height: calc(100vh - 168px);
  }

  .rgc-redemptionsMain,
  .rgc-redemptionsQueue {
    min-width: 0;
    min-height: 0;
  }

  .rgc-redemptionsMain {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
  }

  .rgc-redemptionsMini {
    max-width: 280px;
  }

  .rgc-redemptionsWeek .rgc-gcalShell,
  .rgc-redemptionsQueue {
    position: sticky;
    top: 8px;
    max-height: calc(100vh - 168px);
  }

  .rgc-redemptionsQueue {
    overflow: auto;
    padding-right: 2px;
  }

  .rgc-redemptionsWeek .rgc-gcalShell {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .rgc-redemptionsWeek .rgc-gcalWeek {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
  }

  .rgc-redemptionsWeek .rgc-gcalBody {
    flex: 1;
    max-height: none;
  }

  .rgc-rdmActions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .rgc-rdmActions .rgc-btn {
    width: auto;
    min-height: 32px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .rgc-rdmBody {
    display: grid;
    gap: 8px;
  }

  .rgc-field--compact {
    margin-top: 0;
  }

  #account-host {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }

  #account-host .rgc-agendaCard {
    grid-column: 1 / -1;
  }

  #conditions-host {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }

  #conditions-host > .rgc-card {
    margin-bottom: 0;
  }

  #schedule-card {
    grid-column: 1 / -1;
  }

  .rgc-deskSplit {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 16px;
    align-items: start;
  }

  .rgc-deskSplit > .rgc-adjustBlock,
  .rgc-deskSplit > .rgc-shareBlock {
    margin-top: 0;
  }

  .rgc-cardEditor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    align-items: start;
  }

  .rgc-cardEditor > .rgc-previewHost {
    order: initial;
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 12px;
    align-self: start;
  }

  .rgc-cardEditor > .rgc-cardMain {
    order: initial;
    grid-column: 1;
    min-width: 0;
  }

  .rgc-cardEditor .rgc-previews {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .rgc-cardEditor .rgc-previews > div {
    flex: none;
    width: 100%;
  }

  .rgc-cardEditor .rgc-previewFrame {
    width: 100%;
    height: auto;
    aspect-ratio: 430 / 760;
  }

  .rgc-cardEditor .rgc-previewIframe {
    width: 430px;
    height: 760px;
    transform: scale(calc(268 / 430));
  }

  .rgc-templateGallery,
  .rgc-coverGallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 420px;
  }
}

@media (min-width: 1280px) {
  .rgc-cardEditor {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .rgc-templateGallery,
  .rgc-coverGallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.rgc-navBtn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  color: var(--rwa-muted);
  cursor: pointer;
}

.rgc-navLabel {
  font-size: 12px;
  line-height: 1.2;
}

.rgc-navBtn.is-active {
  background: var(--rwa-green-soft);
  color: var(--rwa-green-deep);
}

.rgc-navBtn.has-pending::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background: #f5a524;
  vertical-align: middle;
}

.rgc-navBtn.has-pending .rgc-navLabel::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: #f5a524;
  vertical-align: middle;
}

@media (min-width: 960px) {
  .rgc-navBtn.has-pending::after {
    display: none;
  }
}

.rgc-pane[hidden] {
  display: none !important;
}

.rgc-domainBanner {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.rgc-domainChip {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(159, 18, 57, 0.22);
  background:
    linear-gradient(135deg, #fff 0%, #fff7f8 48%, #ffe4e8 100%);
  box-shadow: 0 12px 30px rgba(127, 29, 29, 0.1);
}

.rgc-domainChip__pulse {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 18, 60, 0.18), transparent 68%);
  animation: rgc-domain-pulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes rgc-domain-pulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.rgc-domainChip__main {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.rgc-domainChip__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #9f1239;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: rgc-domain-badge 1.6s ease-in-out infinite;
}

@keyframes rgc-domain-badge {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(159, 18, 57, 0.35);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(159, 18, 57, 0);
  }
}

.rgc-domainChip__title {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--rwa-ink);
}

.rgc-domainChip__lead {
  margin: 6px 0 0;
  max-width: 42ch;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--rwa-muted);
}

.rgc-domainChip__lead s {
  color: #9f1239;
  opacity: 0.7;
}

.rgc-domainChip__lead em {
  font-style: normal;
  font-weight: 800;
  color: #9f1239;
}

.rgc-domainChip__price {
  flex: none;
  display: grid;
  gap: 2px;
  min-width: 92px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  text-align: right;
  line-height: 1.05;
}

.rgc-domainChip__price s {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}

.rgc-domainChip__price b {
  font-size: 16px;
  font-weight: 800;
}

.rgc-domainChip__form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

.rgc-domainChip__form .rgc-domainField {
  margin: 0;
}

.rgc-domainChip__form .rgc-btn {
  min-height: 46px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .rgc-domainChip__form {
    grid-template-columns: 1fr;
  }
}

.rgc-hubKpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.rgc-hubKpi {
  display: grid;
  gap: 2px;
  padding: 14px 14px 12px;
  border: 1px solid var(--rwa-line);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--rwa-shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.rgc-hubKpi:hover {
  border-color: rgba(255, 104, 31, 0.35);
  transform: translateY(-1px);
}

.rgc-hubKpi strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.rgc-hubShop {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rgc-hubShop__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--rwa-line);
  border-radius: 12px;
  background: var(--rwa-soft);
}

.rgc-hubShop__row strong {
  display: block;
  font-size: 14px;
}

.rgc-hubShop__row .rgc-muted {
  margin: 2px 0 0;
  font-size: 12px;
}

.rgc-hubShop__price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--rwa-muted);
}

.rgc-hubShop__price input {
  width: 96px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--rwa-line);
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
  color: var(--rwa-ink);
}

.rgc-hubClients {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rgc-hubClient {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--rwa-line);
  border-radius: 12px;
  background: #fff;
}

.rgc-hubClient strong {
  display: block;
  font-size: 14px;
}

.rgc-hubClient .rgc-muted {
  margin: 2px 0 0;
  font-size: 12px;
}

.rgc-receiptCode--inline {
  margin-top: 14px;
  display: inline-block;
}

@media (max-width: 900px) {
  .rgc-hubKpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rgc-domainCard {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(185, 28, 28, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 247, 0.98)),
    radial-gradient(120% 80% at 100% 0%, rgba(190, 18, 60, 0.1), transparent 55%);
  box-shadow: 0 10px 28px rgba(80, 20, 30, 0.06);
}

.rgc-domainBanner.is-offer .rgc-domainCard,
.rgc-domainBanner.is-pending .rgc-domainCard {
  border-color: rgba(185, 28, 28, 0.18);
}

.rgc-domainBanner.is-ready .rgc-domainCard {
  border-color: var(--rwa-line);
  background: var(--rwa-soft);
  box-shadow: none;
}

.rgc-domainCard__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.rgc-domainCard__eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9f1239;
}

.rgc-domainCard__title {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--rwa-ink);
}

.rgc-domainCard__priceBlock {
  flex: none;
  display: grid;
  justify-items: end;
  gap: 6px;
}

.rgc-domainCard__price {
  display: grid;
  gap: 2px;
  min-width: 88px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: right;
  line-height: 1.1;
}

.rgc-domainCard__compare {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
}

.rgc-domainCard__price strong {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.rgc-domainCard__chip {
  flex: none;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.1);
  color: #9f1239;
  font-size: 11px;
  font-weight: 800;
}

.rgc-domainCard__chip.is-live {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.rgc-domainCard__chip.is-urgency {
  background: #9f1239;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 10px;
}

.rgc-domainCard__urgency {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.14);
  color: #9f1239;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.rgc-domainCard.is-urgency {
  border-color: rgba(185, 28, 28, 0.22);
}

.rgc-domainCard__host {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.rgc-domainCard__copy {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--rwa-muted);
}

.rgc-domainCard__copy strong {
  color: var(--rwa-ink);
  font-weight: 800;
}

.rgc-domainField {
  display: flex;
  align-items: stretch;
  margin: 0 0 12px;
  border: 1px solid rgba(185, 28, 28, 0.18);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.rgc-domainField__prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: #faf4f5;
  color: #9f1239;
  font-size: 12px;
  font-weight: 700;
  border-right: 1px solid rgba(185, 28, 28, 0.12);
  white-space: nowrap;
}

.rgc-domainField input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  border: 0;
  padding: 10px 12px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}

.rgc-domainField input:focus {
  outline: none;
}

.rgc-domainField:focus-within {
  border-color: #be123c;
  box-shadow: 0 0 0 3px rgba(190, 18, 60, 0.12);
}

.rgc-domainCard__actions {
  display: grid;
  gap: 8px;
}

.rgc-domainCard__msg {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--rwa-muted);
}

.rgc-card .rgc-domainCard {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.rgc-statusGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 12px;
}

.rgc-statusGrid > div {
  padding: 10px;
  border-radius: 12px;
  background: var(--rwa-soft);
  border: 1px solid var(--rwa-line);
}

.rgc-statusKey {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rwa-muted);
}

.rgc-statusGrid strong {
  font-size: 13px;
  font-weight: 800;
}

.rgc-receiptCode {
  margin: 8px 0;
  padding: 12px;
  border-radius: 12px;
  background: #111;
  color: #f7f1e6;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

.rgc-occupancy.is-partial {
  color: #9a6b1f !important;
}
.rgc-occupancy.is-full {
  color: #a13b2a !important;
  font-weight: 700;
}

.rgc-agendaCard {
  margin-bottom: 14px;
}

/* Google-like week agenda */
.rgc-gcalShell {
  padding: 10px 12px 12px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
  height: 100%;
}

.rgc-gcalMini .rgc-agendaNav--mini {
  margin-top: 0;
}

.rgc-gcalMini .rgc-agendaCell {
  border-radius: 999px;
  aspect-ratio: 1;
  font-size: 11px;
  font-weight: 600;
}

.rgc-gcalMini .rgc-agendaCell.is-today {
  border-color: transparent;
  background: #e8f0fe;
  color: #1967d2;
}

.rgc-gcalMini .rgc-agendaCell.is-selected {
  background: #1a73e8;
  color: #fff;
}

.rgc-gcalToolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.rgc-gcalToolbarLeft {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rgc-gcalTitle {
  font-size: 18px;
  font-weight: 700;
  color: #3c4043;
  margin-left: 4px;
}

.rgc-gcalViewChip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #3c4043;
  background: #fff;
}

.rgc-gcalViewSwitch {
  display: inline-flex;
  border: 1px solid #dadce0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.rgc-gcalViewBtn {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-right: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.rgc-gcalViewBtn:last-child {
  border-right: 0;
}

.rgc-gcalViewBtn.is-active {
  background: #e8f0fe;
  color: #1967d2;
}

.rgc-gcalViewBtn:hover:not(.is-active) {
  background: #f8f9fa;
}

.rgc-agendaCard--gcal {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.rgc-gcalShell--month {
  min-height: 520px;
}

.rgc-gcalMonthHead,
.rgc-gcalMonthGrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.rgc-gcalMonthHead {
  border-bottom: 1px solid #dadce0;
}

.rgc-gcalMonthWd {
  padding: 10px 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #70757a;
}

.rgc-gcalMonthGrid {
  border-left: 1px solid #dadce0;
  min-height: 480px;
  grid-auto-rows: minmax(88px, 1fr);
}

.rgc-gcalMonthCell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  min-height: 88px;
  padding: 4px 4px 6px;
  border-right: 1px solid #dadce0;
  border-bottom: 1px solid #dadce0;
  background: #fff;
}

.rgc-gcalMonthCell.is-out {
  background: #f8f9fa;
}

.rgc-gcalMonthCell.is-out .rgc-gcalMonthNum {
  color: #9aa0a6;
}

.rgc-gcalMonthCell.is-today {
  background: #fff;
}

.rgc-gcalMonthCell.is-selected {
  background: #e8f0fe;
}

.rgc-gcalMonthNum {
  align-self: center;
  width: 28px;
  height: 28px;
  margin-bottom: 2px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3c4043;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.rgc-gcalMonthCell.is-today .rgc-gcalMonthNum {
  background: #1a73e8;
  color: #fff;
}

.rgc-gcalMonthCell.is-selected:not(.is-today) .rgc-gcalMonthNum {
  background: #d2e3fc;
  color: #1967d2;
}

.rgc-gcalMonthEvents {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rgc-gcalMonthChip {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 1px 6px;
  border: 0;
  border-radius: 4px;
  text-align: left;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.rgc-gcalMonthChip em {
  font-style: normal;
  font-weight: 700;
}

.rgc-gcalMonthChip.is-scheduled {
  background: #1a73e8;
}

.rgc-gcalMonthChip.is-confirmed {
  background: #0b8043;
}

.rgc-gcalMonthChip.is-pay {
  background: #f9ab00;
  color: #202124;
}

.rgc-gcalMonthMore {
  padding: 0 6px;
  color: #70757a;
  font-size: 11px;
  font-weight: 600;
}

.rgc-agendaDayDetail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #dadce0;
}

.rgc-agendaDayDetail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
  color: #3c4043;
  font-size: 14px;
}

.rgc-agendaDayDetail__head span {
  color: #70757a;
}

.rgc-agendaMiniList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rgc-agendaMiniList li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #dadce0;
  background: #fff;
  font-size: 13px;
}

.rgc-agendaMiniList li.is-scheduled {
  border-left: 4px solid #1a73e8;
}

.rgc-agendaMiniList li.is-confirmed {
  border-left: 4px solid #0b8043;
}

.rgc-agendaMiniList li.is-pay {
  border-left: 4px solid #f9ab00;
}

.rgc-gcalDayEmpty {
  margin: 12px 0 0;
}

@media (max-width: 720px) {
  .rgc-gcalMonthGrid {
    min-height: 420px;
    grid-auto-rows: minmax(72px, 1fr);
  }

  .rgc-gcalMonthCell {
    min-height: 72px;
    padding: 2px;
  }

  .rgc-gcalMonthChip {
    font-size: 10px;
    padding: 1px 4px;
  }
}

.rgc-gcalHeadRow,
.rgc-gcalBody {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
}

.rgc-gcalDaysHead,
.rgc-gcalColumns {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.rgc-gcalDayHead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 2px 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: #70757a;
}

.rgc-gcalDayWd {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rgc-gcalDayNum {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 500;
  color: #3c4043;
}

.rgc-gcalDayHead.is-today .rgc-gcalDayNum {
  background: #1a73e8;
  color: #fff;
}

.rgc-gcalDayHead.is-selected:not(.is-today) .rgc-gcalDayNum {
  background: #e8f0fe;
  color: #1967d2;
}

.rgc-gcalBody {
  border-top: 1px solid #dadce0;
  max-height: min(62vh, 640px);
  overflow: auto;
}

.rgc-gcalTimes,
.rgc-gcalDayGrid {
  --rgc-hour-h: 48px;
  position: relative;
  height: calc(var(--rgc-hours, 12) * var(--rgc-hour-h));
}

.rgc-gcalTimeLabel {
  position: absolute;
  top: calc(var(--rgc-h, 0) * var(--rgc-hour-h));
  right: 8px;
  transform: translateY(-50%);
  font-size: 10px;
  color: #70757a;
  white-space: nowrap;
}

.rgc-gcalColumns {
  border-left: 1px solid #dadce0;
}

.rgc-gcalDayCol {
  border-right: 1px solid #dadce0;
  min-width: 0;
}

.rgc-gcalDayCol:last-child {
  border-right: 0;
}

.rgc-gcalDayCol.is-today {
  background: rgba(26, 115, 232, 0.03);
}

.rgc-gcalHourLine {
  height: var(--rgc-hour-h);
  border-bottom: 1px solid #e8eaed;
  box-sizing: border-box;
}

.rgc-gcalNow {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #ea4335;
  z-index: 3;
  pointer-events: none;
}

.rgc-gcalNow::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ea4335;
}

.rgc-gcalEvent {
  position: absolute;
  left: 3px;
  right: 3px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 3px 6px;
  border: 0;
  border-radius: 6px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  font: inherit;
  color: #fff;
  box-shadow: 0 1px 1px rgba(60, 64, 67, 0.2);
}

.rgc-gcalEvent strong {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.rgc-gcalEvent span {
  font-size: 11px;
  line-height: 1.2;
  opacity: 0.95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.rgc-gcalEvent.is-scheduled {
  background: #1a73e8;
}

.rgc-gcalEvent.is-confirmed {
  background: #0b8043;
}

.rgc-gcalEvent.is-pay {
  background: #f9ab00;
  color: #202124;
}

.rgc-gcalHint {
  margin: 10px 0 0;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .rgc-redemptionsDesk {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .rgc-redemptionsWeek .rgc-gcalShell,
  .rgc-redemptionsQueue {
    position: static;
    max-height: none;
  }

  .rgc-redemptionsMini {
    max-width: none;
  }

  .rgc-redemptionsWeek .rgc-gcalBody {
    max-height: min(52vh, 520px);
  }
}

.rgc-agendaNav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 12px;
}

.rgc-agendaNav strong {
  font-size: 14px;
}

.rgc-agendaNav .rgc-btn {
  min-width: 42px;
  padding-inline: 10px;
}

.rgc-agendaWeekdays,
.rgc-agendaGrid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.rgc-agendaWeekdays {
  margin-bottom: 4px;
}

.rgc-agendaWeekdays span {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--rwa-muted, #7a7468);
}

.rgc-agendaCell {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.rgc-agendaCell.is-empty {
  pointer-events: none;
}

.rgc-agendaCell.is-today {
  border-color: rgba(26, 26, 26, 0.18);
}

.rgc-agendaCell.is-selected {
  background: #1a1a1a;
  color: #f7f1e6;
}

.rgc-agendaCell.is-partial {
  box-shadow: inset 0 -3px 0 #e0a84a;
}

.rgc-agendaCell.is-full {
  box-shadow: inset 0 -3px 0 #c45a3a;
}

.rgc-agendaCell.is-confirmed {
  box-shadow: inset 0 -3px 0 #5f9f45;
}

.rgc-agendaLegend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--rwa-muted, #7a7468);
}

.rgc-agendaLegend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rgc-agendaDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  display: inline-block;
}

.rgc-agendaDot.is-partial { background: #e0a84a; }
.rgc-agendaDot.is-full { background: #c45a3a; }
.rgc-agendaDot.is-confirmed { background: #5f9f45; }

.rgc-agendaDayDetail {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rwa-line);
}

.rgc-agendaMiniList {
  margin: 8px 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.rgc-agendaMiniList li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 12px;
  line-height: 1.35;
}

.rgc-agendaMiniList span {
  color: var(--rwa-muted);
}

.rgc-redemption.is-focus {
  outline: 2px solid #cda869;
  outline-offset: 2px;
}

.rgc-apptRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rwa-line);
  font-size: 12px;
}

.rgc-apptRow:last-of-type {
  border-bottom: 0;
}

.rgc-apptActions {
  display: grid;
  gap: 6px;
  min-width: 108px;
  justify-items: stretch;
}

.rgc-apptActions .rgc-btn {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 11px;
}

[data-agenda-status]:empty {
  display: none;
}

[data-agenda-status]:not(:empty) {
  margin: 0 0 8px;
  color: var(--rwa-green-deep, #2f6b2f);
  font-weight: 700;
}

.rgc-requestList {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.rgc-requestList li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rwa-line);
  font-size: 12px;
  line-height: 1.35;
}

.rgc-requestList li span {
  display: block;
  margin-top: 2px;
  color: var(--rwa-muted);
  font-size: 11px;
}

.rgc-banner {
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff8f3;
  border: 1px solid rgba(255, 104, 31, 0.22);
  font-size: 15px;
  color: #3d2a1f;
  font-weight: 600;
}

.rgc-banner.is-error {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}

.rgc-bannerStack {
  display: grid;
  gap: 10px;
}

.rgc-bannerLead {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: #1a1412;
}

.rgc-bannerSupport {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #5c4638;
}

.rgc-bannerActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rgc-publishChecklist {
  margin: 0 0 10px;
  padding-left: 1.2rem;
  color: #5c4638;
  font-size: 0.9rem;
  line-height: 1.45;
}

.rgc-publishChecklist li {
  margin: 0.2rem 0;
}

.rgc-goalField {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}
.rgc-goalField legend {
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.rgc-goalOptions {
  display: grid;
  gap: 0.55rem;
}
.rgc-goalOption {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.rgc-goalOption.is-on {
  border-color: rgba(255, 106, 0, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.25);
}
.rgc-goalOption input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rgc-goalOption__label {
  font-weight: 700;
}
.rgc-goalOption__hint {
  font-size: 0.85rem;
  opacity: 0.72;
}
.rgc-checkRow {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.65rem 0 1rem;
  font-size: 0.92rem;
  line-height: 1.35;
}
/* display:flex sobrescreve o [hidden] do UA — força esconder por objetivo */
.rgc-checkRow[hidden] {
  display: none !important;
}
.rgc-checkRow input {
  margin-top: 0.2rem;
}
.rgc-checks--warn li {
  color: #8a3b00;
}
.rgc-publishGuideLink {
  
 margin: 8px 0 10px;
  word-break: break-all;
}

.rgc-publishGuideLink code {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(17, 17, 17, 0.06);
  font-size: 0.9rem;
}

.rgc-publishGuideCard {
  position: relative;
  max-height: min(94vh, 960px);
  overflow: auto;
}

.rgc-publishGuideStep2__mobileTabs {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
}

.rgc-publishGuideStep2__mobileTabs .rgc-btn.is-active {
  background: #ff6a00;
  color: #fff;
  border-color: #ff6a00;
}

.rgc-publishGuideStep2__grid {
  display: grid;
  gap: 14px;
}

.rgc-publishGuideStep2__form .rgc-field > span {
  font-size: 12px;
  font-weight: 800;
  color: #4a403c;
}

.rgc-publishGuideStep2__preview .rgc-previewFrame {
  max-height: min(56vh, 520px);
  width: min(100%, 280px);
  margin-inline: auto;
}

.rgc-publishGuideStep2__preview .rgc-previewIframe {
  pointer-events: none;
}

@media (max-width: 719px) {
  .rgc-publishGuideStep2[data-pg-view="edit"] [data-pg-pane="preview"] {
    display: none;
  }
  .rgc-publishGuideStep2[data-pg-view="preview"] [data-pg-pane="edit"] {
    display: none;
  }
}

@media (min-width: 720px) {
  #publish-guide.rgc-modal:not(.is-success) {
    max-width: min(1080px, calc(100vw - 32px));
    width: min(1080px, calc(100vw - 32px));
  }
  #publish-guide.rgc-modal.is-success {
    max-width: min(480px, calc(100vw - 32px));
    width: min(480px, calc(100vw - 32px));
  }
  .rgc-publishGuideStep2__mobileTabs {
    display: none;
  }
  .rgc-publishGuideStep2__grid {
    grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 0.95fr);
    gap: 22px;
    align-items: start;
  }
  #publish-guide-form.rgc-publishGuideCard:not(.is-success) {
    width: 100%;
    max-width: none;
    padding: 22px 24px 20px;
  }
  .rgc-publishGuideStep2__preview .rgc-previewFrame {
    max-height: min(68vh, 640px);
    width: min(100%, 320px);
  }
}

@media (min-width: 1100px) {
  #publish-guide.rgc-modal:not(.is-success) {
    max-width: min(1180px, calc(100vw - 48px));
    width: min(1180px, calc(100vw - 48px));
  }
  .rgc-publishGuideStep2__grid {
    grid-template-columns: minmax(320px, 1.1fr) minmax(300px, 0.9fr);
    gap: 28px;
  }
  .rgc-publishGuideStep2__preview .rgc-previewFrame {
    max-height: min(72vh, 720px);
    width: min(100%, 340px);
  }
}

.rgc-publishGuideClose {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: #1a1a1a;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.rgc-publishGuideClose:hover {
  background: rgba(17, 17, 17, 0.12);
}

.rgc-publishSuccess {
  text-align: center;
  padding: 4px 2px 8px;
}

.rgc-publishSuccess__logo {
  display: block;
  margin: 0 auto 10px;
  width: 112px;
  height: auto;
}

.rgc-publishSuccess__mark {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: #e8f6ee;
  color: #1f7a4c;
  font-size: 1.1rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.rgc-publishSuccess__title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.rgc-publishSuccess__lead {
  margin: 0 0 10px;
  color: #5c4638;
  font-size: 0.95rem;
}

.rgc-publishSuccess__biz {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 1.05rem;
}

.rgc-publishSuccess__urlField {
  display: block;
  margin: 0 0 12px;
}

.rgc-publishSuccess__urlField input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 10px;
  padding: 12px 12px;
  font-size: 0.92rem;
  background: #fff;
  color: #1a1a1a;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rgc-publishSuccess__qrHint {
  margin: 0 0 12px;
  color: #5c4638;
  font-size: 0.88rem;
}

.rgc-publishSuccess__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.rgc-publishSuccess__actions .rgc-btn {
  width: 100%;
}

.rgc-publishSuccess__company {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  color: #7a6a5c;
  font-size: 0.78rem;
  line-height: 1.4;
}

.rgc-publishSuccess__company p {
  margin: 0 0 2px;
}

.rgc-status.is-soft {
  color: #5c4638;
}

.rgc-visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rgc-publishGuideQr {
  width: min(200px, 70vw);
  margin: 8px auto 10px;
}

.rgc-publishGuideQr svg {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-sizing: border-box;
}

@media (min-width: 720px) {
  .rgc-publishSuccess__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .rgc-publishSuccess__actions #pg-copy-link {
    grid-column: 1 / -1;
  }
  .rgc-publishSuccess__actions #pg-go-panel {
    grid-column: 1 / -1;
  }
}

.rgc-bannerActions .rgc-btn {
  flex: 1 1 140px;
}

.rgc-bannerLink {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.rgc-sectionLead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--rwa-muted);
}

.rgc-card {
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1.5px solid #e4c9b6;
  border-radius: var(--rwa-radius-lg);
  background: #fff;
  box-shadow: 0 10px 28px rgba(92, 42, 16, 0.08);
}

.rgc-card h2 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1412;
}

.rgc-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--rwa-soft);
  color: var(--rwa-muted);
}

.rgc-badge.is-live {
  background: var(--rwa-green-soft);
  color: var(--rwa-green-deep);
}

.rgc-badge.is-review {
  background: #eff4ff;
  color: #3538cd;
}

.rgc-badge.is-warn {
  background: #fff8eb;
  color: #93370d;
}

.rgc-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.rgc-previewLeadRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}

.rgc-previewLead {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  color: #1a1412;
}

.rgc-previewOpen {
  flex: none;
  font-size: 12px;
  font-weight: 800;
  color: var(--one-orange-deep, #e55f00);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff0e6;
  border: 1px solid #ffd1b5;
}

.rgc-previewLabel {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c504a;
  text-align: center;
}

.rgc-previewFrame {
  position: relative;
  aspect-ratio: 430 / 932;
  border-radius: 18px;
  border: 2px solid #2a211c;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 0 0 6px #f4e6db,
    0 18px 40px rgba(33, 25, 21, 0.28);
}

.rgc-previewIframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  pointer-events: none;
}

.rgc-adjustBlock {
  margin-top: 16px;
  padding: 0;
  border-radius: 20px;
  border: 1px solid #ece4de;
  background: #fff;
  box-shadow: 0 10px 28px rgba(33, 25, 21, 0.05);
  overflow: hidden;
}

.rgc-adjustTitle {
  margin: 0 0 6px;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1a1412;
}

.rgc-sectionLabel {
  margin: 18px 0 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e55f00;
}

.rgc-editorHero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 18px;
  margin-bottom: 14px;
}

.rgc-editorEyebrow {
  margin: 0 0 4px;
  color: #e55f00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rgc-editorTitle {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.rgc-editorLead {
  margin: 6px 0 0;
  max-width: 42ch;
  color: var(--rwa-muted);
  font-size: 14px;
  line-height: 1.4;
}

.rgc-editorChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rgc-editorStudio {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.rgc-editorTabs {
  display: flex;
  gap: 4px;
  padding: 10px 10px 0;
  overflow-x: auto;
  border-bottom: 1px solid #f0e6df;
  background: #fffaf7;
  scrollbar-width: none;
}

.rgc-editorTabs::-webkit-scrollbar {
  display: none;
}

.rgc-editorTab {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b5b53;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.rgc-editorTab:hover {
  background: rgba(255, 104, 31, 0.1);
  color: #e55f00;
}

.rgc-editorTab.is-active {
  background: #ff6a00;
  color: #fff;
}

.rgc-editorPane {
  display: none;
  padding: 18px 18px 10px;
}

.rgc-editorPane.is-active {
  display: block;
}

.rgc-editorGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  margin-top: 12px;
}

.rgc-editorGrid .rgc-field {
  margin: 0;
}

.rgc-editorGrid .rgc-field--full {
  grid-column: 1 / -1;
}

.rgc-editorDock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: auto;
  padding: 14px 18px 16px;
  border-top: 1px solid #f0e6df;
  background: #fff;
  position: sticky;
  bottom: 0;
}

.rgc-editorDock .rgc-muted {
  flex: 1 1 100%;
  margin: 0;
  min-height: 1.2em;
}

.rgc-editorDock .rgc-btn {
  min-height: 44px;
  padding-inline: 18px;
}

@media (max-width: 640px) {
  .rgc-editorGrid {
    grid-template-columns: 1fr;
  }
}

.rgc-gallerySearch {
  width: 100%;
  margin-top: 10px;
  min-height: 46px;
  border-radius: 12px;
  border: 1.5px solid #c9a890;
  background: #fff;
  font-weight: 600;
  color: #1a1412;
}

.rgc-gallerySearch::placeholder {
  color: #8a7368;
  font-weight: 500;
}

.rgc-gallerySearch:focus {
  outline: 2px solid #ff6a00;
  outline-offset: 1px;
  border-color: #ff6a00;
}

.rgc-templateGallery,
.rgc-coverGallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  margin: 10px 0 8px;
  padding: 2px 5px 2px 2px;
}

/* Depois da regra base (2 col) — senão o mobile sobrescreve o desktop. */
@media (min-width: 960px) {
  .rgc-templateGallery,
  .rgc-coverGallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 420px;
  }
}

@media (min-width: 1280px) {
  .rgc-templateGallery,
  .rgc-coverGallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.rgc-templateChoice,
.rgc-coverChoice {
  min-width: 0;
  border: 1.5px solid #d7b79f;
  border-radius: 14px;
  background: #fff;
  color: var(--rwa-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(92, 42, 16, 0.06);
}

.rgc-templateChoice { padding: 0; }

.rgc-templateArt {
  position: relative;
  display: block;
  height: 190px;
  overflow: hidden;
  background: #1b2425;
}

.rgc-templateArt img { width: 100%; height: 100%; object-fit: cover; }
.rgc-templateArt__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 26%, #000a 100%); }
.rgc-templateArt__title {
  position: absolute;
  bottom: 12px;
  left: 10px;
  right: 10px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.04;
  text-shadow: 0 2px 7px #0009;
}
.rgc-templateArt--editorial .rgc-templateArt__title { text-align: center; font-style: italic; font-weight: 500; }
.rgc-templateArt--bold .rgc-templateArt__title { font-family: Manrope, sans-serif; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: -.04em; }
.rgc-templateMeta { display: grid; gap: 3px; padding: 10px 11px 12px; }
.rgc-templateMeta strong { font-size: 13px; font-weight: 800; color: #1a1412; }
.rgc-templateMeta small { color: #5c504a; font-size: 11px; font-weight: 600; }

.rgc-coverChoice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  font-size: 11px;
}
.rgc-coverChoice img {
  width: 50px;
  height: 62px;
  flex: 0 0 50px;
  object-fit: cover;
  border-radius: 7px;
  background: #eee;
}
.rgc-coverChoice span { display: grid; gap: 3px; }
.rgc-coverChoice small { color: var(--rwa-muted); font-size: 9px; }

.rgc-templateChoice[aria-pressed="true"],
.rgc-coverChoice[aria-pressed="true"] {
  border-color: #b88d52;
  box-shadow: 0 0 0 2px #b88d5240;
}

.rgc-templateChoice:hover,
.rgc-templateChoice:focus-visible,
.rgc-coverChoice:hover,
.rgc-coverChoice:focus-visible {
  border-color: #b88d52;
  outline: 2px solid #b88d5240;
}

.rgc-templateChoice:disabled,
.rgc-coverChoice:disabled { opacity: .5; cursor: default; }

.rgc-mediaRow {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

@media (min-width: 640px) {
  .rgc-mediaRow {
    grid-template-columns: 1fr 1fr;
  }
}

.rgc-field--media input[type="file"] {
  min-height: auto;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 12px;
}

.rgc-mediaPreview {
  display: grid;
  place-items: center;
  height: 88px;
  border-radius: 12px;
  border: 1px dashed var(--rwa-line);
  background: #fff;
  overflow: hidden;
  color: var(--rwa-muted);
  font-size: 12px;
}

.rgc-mediaPreview--cover {
  height: 120px;
}

.rgc-mediaPreview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rgc-mediaPreview--cover img {
  object-fit: cover;
}

.rgc-redemption--action {
  border-color: #fedf89;
  box-shadow: 0 0 0 1px rgba(245, 165, 36, 0.25);
}

.rgc-redemption--done {
  opacity: 0.72;
}

.rgc-actions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.rgc-field {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

/* display:grid sobrescreve o [hidden] do UA */
.rgc-field[hidden],
.rgc-field.is-hidden {
  display: none !important;
}

.rgc-field label {
  font-size: 12px;
  font-weight: 800;
  color: #4a403c;
}

.rgc-field textarea,
.rgc-field select,
.rgc-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--rwa-radius);
  border: 1.5px solid #d2b39b;
  background: #fff;
  color: #1a1412;
  font-weight: 600;
}

.rgc-field textarea:focus,
.rgc-field select:focus,
.rgc-field input:focus {
  outline: 2px solid #ff6a00;
  outline-offset: 1px;
  border-color: #ff6a00;
}

.rgc-field textarea {
  min-height: 88px;
  resize: vertical;
}

.rgc-fieldHint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  opacity: 0.72;
}

.rgc-fieldCaption {
  font-size: 12px;
  font-weight: 700;
  color: var(--rwa-muted);
}

.rgc-checkRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.rgc-checkRow input {
  width: 18px;
  height: 18px;
}

.rgc-fieldRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rgc-dayChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rgc-chip {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--rwa-line);
  background: #fff;
  color: var(--rwa-ink, #1a1a1a);
  font: 700 12px/1 inherit;
  cursor: pointer;
}

.rgc-chip.is-on {
  border-color: #1f7a45;
  background: #e8f7ee;
  color: #14532d;
}

.rgc-chip--ghost {
  min-height: 28px;
  padding: 4px 10px;
  font-size: 11px;
}

.rgc-closedAdd {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.rgc-closedList {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.rgc-closedList li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--rwa-line);
  border-radius: var(--rwa-radius);
  background: #fff;
  font-size: 13px;
}

@media (max-width: 520px) {
  .rgc-fieldRow {
    grid-template-columns: 1fr;
  }
}

.rgc-shopEditor {
  display: grid;
  gap: 8px;
  margin: 8px 0 10px;
}

.rgc-shopRow {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 72px 88px 40px;
  gap: 6px;
  align-items: center;
}

.rgc-shopRow input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--rwa-line);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
}

.rgc-shopRow [data-shop-remove] {
  min-height: 40px;
  min-width: 40px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 520px) {
  .rgc-shopRow {
    grid-template-columns: minmax(0, 1fr) 64px 76px 36px;
  }
}

.rgc-prizeGrid {
  display: grid;
  gap: 8px;
}

.rgc-prizeSlot {
  display: grid;
  gap: 4px;
}

.rgc-prizeSlot > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rwa-muted);
}

.rgc-prizeSlot input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--rwa-radius);
  border: 1px solid var(--rwa-line);
  background: #fff;
}

.rgc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.rgc-muted {
  font-size: 14px;
  line-height: 1.45;
  color: #5c504a;
  margin: 0;
  font-weight: 600;
}

/* Studio do cartão — contraste e hierarquia no canvas de criação */
#pane-cards .rgc-cardEditor {
  gap: 24px;
}

#pane-cards .rgc-previewHost {
  padding: 14px;
  border-radius: 20px;
  background: #f6f3f0;
  border: 1px solid #e6ddd6;
  box-shadow: none;
}

#pane-cards .rgc-previewLead,
#pane-cards .rgc-previewLabel {
  color: #3d2a1f;
}

#pane-cards .rgc-previewOpen {
  background: #ff6a00;
  border-color: #ff6a00;
  color: #fff;
}

#pane-cards .rgc-previewFrame {
  border: 1px solid #d9cfc7;
  background: #fff;
  box-shadow: 0 10px 28px rgba(61, 42, 31, 0.08);
}

#pane-cards .rgc-cardMain > .rgc-muted {
  font-size: 14px;
  font-weight: 600;
  color: #4a403c;
}

#pane-cards .rgc-shareBlock {
  background: transparent;
  border: 0;
}

#pane-cards .rgc-shareUrl {
  min-height: 44px;
  border: 1.5px solid #d2b39b;
  font-weight: 700;
  color: #1a1412;
}

.rgc-conditionPreview {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--rwa-soft);
  border: 1px dashed var(--rwa-line);
}

.rgc-conditionPreview .rgc-fakeModal {
  margin-top: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #111;
  color: #f7f1e6;
  font-size: 12px;
}

.rgc-redemptionsDesk {
  display: grid;
  gap: 12px;
}

.rgc-gcalAside {
  padding: 4px 2px 8px;
}

.rgc-gcalAside--top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 18px;
  padding: 0 2px 2px;
}

.rgc-gcalAside--top .rgc-gcalMini {
  flex: 0 1 260px;
}

.rgc-gcalAside--top .rgc-gcalLegendNote {
  margin: 0 0 8px;
  max-width: 220px;
}

.rgc-gcalLegendNote {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #70757a;
}

.rgc-btn--calPrimary {
  background: #1a73e8;
  color: #fff;
  border: 0;
}

.rgc-btn--calPrimary:hover {
  background: #1765cc;
}

.rgc-btn--ghost {
  background: transparent;
  color: #5f6368;
  border: 1px solid #dadce0;
}

.rgc-btn--ghost:hover {
  background: #f1f3f4;
}

.rgc-rdmItem {
  padding: 10px 12px;
  margin: 0 0 8px;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  background: #fff;
}

.rgc-rdmItem.is-pending {
  border-color: #aecbfa;
  background: #f8fbff;
}

.rgc-rdmItem.is-confirmed {
  border-color: #a8dab5;
  background: #f7fbf8;
}

.rgc-rdmItem.is-pix {
  border-color: #fde293;
  background: #fffdf6;
}

.rgc-rdmItem--done {
  opacity: 0.72;
  background: #fafafa;
}

.rgc-rdmNote {
  margin: 4px 0 0;
  font-size: 11px;
  color: #b06000;
}

.rgc-rdmTime {
  width: 100%;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #dadce0;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
}

.rgc-redemptionsToolbar {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8eaed;
}

.rgc-rdmToolbarInner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.rgc-rdmQueueTitle {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #202124;
}

.rgc-rdmSection {
  margin-bottom: 14px;
}

.rgc-rdmSection.is-muted {
  opacity: 0.85;
}

.rgc-rdmSectionTitle {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #70757a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rgc-rdmSectionTitle span {
  font-variant-numeric: tabular-nums;
  color: #9aa0a6;
}

.rgc-rdmStack {
  display: grid;
  gap: 0;
}

.rgc-rdmHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.rgc-rdmHead strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.rgc-rdmMeta {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--rwa-muted);
  line-height: 1.35;
}

.rgc-rdmBody {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.rgc-rdmActions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.rgc-rdmActions .rgc-btn {
  width: auto;
  flex: 0 0 auto;
}

.rgc-rdmMsg:empty {
  display: none;
}

.rgc-rdmMsg:not(:empty) {
  margin-top: 8px;
}

.rgc-redemption--pix {
  border-color: #c9ddd0;
  box-shadow: 0 0 0 1px rgba(47, 107, 47, 0.12);
}

.rgc-redemption {
  display: grid;
  gap: 8px;
}

.rgc-code {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rgc-journey {
  margin: 8px 0 0;
  padding: 10px;
  border-radius: 10px;
  background: var(--rwa-green-soft);
  font-size: 12px;
  color: var(--rwa-green-deep);
  font-weight: 600;
}
/* Prévia do cartão em escala legível no painel móvel. */
.rgc-previews {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 4px 2px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.rgc-previews > div {
  flex: 0 0 264px;
  width: 264px;
  scroll-snap-align: start;
}
.rgc-previewFrame {
  position: relative;
  width: 264px;
  height: 560px;
  overflow: hidden;
  border-radius: 18px;
  background: #f6f3f0;
}
.rgc-previewIframe {
  display: block;
  width: 430px;
  height: 932px;
  border: 0;
  transform: scale(.6);
  transform-origin: top left;
  pointer-events: none;
}

/* Consulta de cupom por código (#29) */
.rgc-couponLookup {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--rwa-ink, #1a1a1a) 12%, transparent);
  background: color-mix(in srgb, var(--rwa-paper, #fff) 92%, #f3f0eb);
}
.rgc-couponLookupLabel {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.rgc-couponLookupRow {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.rgc-couponLookupRow .rgc-input {
  flex: 1;
  min-width: 0;
}
.rgc-couponLookupResult {
  margin-top: 10px;
}
.rgc-couponLookupCard {
  padding: 10px;
  border-radius: 10px;
  background: var(--rwa-paper, #fff);
  border: 1px solid color-mix(in srgb, var(--rwa-ink, #1a1a1a) 10%, transparent);
}
