:root {
  /* Portal Presentation Variables (Bundle Executive Suite Format) */
  --portal-page: #F3F4F6;
  --portal-card: #FFFFFF;
  --portal-text: #111827;
  --portal-sub: #64748B;
  --portal-border: #E5E7EB;
  --portal-shadow: 0 4px 22px rgba(10, 14, 22, 0.045);

  /* Revolut v10 Light Mode Design System Tokens */
  --pc-navy: #191C1F;
  --pc-royal: #0666EB;
  --pc-blue: #0666EB;
  --pc-cyan: #0666EB;
  --pc-teal: #099A5B;
  --pc-gold: #D97706;
  --pc-gold-soft: #FFF4E5;
  --pc-green: #099A5B;
  --pc-green-soft: #E7F7EF;
  --pc-red: #E5252A;
  --pc-red-soft: #FEECEC;
  --pc-purple: #0666EB;
  --pc-bg: #F7F7F8;
  --pc-surface: #FFFFFF;
  --pc-pill-bg: #EDEFF2;
  --pc-pill-hover: #E2E5EA;
  --pc-text: #191C1F;
  --pc-text-secondary: #717780;
  --pc-text-muted: #8D949E;
  --pc-border: rgba(25, 28, 31, 0.06);
  --pc-shadow-sm: 0 1px 3px rgba(25, 28, 31, 0.035);
  --pc-shadow-md: 0 8px 24px rgba(25, 28, 31, 0.07);
}

body.portal-dark {
  --portal-page: #0D1117;
  --portal-card: #161B22;
  --portal-text: #F1F5F9;
  --portal-sub: #94A3B8;
  --portal-border: #262E39;
  --portal-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  min-height: 100%;
  font-family: "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--portal-page);
  color: var(--portal-text);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.22s ease, color 0.22s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

svg.pc-svg-ic {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.hidden {
  display: none !important;
}

/* ==================== EXECUTIVE PRESENTATION PORTAL SHELL ==================== */
#pcPortal {
  display: flex;
  gap: 14px;
  padding: 10px 14px 36px;
  width: 100%;
  min-height: 100vh;
  align-items: flex-start;
}

#pcSidebar {
  width: clamp(232px, 17vw, 264px);
  flex: none;
  background: #05070B;
  color: #fff;
  border-radius: 20px;
  padding: 24px 18px 20px;
  position: sticky;
  top: 10px;
  height: calc(100vh - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  scrollbar-width: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  z-index: 120;
}

#pcSidebar::-webkit-scrollbar {
  display: none;
}

.pc-sb-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 6px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.paycell-p-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #635bff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(99, 91, 255, 0.35);
}

.paycell-p-mark span {
  color: #fde047;
}

.pc-sb-title {
  font-family: "Barlow", "Inter", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.pc-sb-title span {
  font-size: 10px;
  font-weight: 800;
  background: #10b981;
  color: #032216;
  padding: 2px 7px;
  border-radius: 99px;
  vertical-align: middle;
  margin-left: 3px;
}

.pc-sb-sub {
  font-size: 11px;
  color: #8b95a5;
  margin-top: 2px;
}

.pc-sb-sec {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #525B67;
  padding: 16px 12px 6px;
}

.pc-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 11.5px 13px;
  border-radius: 11px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #8E97A4;
  transition: all 0.16s ease;
  margin-bottom: 3px;
  text-align: left;
}

.pc-nav-item:hover {
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.06);
}

.pc-nav-item.on {
  background: #1E242E;
  color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.pc-nav-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.pc-nav-badge.emerald { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.pc-nav-badge.sky { background: rgba(56, 189, 248, 0.18); color: #38bdf8; }
.pc-nav-badge.violet { background: rgba(139, 92, 246, 0.22); color: #c4b5fd; }
.pc-nav-badge.dark { background: rgba(255, 255, 255, 0.08); color: #cbd5e1; }

.pc-sb-tracker {
  background: #11161F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 13px;
  margin-top: 14px;
}

.pc-sb-util-btn {
  flex: 1;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: background 0.15s;
}

.pc-sb-util-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.pc-sb-util-btn.danger:hover {
  background: rgba(225, 29, 72, 0.28);
  color: #fda4af;
}

/* Right Content Column & Sticky Header */
#pcContentCol {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(10px, 2.2vw, 32px);
}

#pcHeader {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  min-height: 66px;
  background: var(--portal-card);
  border: 1px solid var(--portal-border);
  border-radius: 20px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--portal-shadow);
  position: sticky;
  top: 10px;
  z-index: 110;
}

.pc-hdr-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--portal-page);
  border-radius: 99px;
  height: 36px;
  padding: 0 13px;
  flex: 1 1 215px;
  max-width: 265px;
  min-width: 185px;
  border: 1px solid transparent;
  transition: all 0.18s;
}

.pc-hdr-search:focus-within {
  border-color: #635bff;
  background: var(--portal-card);
}

.pc-hdr-search input {
  border: 0;
  outline: 0;
  background: none;
  font-size: 12.5px;
  width: 100%;
  color: var(--portal-text);
  font-weight: 500;
}

.pc-hdr-ticker {
  display: flex;
  align-items: center;
  gap: 11px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 11.5px;
}

.pc-hdr-ticker::-webkit-scrollbar { display: none; }

.pc-tick-item {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.pc-tick-lbl {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--portal-sub);
}

.pc-tick-up {
  color: #10b981;
  font-weight: 800;
  font-size: 10.5px;
  background: rgba(16, 185, 129, 0.12);
  padding: 1.5px 6px;
  border-radius: 99px;
}

.pc-hdr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pc-theme-switch-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  border-radius: 99px;
  background: var(--portal-page);
  border: 1px solid var(--portal-border);
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  transition: all 0.15s;
}

.pc-theme-switch-pill:hover {
  border-color: #635bff;
}

.pc-theme-switch-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pc-theme-switch-pill .dot.avant { background: #10b981; box-shadow: 0 0 8px #10b981; }
.pc-theme-switch-pill .dot.corp { background: #0074e8; box-shadow: 0 0 8px #0074e8; }

.pc-deck-quick-pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 99px;
  background: #0b1120;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

body.portal-dark .pc-deck-quick-pill {
  background: #10b981;
  color: #032216;
}

/* ==================== 3-COLUMN PROTOTYPE WORKSPACE (#stage) ==================== */
#stage {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 24px;
}

#guide, #inspector {
  flex: 1 1 0;
  min-width: 266px;
  max-width: 356px;
  background: var(--portal-card);
  color: var(--portal-text);
  border: 1px solid var(--portal-border);
  border-radius: 20px;
  padding: 20px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  position: sticky;
  top: 86px;
  scrollbar-width: thin;
  box-shadow: var(--portal-shadow);
}

.guide-top-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#guide h1, #guideModal h1 {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

#guide h4, #guideModal h4 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--portal-sub);
  margin: 15px 0 7px;
  font-weight: 800;
}

.guide-close-mob {
  display: none;
}

#guideModal .guide-close-mob {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--portal-page);
  align-items: center;
  justify-content: center;
}

.gl {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 13px;
  border: 1.5px solid transparent;
  font-size: 12px;
  font-weight: 700;
  color: var(--portal-text);
  transition: all 0.15s;
  margin-bottom: 3px;
  text-align: left;
}

.gl:hover {
  background: var(--portal-page);
}

.gl.on {
  background: #0B1120;
  color: #FFFFFF;
  border-color: #0B1120;
  box-shadow: 0 6px 16px rgba(11, 17, 32, 0.14);
}

body.portal-dark .gl.on {
  background: #10b981;
  color: #042317;
  border-color: #10b981;
}

.gl .n {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--portal-page);
  color: var(--portal-text);
  font-size: 10.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gl.on .n {
  background: #10b981;
  color: #032216;
}

body.portal-dark .gl.on .n {
  background: #042317;
  color: #34d399;
}

.gl small {
  display: block;
  font-size: 10.5px;
  color: var(--portal-sub);
  font-weight: 500;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gl.on small { color: #94a3b8; }
body.portal-dark .gl.on small { color: #064e3b; }

.gl-tag {
  font-size: 9px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 99px;
  background: rgba(99, 91, 255, 0.12);
  color: #635bff;
  flex-shrink: 0;
}

.gl.on .gl-tag {
  background: rgba(255, 255, 255, 0.14);
  color: #6ee7b7;
}

/* Right Column: C-Level & CMO Live Inspector */
.ins-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
  letter-spacing: 0.05em;
}

.ins-pill.emerald {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
}

.ins-title {
  font-family: "Barlow", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 10px;
  line-height: 1.2;
}

.ins-sub {
  font-size: 12px;
  color: var(--portal-sub);
  margin-top: 3px;
}

.ins-theme-box {
  margin-top: 14px;
  padding: 11px;
  border-radius: 14px;
  background: var(--portal-page);
  border: 1px solid var(--portal-border);
}

.ins-theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ins-theme-btn {
  padding: 8px 9px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background: var(--portal-card);
  text-align: left;
  transition: all 0.15s;
}

.ins-theme-btn strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
}

.ins-theme-btn small {
  display: block;
  font-size: 10px;
  color: var(--portal-sub);
  margin-top: 1px;
}

.ins-theme-btn.on {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}

.ins-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 13px;
}

.ins-lens-card {
  padding: 11px 12px;
  border-radius: 14px;
  background: var(--portal-page);
  border: 1px solid var(--portal-border);
}

.ins-lens-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}

.ins-lens-head.emerald { color: #059669; }
.ins-lens-head.violet { color: #635bff; }
.ins-lens-head.sky { color: #0284c7; }
.ins-lens-head.amber { color: #d97706; }

.ins-lens-card p {
  font-size: 12px;
  line-height: 1.48;
  color: var(--portal-text);
}

.ins-tour-box {
  margin-top: 13px;
  padding: 12px;
  border-radius: 14px;
  background: var(--portal-page);
  border: 1px solid var(--portal-border);
}

.ins-step-dots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  margin-top: 9px;
}

.ins-step-dot {
  height: 24px;
  border-radius: 7px;
  background: var(--portal-card);
  border: 1px solid var(--portal-border);
  font-size: 10.5px;
  font-weight: 800;
  text-align: center;
}

.ins-step-dot.on {
  background: #10b981;
  color: #032216;
  border-color: #10b981;
}

/* ==================== FULL-WIDTH EXECUTIVE DECKS (#docStage) ==================== */
#docStage {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 48px;
}

.doc-QuickTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.doc-qtab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 99px;
  background: var(--portal-card);
  border: 1px solid var(--portal-border);
  font-size: 12px;
  font-weight: 800;
  color: var(--portal-sub);
  transition: all 0.16s;
}

.doc-qtab:hover {
  color: var(--portal-text);
  border-color: #94a3b8;
}

.doc-qtab.on {
  background: #0B1120;
  color: #fff;
  border-color: #0B1120;
}

body.portal-dark .doc-qtab.on {
  background: #10b981;
  color: #032216;
  border-color: #10b981;
}

.doc-qtab.live {
  margin-left: auto;
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.35);
}

.doc-hero {
  background: linear-gradient(135deg, #070B14 0%, #11192E 58%, #1A163A 100%);
  color: #fff;
  border-radius: 24px;
  padding: 36px 38px;
  box-shadow: 0 18px 44px rgba(7, 11, 20, 0.22);
  position: relative;
  overflow: hidden;
}

.doc-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #34d399;
  text-transform: uppercase;
}

.doc-h1 {
  font-family: "Barlow", "Inter", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 10px;
  max-width: 880px;
}

.doc-h1 span {
  background: linear-gradient(90deg, #34d399, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.doc-lead {
  font-size: 14.5px;
  line-height: 1.62;
  color: #cbd5e1;
  margin-top: 14px;
  max-width: 860px;
}

.doc-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.doc-btn {
  padding: 12px 20px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.15s;
}

.doc-btn:hover { transform: translateY(-1px); }
.doc-btn.primary { background: #10b981; color: #032216; }
.doc-btn.secondary { background: #635bff; color: #fff; }
.doc-btn.outline { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }

.doc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.doc-kpi-card {
  background: var(--portal-card);
  border: 1px solid var(--portal-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--portal-shadow);
}

.doc-kpi-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 3px 8px;
  border-radius: 99px;
}

.doc-kpi-tag.emerald { background: rgba(16, 185, 129, 0.14); color: #059669; }
.doc-kpi-tag.violet { background: rgba(99, 91, 255, 0.14); color: #635bff; }
.doc-kpi-tag.sky { background: rgba(14, 165, 233, 0.14); color: #0284c7; }
.doc-kpi-tag.amber { background: rgba(245, 158, 11, 0.15); color: #d97706; }

.doc-kpi-val {
  font-family: "Barlow", "Inter", sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-top: 12px;
  letter-spacing: -0.02em;
}

.doc-kpi-lbl {
  font-size: 13px;
  font-weight: 800;
  margin-top: 2px;
}

.doc-kpi-card p {
  font-size: 12px;
  color: var(--portal-sub);
  line-height: 1.48;
  margin-top: 8px;
}

.doc-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.doc-section-card {
  background: var(--portal-card);
  border: 1px solid var(--portal-border);
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow: var(--portal-shadow);
}

.doc-sec-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.doc-sec-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #059669;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.doc-sec-tag.violet { color: #635bff; }
.doc-sec-tag.sky { color: #0284c7; }
.doc-sec-tag.amber { color: #d97706; }

.doc-section-card h3 {
  font-family: "Barlow", "Inter", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.doc-section-card > p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--portal-sub);
  margin-bottom: 12px;
}

.doc-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-bullet-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--portal-text);
}

.doc-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.doc-3col-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.doc-mini-feature {
  background: var(--portal-page);
  border: 1px solid var(--portal-border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.doc-mini-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #635bff;
}

.doc-mini-feature h4 {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.3;
}

.doc-mini-feature p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--portal-sub);
  flex: 1;
}

.doc-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  color: #059669;
  margin-top: 6px;
  white-space: nowrap;
}

.doc-inline-link:hover {
  text-decoration: underline;
}

.doc-count-pill {
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 12.5px;
}

.doc-table th {
  text-align: left;
  padding: 11px 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--portal-sub);
  border-bottom: 2px solid var(--portal-border);
}

.doc-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--portal-border);
  line-height: 1.48;
  vertical-align: top;
}

.em-txt {
  color: #059669;
}

/* ROI Interactive Calculator */
.roi-total-badge {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  padding: 12px 18px;
  border-radius: 16px;
  text-align: right;
}

.roi-total-badge small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  opacity: 0.9;
}

.roi-total-badge strong {
  font-family: "Barlow", "Inter", sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.roi-sliders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.roi-slider-box {
  background: var(--portal-page);
  border: 1px solid var(--portal-border);
  border-radius: 16px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roi-lbl-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.roi-range {
  width: 100%;
  accent-color: #10b981;
  cursor: pointer;
}

.roi-slider-box small {
  font-size: 11.5px;
  color: var(--portal-sub);
}

.roi-slider-box small b {
  color: #059669;
}

/* ==================== PHONE FRAME & AUTONOMOUS TOUR HUD ==================== */
#phoneWrap {
  flex: none;
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 404px;
  height: min(868px, calc(100vh - 96px));
  min-height: 760px;
  background: var(--pc-bg);
  color: var(--pc-text);
  border-radius: 48px;
  box-shadow:
    0 0 0 10px #121723,
    0 0 0 12px #2a3347,
    0 30px 75px rgba(10, 15, 29, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.agent-cursor {
  position: absolute;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  margin-top: -17px;
  z-index: 88;
  pointer-events: none;
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1), top 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.agent-cursor-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid #10b981;
  background: rgba(16, 185, 129, 0.18);
  animation: spotCursor 1.4s ease-out infinite;
}

.agent-cursor-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px #10b981;
}

@keyframes spotCursor {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.agent-tour-hud {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 90px;
  z-index: 89;
  background: rgba(9, 13, 24, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  border: 1px solid rgba(16, 185, 129, 0.42);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.tour-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tour-step-pill {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #34d399;
}

.tour-hud-ctrls {
  display: flex;
  gap: 5px;
}

.tour-hud-ctrls button {
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.tour-hud-ctrls button:hover {
  background: #10b981;
  color: #032216;
}

.tour-hud-ctrls button.voice-active {
  background: rgba(16, 185, 129, 0.28);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.45);
}

.pc-voice-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 33px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.pc-voice-pill:hover {
  background: #d1fae5;
}

.pc-voice-pill.muted {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

.pc-voice-pill.speaking {
  background: #0666EB;
  border-color: #0666EB;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(6, 102, 235, 0.28);
}

.doc-voice-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #191C1F;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}

.doc-voice-btn:hover {
  background: #0666EB;
  transform: translateY(-1px);
}

.doc-voice-btn.speaking {
  background: #099A5B;
}

.tour-hud-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
}

.tour-hud-desc {
  font-size: 11px;
  line-height: 1.42;
  color: #cbd5e1;
  margin-top: 3px;
}

/* ==================== REVOLUT v10 LIGHT MODE DESIGN SYSTEM (1:1) ==================== */

.phone-frame {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F7F7F8;
  color: #191C1F;
  -webkit-font-smoothing: antialiased;
}

/* Zero-Jank GPU View Fade */
.rev-view-enter {
  animation: revViewFade 0.11s ease-out;
}

@keyframes revViewFade {
  from { opacity: 0.72; }
  to { opacity: 1; }
}

/* Atomic No-Wrap Pill Buttons (Revolut Pill Spec) */
.nowrap-action-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  width: auto;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  background: #EDEFF2;
  color: #191C1F;
  transition: background 0.14s ease, transform 0.12s ease;
}

.nowrap-action-btn:hover {
  background: #E2E5EA;
}

.nowrap-action-btn:active {
  transform: scale(0.97);
}

.nowrap-action-btn:disabled,
.nowrap-action-btn.done {
  background: #EDEFF2;
  color: #8D949E;
  cursor: default;
  transform: none;
}

.nowrap-action-btn.obsidian {
  background: #191C1F;
  color: #FFFFFF;
}

.nowrap-action-btn.obsidian:hover {
  background: #2C3137;
}

.nowrap-action-btn.cobalt,
.nowrap-action-btn.violet {
  background: #EBF3FF;
  color: #0666EB;
}

.nowrap-action-btn.cobalt:hover,
.nowrap-action-btn.violet:hover {
  background: #DCEBFE;
}

.nowrap-action-btn.emerald {
  background: #E7F7EF;
  color: #099A5B;
}

.nowrap-action-btn.coral {
  background: #FEECEC;
  color: #E5252A;
}

/* Status Bar & Fast Viewport (NO smooth-scroll thrashing!) */
.status-bar,
.status-bar.light-mode {
  height: 44px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  z-index: 30;
  flex-shrink: 0;
  background: #F5F7F9;
  color: #191C1F;
  transition: background 0.16s ease;
}

.status-bar.wash-top {
  background: #D4F3EE;
  color: #191C1F;
}

.dynamic-island {
  width: 98px;
  height: 24px;
  background: #191C1F;
  border-radius: 999px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
}

.status-battery {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1.5px solid rgba(25, 28, 31, 0.45);
  font-size: 10px;
  font-weight: 700;
}

.app-viewport {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 102px;
  background: #F5F7F9;
  overscroll-behavior: contain;
}

.app-viewport::-webkit-scrollbar,
.subscreen-body::-webkit-scrollbar,
.bottom-sheet-body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Next-Gen Floating Pill Global Bottom Navigation (Image 2 + Instagram Experience) */
.bottom-tab-bar,
.bottom-tab-bar.floating-pill-nav {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px) saturate(185%);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.13), 0 2px 8px rgba(15, 23, 42, 0.05);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 7px 8px;
  z-index: 44;
}

.nav-pill-slider {
  position: absolute;
  top: 7px;
  left: 8px;
  width: calc((100% - 16px) / 5);
  height: 50px;
  border-radius: 999px;
  background: #E9EEF4;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
  pointer-events: none;
}

.tab-item {
  position: relative;
  z-index: 1;
  height: 50px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3B424C;
  transition: color 0.16s ease, transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-ic-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.tab-item.active {
  color: #111317;
  transform: scale(1.06);
}

.tab-item:active {
  transform: scale(0.91);
}

.tab-status-dot {
  position: absolute;
  top: 9px;
  right: 15px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  pointer-events: none;
}

.tab-status-dot.red {
  background: #EF4444;
}

.tab-status-dot.emerald {
  background: #10B981;
}

/* ==================== MINT-AQUA ATMOSPHERIC HOME & CARDS WASH (PDF BENCHMARK 1:1) ==================== */
.rev-home-shell {
  display: flex;
  flex-direction: column;
  background: #F5F7F9;
}

.rev-home-wash,
.rev-cards-wash {
  background: linear-gradient(180deg, #D4F3EE 0%, #E5F6F3 38%, #F2F6F8 76%, #F5F7F9 100%);
  padding: 4px 16px 18px;
}

.rev-cards-wash {
  padding-bottom: 14px;
}

.rev-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rev-avatar-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #191C1F;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rev-avatar-status {
  position: absolute;
  right: -1px;
  top: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #14B89A;
  border: 2px solid #D4F3EE;
}

.rev-search-pill {
  flex: 1;
  min-width: 0;
  height: 34px;
  border-radius: 999px;
  background: rgba(25, 28, 31, 0.065);
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5C636E;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  transition: background 0.14s;
}

.rev-search-pill:hover {
  background: rgba(25, 28, 31, 0.1);
}

.rev-search-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.rev-top-ic {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(25, 28, 31, 0.065);
  color: #191C1F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.14s;
}

.rev-top-ic:hover {
  background: rgba(25, 28, 31, 0.12);
}

.rev-notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 999px;
  background: #E5252A;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #DFEBFD;
}

/* Centered Revolut Balance Hero */
.rev-hero-center {
  text-align: center;
  padding: 20px 0 2px;
}

.rev-acct-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(25, 28, 31, 0.055);
  margin-bottom: 12px;
}

.rev-acct-tab {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: #5C636E;
  white-space: nowrap;
  transition: all 0.14s;
}

.rev-acct-tab.on {
  background: #FFFFFF;
  color: #191C1F;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(25, 28, 31, 0.08);
}

.rev-balance-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.rev-balance-num {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #191C1F;
  font-variant-numeric: tabular-nums;
}

.rev-balance-num .rev-dec {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.rev-eye-btn {
  color: #717780;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.rev-eye-btn:hover {
  color: #191C1F;
}

.rev-hero-caption {
  font-size: 12px;
  font-weight: 500;
  color: #717780;
  margin-top: 4px;
}

.rev-accounts-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #191C1F;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(25, 28, 31, 0.06);
  transition: transform 0.12s;
}

.rev-accounts-pill:active {
  transform: scale(0.97);
}

.rev-accounts-pill em {
  font-style: normal;
  color: #099A5B;
  font-weight: 600;
}

/* Revolut 4 Enlarged Circular Action Buttons (Image 3: 60px Circle + 27px Icon) */
.rev-actions-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.rev-act-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: #191C1F;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.rev-act-circle {
  width: 60px;
  height: 60px;
  border-radius: 50% !important;
  background: #EDEFF2;
  color: #191C1F;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s ease, transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.14s ease;
}

.rev-home-wash .rev-act-circle {
  background: #FFFFFF;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.rev-act-circle.cobalt {
  background: #0666EB;
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(6, 102, 235, 0.26);
}

.rev-act-btn:hover .rev-act-circle {
  background: #E8ECF2;
  transform: translateY(-2px);
}

.rev-home-wash .rev-act-btn:hover .rev-act-circle {
  background: #FFFFFF;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.11);
}

.rev-act-btn:hover .rev-act-circle.cobalt {
  background: #0557C9;
}

.rev-act-btn:active .rev-act-circle {
  transform: scale(0.93);
}

/* Revolut Body & Page Containers */
.rev-body,
.screen-pad {
  padding: 12px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rev-home-shell .rev-body {
  padding-top: 2px;
}

/* Revolut Page Header (Cards, Transfer, Hub, Lifestyle) */
.rev-page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0 2px;
}

.rev-page-h1,
.wallet-main-h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #191C1F;
  line-height: 1.12;
}

.rev-page-actions,
.wallet-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.rev-circle-ic-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #EDEFF2;
  color: #191C1F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s;
}

.rev-circle-ic-btn:hover {
  background: #E2E5EA;
}

.rev-circle-ic-btn.dark {
  background: #191C1F;
  color: #FFFFFF;
}

.wallet-editorial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0 2px;
}

.wallet-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: #EDEFF2;
  color: #191C1F;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.wallet-action-pill.primary {
  background: #191C1F;
  color: #FFFFFF;
}

/* ==================== REVOLUT BORDERLESS WHITE CARDS & LISTS ==================== */
.surface-card,
.rev-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 15px 16px;
  border: none;
  box-shadow: 0 1px 2px rgba(25, 28, 31, 0.03);
}

.rev-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
  margin-bottom: -6px;
}

.rev-group-title {
  font-size: 14px;
  font-weight: 600;
  color: #717780;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #717780;
  letter-spacing: -0.01em;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
  color: #0666EB;
}

/* Revolut Borderless Transaction Rows & Avatar Corner Sub-Badge */
.tx-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.tx-row-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: none;
  padding-bottom: 0;
}

.tx-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 3px 0;
  border-radius: 12px;
  transition: opacity 0.12s;
}

.tx-row:hover {
  opacity: 0.82;
}

.rev-ic-circle {
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rev-avatar-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rev-sub-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50% !important;
  background: #FFFFFF;
  color: #191C1F;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(25, 28, 31, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tx-info {
  flex: 1;
  min-width: 0;
}

.tx-title {
  font-size: 14.5px;
  font-weight: 500;
  color: #191C1F;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-meta {
  font-size: 12px;
  color: #717780;
  margin-top: 2px;
}

.tx-right {
  text-align: right;
  flex-shrink: 0;
}

.tx-amount {
  font-size: 14.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.tx-amount.pos {
  color: #099A5B;
  font-weight: 600;
}

.tx-amount.neg {
  color: #191C1F;
}

.tx-sub-badge {
  font-size: 10.5px;
  font-weight: 600;
  color: #099A5B;
  margin-top: 1px;
  display: block;
}

.tx-flexed-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: #0666EB;
  margin-top: 1px;
  display: block;
}

.tx-inline-flex-btn {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EBF3FF;
  color: #0666EB;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.tx-inline-flex-btn:hover {
  background: #DCEBFE;
}

/* Revolut 2-Column Widgets Bento */
.rev-widgets-2col,
.av-bento-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rev-widget-tile,
.av-bento-tile {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 118px;
  box-shadow: 0 1px 2px rgba(25, 28, 31, 0.03);
  transition: transform 0.14s ease;
}

.rev-widget-tile:active,
.av-bento-tile:active {
  transform: scale(0.98);
}

.rev-widget-top,
.av-bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.rev-pill-tag,
.av-bento-tag,
.wow-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.rev-pill-tag.emerald, .av-bento-tag.emerald, .wow-pill-tag.emerald { background: #E7F7EF; color: #099A5B; }
.rev-pill-tag.cobalt, .rev-pill-tag.violet, .av-bento-tag.violet, .wow-pill-tag.violet { background: #EBF3FF; color: #0666EB; }
.rev-pill-tag.coral, .av-bento-tag.coral, .wow-pill-tag.coral { background: #FEECEC; color: #E5252A; }
.rev-pill-tag.amber, .av-bento-tag.amber, .wow-pill-tag.amber { background: #FFF4E5; color: #C66900; }
.rev-pill-tag.neutral { background: #EDEFF2; color: #5C636E; }

.rev-widget-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #717780;
}

.rev-widget-val,
.av-bento-tile strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #191C1F;
  font-variant-numeric: tabular-nums;
}

.rev-widget-sub,
.av-bento-tile small {
  font-size: 11.5px;
  color: #717780;
  margin-top: 1px;
}

/* Revolut Clean AI Command Card */
.rev-ai-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 14px 15px;
  box-shadow: 0 1px 2px rgba(25, 28, 31, 0.03);
}

.rev-ai-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.rev-ai-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #191C1F;
}

.rev-ai-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rev-ai-input-row input {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: none;
  background: #F2F4F7;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13px;
  color: #191C1F;
  outline: none;
}

.rev-ai-input-row input:focus {
  box-shadow: 0 0 0 1.5px #191C1F;
  background: #FFFFFF;
}

.rev-ai-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #191C1F;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rev-ai-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-top: 9px;
  scrollbar-width: none;
}

.rev-ai-chips::-webkit-scrollbar { display: none; }

.rev-prompt-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: #F2F4F7;
  color: #191C1F;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.rev-prompt-pill:hover {
  background: #E5E8ED;
}

/* Revolut Grouped Menu Lists */
.menu-list-group {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 5px 6px;
  gap: 1px;
  box-shadow: 0 1px 2px rgba(25, 28, 31, 0.03);
}

.menu-row-card {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 13px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: background 0.12s;
}

.menu-row-card:hover {
  background: #F7F7F8;
}

/* Standalone menu-row-card outside .menu-list-group */
:not(.menu-list-group) > .menu-row-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 13px 15px;
  box-shadow: 0 1px 2px rgba(25, 28, 31, 0.03);
}

:not(.menu-list-group) > .menu-row-card:hover {
  background: #FAFAFB;
}

.menu-row-label {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 500;
  color: #191C1F;
  letter-spacing: -0.01em;
}

.menu-row-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #717780;
  margin-top: 2px;
}

.badge-new {
  background: #EBF3FF;
  color: #0666EB;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==================== REVOLUT CARDS & WALLET SCREEN ==================== */
.segmented-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #EDEFF2;
  padding: 3px;
  border-radius: 999px;
}

.seg-btn {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #717780;
  text-align: center;
  transition: all 0.14s;
}

.seg-btn.active {
  background: #FFFFFF;
  color: #191C1F;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(25, 28, 31, 0.08);
}

/* Revolut Sleek Card Preview */
.bank-card-visual {
  position: relative;
  border-radius: 18px;
  padding: 18px 20px;
  color: #FFFFFF;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 26px rgba(25, 28, 31, 0.12);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.bank-card-visual:active { transform: scale(0.99); }
.bank-card-visual.theme-physical { background: linear-gradient(135deg, #191C1F 0%, #2D333B 60%, #434B56 100%); }
.bank-card-visual.theme-virtual { background: linear-gradient(135deg, #0666EB 0%, #2B84FF 65%, #5CA1FF 100%); }
.bank-card-visual.theme-gamer { background: linear-gradient(135deg, #4F46E5 0%, #6366F1 60%, #818CF8 100%); }
.bank-card-visual.theme-credit { background: linear-gradient(135deg, #3A4048 0%, #1F2429 100%); }
.bank-card-visual.theme-disposable { background: linear-gradient(135deg, #FF585D 0%, #FF7B80 65%, #FF969A 100%); }
.bank-card-visual.frozen { filter: saturate(0.25) brightness(0.94); }

.frozen-pill, .card-primary-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.card-top-row { display: flex; justify-content: space-between; align-items: flex-start; }
.card-brand-logo { font-size: 17px; font-weight: 700; letter-spacing: -0.025em; }
.card-brand-logo span { opacity: 0.85; font-weight: 500; }
.card-sub-type { font-size: 11.5px; opacity: 0.78; margin-top: 2px; }
.card-balance-big { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; margin: 10px 0 6px; }

.card-dcb-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 500;
  opacity: 0.92;
}

.card-scheme-badge { font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* Revolut Mini 44x28 Rectangular Card Thumbnail (rev_cards_mgmt.png 1:1) */
.rev-mini-card {
  width: 44px;
  height: 29px;
  border-radius: 5px;
  padding: 3px 4px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: #FFFFFF;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(25, 28, 31, 0.12);
}

.rev-mini-card.physical { background: linear-gradient(135deg, #191C1F, #3B424C); }
.rev-mini-card.virtual { background: linear-gradient(135deg, #0666EB, #4B97FF); }
.rev-mini-card.gamer { background: linear-gradient(135deg, #4F46E5, #818CF8); }
.rev-mini-card.disposable { background: linear-gradient(135deg, #FF585D, #FF8A8E); }
.rev-mini-card.credit { background: linear-gradient(135deg, #475569, #1E293B); }

/* ==================== REVOLUT TWO-BOX SWAP UI (DCB & METALS) ==================== */
.rev-swap-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rev-swap-box {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(25, 28, 31, 0.03);
}

.rev-swap-mid {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #F7F7F8;
  color: #191C1F;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(25, 28, 31, 0.08);
}

/* ==================== REVOLUT LIGHT MODE HEROES (REPLACING ALL DARK BLOCKS!) ==================== */
.wow-dark-hero,
.rev-light-hero {
  background: #FFFFFF;
  color: #191C1F;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(25, 28, 31, 0.06);
}

.bottom-sheet-body .wow-dark-hero,
.bottom-sheet-body .rev-light-hero {
  background: #F7F7F8;
  border: none;
}

/* Revolut Coral/Pink Single-Use Virtual Card Visual */
.ghost-card-visual {
  background: linear-gradient(135deg, #FF585D 0%, #FF787D 58%, #FF969A 100%);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 18px 20px;
  border: none;
  box-shadow: 0 12px 28px rgba(255, 88, 93, 0.24);
}

/* ==================== QR, SEARCH, STORIES & PROGRESS ==================== */
.qr-laser-frame {
  width: 210px;
  height: 184px;
  margin: 4px auto;
  border-radius: 24px;
  border: 2px solid #191C1F;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(25, 28, 31, 0.06);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #EDEFF2;
  border: none;
  border-radius: 999px;
  height: 38px;
  padding: 0 14px;
  color: #717780;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 13.5px;
  color: #191C1F;
}

.ops-expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 42px;
  border-radius: 999px;
  background: #EDEFF2;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #191C1F;
}

.ops-expand-btn:hover {
  background: #E2E5EA;
}

.pins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.pin-color-tile {
  border-radius: 18px;
  padding: 14px 8px;
  background: #FFFFFF;
  color: #191C1F;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(25, 28, 31, 0.03);
}

.pin-circle-icon {
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  background: #EDEFF2;
  color: #191C1F;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-color-tile.gaming .pin-circle-icon { background: #EBF3FF; color: #0666EB; }
.pin-color-tile.gift .pin-circle-icon { background: #E7F7EF; color: #099A5B; }
.pin-color-tile.tv .pin-circle-icon { background: #FFF4E5; color: #C66900; }

.perks-score-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #EDEFF2;
  color: #191C1F;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.salla-mini-orb-ic {
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  background: #EBF3FF;
  color: #0666EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.camp-brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  background: #EDEFF2;
  color: #191C1F;
}

.metal-tab-pill {
  padding: 10px 6px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1.5px solid transparent;
  text-align: center;
  color: #191C1F;
  box-shadow: 0 1px 2px rgba(25, 28, 31, 0.03);
  transition: all 0.14s;
}

.metal-tab-pill.active {
  border-color: #191C1F;
  background: #FFFFFF;
  color: #191C1F;
}

.stories-row { display: flex; gap: 12px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.stories-row::-webkit-scrollbar { display: none; }
.story-bubble-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; width: 70px; }
.story-ring {
  width: 62px;
  height: 62px;
  border-radius: 50% !important;
  padding: 2.5px;
  background: #0666EB;
}
.story-inner {
  width: 100%;
  height: 100%;
  border-radius: 50% !important;
  background: #FFFFFF;
  border: 2px solid #F7F7F8;
  color: #191C1F;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-bubble-btn span { font-size: 11.5px; font-weight: 600; color: #4A515C; text-align: center; }

.limit-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #EDEFF2;
  overflow: hidden;
  margin-top: 10px;
}

.limit-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: #0666EB;
  transition: width 0.3s ease;
}

.info-blue-strip {
  background: #E8F6F3;
  color: #191C1F;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.42;
}

/* ==================== PDF BENCHMARK CHARTS: FINANCIAL HEALTH & 6-BAR SPEND ==================== */
.health-home-card {
  width: 100%;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
  transition: transform 0.14s ease;
}

.health-home-card:active {
  transform: scale(0.985);
}

.health-4seg-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  width: 100%;
  margin-top: 10px;
}

.health-seg {
  height: 12px;
  background: #DCE8E6;
  border-radius: 3px;
  position: relative;
}

.health-seg:first-child {
  border-radius: 999px 3px 3px 999px;
}

.health-seg:last-child {
  border-radius: 3px 999px 999px 3px;
}

.health-seg.on {
  background: linear-gradient(90deg, #27CCB0 0%, #16B89C 100%);
}

.gauge-twin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gauge-score-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 13px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.spend-bars-6 {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 6px;
  height: 50px;
  margin-top: 6px;
}

.spend-col {
  width: 9px;
  border-radius: 999px;
  background: #DFE4EA;
  transition: height 0.25s ease;
}

.spend-col.current {
  background: #181C20;
}

/* ==================== PDF SCREEN 3: MONZO OVERLAPPING CLICK-TO-SWAP CARD STACK ==================== */
.monzo-sec-banner {
  width: 100%;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.monzo-stack-wrap {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 4px;
}

.monzo-stack-card {
  position: relative;
  width: 100%;
  color: #FFFFFF;
  border-radius: 20px 20px 0 0;
  padding: 15px 18px 28px;
  margin-bottom: -16px;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 -4px 14px rgba(15, 23, 42, 0.12);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), filter 0.16s ease;
}

.monzo-stack-card.is-peeking:hover {
  transform: translateY(-5px);
  filter: brightness(1.04);
}

.monzo-stack-card.is-peeking:active {
  transform: scale(0.985);
}

.monzo-stack-card.is-front {
  border-radius: 20px;
  margin-bottom: 0;
  padding: 18px 18px 16px;
  min-height: 204px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: default;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2), 0 -3px 12px rgba(15, 23, 42, 0.1);
  animation: monzoCardSwapIn 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes monzoCardSwapIn {
  from {
    transform: translateY(-10px) scale(0.975);
    opacity: 0.88;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.monzo-stack-card.frozen {
  filter: saturate(0.28) brightness(0.92);
}

.monzo-stack-card.stack-coral {
  background: linear-gradient(135deg, #FF5136 0%, #F43E28 55%, #DF2E1B 100%);
}

.monzo-stack-card.stack-crimson {
  background: linear-gradient(135deg, #D91E2A 0%, #B81421 100%);
}

.monzo-stack-card.stack-navy {
  background: linear-gradient(135deg, #16264C 0%, #0E1A38 100%);
}

.monzo-stack-card.stack-cobalt {
  background: linear-gradient(135deg, #006CE0 0%, #0055B8 100%);
}

.monzo-stack-card.stack-charcoal {
  background: linear-gradient(135deg, #1E232A 0%, #2F3742 100%);
}

.monzo-stack-card.stack-emerald {
  background: linear-gradient(135deg, #0D8A6A 0%, #086950 100%);
}

.monzo-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.monzo-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.025em;
  min-width: 0;
}

.monzo-brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.monzo-amt {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.monzo-amt small {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}

.monzo-front-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 16px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.86);
}

.monzo-front-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.monzo-front-pill {
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(12, 16, 23, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 0.14s ease, transform 0.12s ease;
}

.monzo-front-pill:hover {
  background: rgba(12, 16, 23, 0.42);
}

.monzo-front-pill:active {
  transform: scale(0.95);
}

.monzo-front-pill.more {
  margin-left: auto;
  width: 36px;
  padding: 0;
}

/* ==================== AI COMMAND MODAL & NATURAL LANGUAGE INPUT ==================== */
.ai-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F2F4F7;
  border-radius: 999px;
  padding: 5px 5px 5px 15px;
  border: 1.5px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ai-input-row:focus-within {
  border-color: #191C1F;
  background: #FFFFFF;
}

.ai-input-row input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: #191C1F;
  outline: none;
  height: 36px;
}

.ai-send-btn {
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: #191C1F;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.14s ease, transform 0.1s ease;
}

.ai-send-btn:hover {
  background: #0666EB;
}

.ai-send-btn:active {
  transform: scale(0.96);
}

.ai-confirm-card {
  background: #F5F7FA;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==================== REVOLUT SUBSCREENS & BOTTOM SHEETS ==================== */
.subscreen-layer {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #F5F7F9;
  z-index: 35;
  display: flex;
  flex-direction: column;
  will-change: transform, opacity;
  animation: slideInRight 0.15s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes slideInRight {
  from { transform: translate3d(24%, 0, 0); opacity: 0; }
  to { transform: translate3d(0, 0, 0); opacity: 1; }
}

.subscreen-header {
  height: 48px;
  padding: 0 14px;
  background: #F5F7F9;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.subscreen-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #EDEFF2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #191C1F;
  line-height: 0;
}

.subscreen-back:hover { background: #E2E5EA; }
.subscreen-title { font-size: 16px; font-weight: 600; color: #191C1F; letter-spacing: -0.015em; }

.subscreen-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 16px 104px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overscroll-behavior: contain;
}

.subscreen-body > * {
  flex-shrink: 0;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 28, 31, 0.42);
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.14s ease-out;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.bottom-sheet {
  width: 100%;
  max-height: 89%;
  background: #FFFFFF;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -12px 40px rgba(25, 28, 31, 0.16);
  will-change: transform;
  animation: slideUp 0.17s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes slideUp { from { transform: translate3d(0, 100%, 0); } to { transform: translate3d(0, 0, 0); } }

.sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: #D8DCE2;
  margin: 8px auto 2px;
  flex-shrink: 0;
}

.sheet-header {
  padding: 8px 16px 10px;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sheet-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #191C1F;
}

.sheet-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #EDEFF2;
  color: #191C1F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}

.sheet-close:hover {
  background: #E2E5EA;
}

.bottom-sheet-body {
  padding: 6px 16px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
  overscroll-behavior: contain;
}

/* Revolut Form Controls & Solid Pill Buttons */
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12px; font-weight: 500; color: #717780; display: flex; justify-content: space-between; }

.field-input, .field-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  background: #F2F4F7;
  font-size: 14px;
  font-weight: 500;
  color: #191C1F;
  outline: none;
  transition: border-color 0.14s, background 0.14s;
}

.field-input:focus, .field-select:focus {
  border-color: #191C1F;
  background: #FFFFFF;
}

.quick-chips-row { display: flex; gap: 6px; flex-wrap: wrap; }
.quick-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: #EDEFF2;
  color: #191C1F;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.quick-chip:hover, .quick-chip.active { background: #191C1F; color: #FFFFFF; }

.primary-cta {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #191C1F;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: none;
  transition: background 0.14s, transform 0.1s, opacity 0.14s;
}
.primary-cta.cobalt { background: #0666EB; }
.primary-cta:hover { background: #2D3238; }
.primary-cta.cobalt:hover { background: #0557C9; }
.primary-cta:active { transform: scale(0.985); }
.primary-cta:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.secondary-cta {
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 999px;
  background: #EDEFF2;
  color: #191C1F;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.secondary-cta:hover {
  background: #E2E5EA;
}

.summary-table {
  background: #F7F7F8;
  border: none;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.summary-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.summary-row span { color: #717780; }
.summary-row strong { color: #191C1F; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.scam-shield-box {
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.45;
}
.scam-shield-box.safe { background: #E7F7EF; color: #065F3C; }
.scam-shield-box.warn { background: #FFF4E5; color: #8F4B00; }
.scam-shield-box.danger { background: #FEECEC; color: #A61B1F; }

.success-hero { text-align: center; padding: 10px 0 4px; }
.success-check-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #099A5B;
  color: #FFFFFF;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

/* ==================== SALLA TOPLA KÜRESİ OVERLAY (FIXING SCREENSHOT 2!) ==================== */
.salla-overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
  background: radial-gradient(circle at 50% 48%, #0d74e7 0%, #033a94 58%, #021f59 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 50px 18px 24px;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
}

.salla-rays {
  position: absolute;
  width: 880px;
  height: 880px;
  top: 50%;
  left: 50%;
  margin-left: -440px;
  margin-top: -460px;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.075) 0deg 12deg,
    transparent 12deg 24deg
  );
  animation: spinRays 38s linear infinite;
  pointer-events: none;
}

@keyframes spinRays { to { transform: rotate(360deg); } }

.salla-top-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.salla-stat-pills {
  display: flex;
  align-items: center;
  gap: 7px;
}

.salla-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 99px;
  background: rgba(6, 25, 72, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

/* Mathematically Centered SVG X Close Button */
.salla-close-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.52);
  background: rgba(4, 22, 68, 0.45);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
}

.salla-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Refined Salla Typography Hierarchy */
.salla-title-block {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 8px;
}

.salla-eyebrow {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #7dd3fc;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 6px;
}

.salla-headline {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(2, 22, 68, 0.35);
}

.salla-subline {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 4px;
}

.salla-canvas-stage {
  position: relative;
  z-index: 2;
  width: 336px;
  height: 336px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.salla-canvas-stage canvas {
  width: 336px;
  height: 336px;
  cursor: grab;
  touch-action: none;
}

.salla-bottom-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.salla-reward-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 18, 56, 0.32);
}

/* High-Contrast Kinetic Shake CTA Button */
.salla-shake-cta {
  width: 100%;
  padding: 8px 10px;
  border-radius: 99px;
  background: linear-gradient(92deg, #FFD43B 0%, #FFB800 100%);
  color: #091122;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(255, 184, 0, 0.4);
  transition: transform 0.14s ease;
}

.salla-shake-cta:hover {
  transform: translateY(-1px);
}

.salla-cta-ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #091122;
  color: #FFD43B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.salla-cta-label {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #091122;
  white-space: nowrap;
}

.salla-cta-count {
  padding: 7px 12px;
  border-radius: 99px;
  background: rgba(9, 17, 34, 0.92);
  color: #FFD43B;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Toast, Toggle Switch & Lock Screen (Revolut Light Mode) */
.toast-container {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 88px;
  z-index: 75;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  background: #191C1F;
  color: #FFFFFF;
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 10px 26px rgba(25, 28, 31, 0.24);
}

.toast-undo-btn {
  background: #FFFFFF;
  color: #191C1F;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.toggle-switch {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #D8DCE2;
  transition: background 0.18s;
  flex-shrink: 0;
}
.toggle-switch.on { background: #0666EB; }
.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(25, 28, 31, 0.2);
  transition: transform 0.18s;
}
.toggle-switch.on::after { transform: translateX(20px); }

.lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 80;
  background: #F7F7F8;
  color: #191C1F;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 68px 24px 36px;
}
.pin-dots { display: flex; gap: 14px; margin: 18px 0; justify-content: center; }
.pin-dot { width: 12px; height: 12px; border-radius: 50%; background: #D8DCE2; border: none; }
.pin-dot.filled { background: #0666EB; }
.pin-keypad { display: grid; grid-template-columns: repeat(3, 72px); gap: 16px; }
.pin-key {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #EDEFF2;
  color: #191C1F;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  transition: background 0.12s;
}
.pin-key:active { background: #DCE0E6; }

/* ==================== RESPONSIVE BREAKPOINTS & COMPACT DRAWER ==================== */
#guideBtn {
  display: none;
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 250;
  height: 42px;
  padding: 0 18px;
  border-radius: 99px;
  background: #0b1120;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.32);
}

#guideBd {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 22, 0.58);
  backdrop-filter: blur(4px);
  z-index: 330;
}

#guideBd.open { display: block; }

#guideModal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100vw - 28px);
  max-width: 400px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  background: var(--portal-card);
  color: var(--portal-text);
  z-index: 350;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

#guideModal.open { display: block; }

@media (max-width: 1400px) {
  #inspector { display: none; }
  #stage { justify-content: center; gap: 24px; }
}

@media (max-width: 1120px) {
  #guide { display: none !important; }
  #guideBtn { display: inline-flex; }
  .doc-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-3col-cards, .roi-sliders-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  #pcPortal { flex-direction: column; padding: 8px; }
  #pcSidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 16px;
  }
  #pcHeader { display: none; }
  .doc-2col, .doc-kpi-grid { grid-template-columns: 1fr; }
  .phone-frame {
    width: 100%;
    max-width: 412px;
    height: 820px;
  }
}
