/* One visual language for the account, store, conversation and operations. */
:root {
  --fo-refined-ink: #173d32;
  --fo-refined-muted: #52685e;
  --fo-refined-line: #dce7e0;
  --fo-refined-paper: #f7faf8;
}
.surface-platform { background: var(--fo-refined-paper); }
.surface-platform .top { background: #fff; padding-block: 12px; }
.surface-platform .brand { letter-spacing: -.045em; }
.surface-platform .wrap { max-width: 1160px; padding-block: 36px 48px; }
.surface-platform .card { border-color: var(--fo-refined-line); box-shadow: 0 6px 24px #173d3206; }
.surface-platform h1 { color: var(--fo-refined-ink); letter-spacing: -.045em; }
.surface-platform .lead { color: var(--fo-refined-muted); }
.platform-nav a[aria-current=page] { background: #e7f2ec; color: #16533c; }
.platform-nav .mobile-navigation-link { display: none; }
.surface-platform .btn { padding-inline: 18px; }
.surface-platform .btn-row, .account-hero>p:last-child { gap: 10px; }
.surface-platform button:disabled { cursor: not-allowed; }
.surface-platform input:focus, .surface-platform select:focus, .surface-platform textarea:focus {
  border-color: #377b5d; box-shadow: 0 0 0 3px #377b5d12;
}
.account-onboarding, .wallet-page { max-width: 960px; margin: auto; }
.account-hero, .wallet-hero { background: linear-gradient(120deg, #fff 35%, #edf5ef); }
.account-hero h1, .wallet-hero h1 { max-width: 700px; margin-block: 12px 18px; }
.account-hero>p:last-child { display: flex; flex-wrap: wrap; align-items: center; }
.account-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.account-steps>span { display: flex; gap: 10px; align-items: center; padding: 16px; border: 1px solid var(--fo-refined-line); background: #fff; border-radius: 14px; font-size: 13px; }
.account-steps b { font-size: 11px; letter-spacing: .06em; border-radius: 8px; padding: 7px; background: #f0f3f1; color: #52685e; }
.account-steps .complete { border-color: #aac8b7; color: #235a3e; }
.account-steps .complete b { background: #dceee2; color: #235a3e; }
.step-number { display: block; color: #557565; font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.account-onboarding form { max-width: 680px; }
.account-onboarding form .btn { margin-top: 14px; }
.account-onboarding input[type=file] { padding: 16px; border: 1px dashed #a9bfb1; background: #f8fbf9; }
.account-onboarding input::file-selector-button { padding: 8px 12px; border: 0; border-radius: 8px; background: #e5eee8; color: #284b37; margin-right: 12px; font: inherit; }
.account-onboarding textarea { min-height: 110px; resize: vertical; }
.account-onboarding #identity-email-form { padding: 18px; background: #f5f9f6; margin-top: 18px; border-radius: 12px; }
.wallet-balances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 28px; }
.wallet-balances>div { padding: 22px; border: 1px solid #d7e4dc; border-radius: 16px; background: #ffffffb3; }
.wallet-balances h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; margin-bottom: 8px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.wallet-balances p { margin: 0; font-size: 13px; color: #567061; }
.section-heading { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.section-heading h2 { margin: 0; }
.environment-badge { display: inline-flex; padding: 6px 11px; border-radius: 99px; font-size: 11px; font-weight: 650; background: #f0f3f1; color: #4b6154; }
.environment-badge.live { background: #e3f0e8; color: #245a3c; }
.payment-pending { margin-top: 22px; padding: 20px; background: #fffbf2; border: 1px solid #ebddbc; border-radius: 14px; color: #5f4c28; }
.payment-pending p { font-size: 13px; line-height: 1.65; }
.pending-order { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #eadfca; }
.pending-order small { display: block; font-size: 12px; }
.pending-order strong { white-space: nowrap; }
.wallet-page .card form+form { border-top: 1px solid var(--fo-refined-line); margin-top: 22px; padding-top: 22px; }
.store-product { transition: border-color .15s, box-shadow .15s; }
.store-product:hover { border-color: #aec8b9; box-shadow: 0 10px 35px #173d3209; }
.store-art.midnight { background: #192923; color: #f0f8ef; }
.art-equalizer { display: flex; justify-content: center; align-items: center; gap: 9px; height: 130px; }
.art-equalizer i { display: block; width: 9px; height: 42px; border-radius: 10px; background: #9ad6ad; }
.art-equalizer i:nth-child(3n) { height: 86px; background: #d6e5aa; }
.art-equalizer i:nth-child(3n+1) { height: 64px; }
.art-equalizer i:nth-child(5) { height: 106px; background: #b7e6c4; }
.pops-app .pops-sidebar { background: #f1f5f2; border-color: #dde7df; }
.pops-app .pops-topbar { background: #fff; border-color: #e0e9e2; }
.pops-app .suggestion { border-color: #d8e4dc; border-radius: 14px; background: #fff; }
.pops-app .suggestion:hover { border-color: #a4c3b0; background: #f2f8f4; }
.pops-app .pops-composer { border-color: #cddfd3; box-shadow: 0 8px 28px #173d3208; }
.surface-desk .mission-desk { border-color: #d4e0d8; }
@media (max-width: 760px) {
  .surface-platform .wrap { padding: 24px 16px 36px; }
  .surface-platform .top { flex-wrap: wrap; gap: 8px; padding-inline: 16px; }
  .surface-platform .platform-nav { flex-wrap: wrap; justify-content: flex-end; }
  .surface-platform .platform-nav>a:first-child,
  .surface-platform .platform-nav>a[href="/fado-reservas/"] { display: none; }
  .surface-platform .platform-nav { gap: 3px; }
  .surface-platform .platform-nav .nav-more summary { padding-inline: 8px; font-size: 14px; }
  .surface-platform .platform-nav .nav-operations summary { font-size: 12px; }
  .platform-nav .mobile-navigation-link { display: flex; }
  .account-steps { grid-template-columns: 1fr; gap: 8px; }
  .account-steps>span { padding: 12px 16px; }
  .wallet-balances { grid-template-columns: 1fr; gap: 12px; }
  .account-hero h1, .wallet-hero h1 { font-size: 34px; }
  .account-hero>p:last-child .btn { flex: 1 1 180px; }
  .account-onboarding button, .wallet-page button { max-width: 100%; white-space: normal; }
  .section-heading { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .store-product { transition: none; } }
