:root {
  font-family: 'Manrope', sans-serif;
  color: #eef5ef;
  background:
    radial-gradient(circle at top left, rgba(165, 255, 111, 0.18), transparent 22%),
    radial-gradient(circle at top right, rgba(0, 255, 170, 0.1), transparent 24%),
    linear-gradient(180deg, #07110c 0%, #0b1712 45%, #060b09 100%);
  line-height: 1.5;
  font-weight: 500;
  color-scheme: dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #07110c 0%, #0b1712 45%, #060b09 100%);
}

body.theme-home {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(148, 163, 184, 0.08), transparent 24%),
    linear-gradient(180deg, #050608 0%, #0a0c10 45%, #030406 100%);
}

body.theme-giftcards {
  background:
    radial-gradient(circle at 20% 0%, rgba(170, 255, 127, 0.12), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(80, 210, 120, 0.08), transparent 26%),
    linear-gradient(180deg, #07110c 0%, #0b1712 45%, #060b09 100%);
}

body.theme-reviews {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 191, 92, 0.08), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(242, 180, 60, 0.05), transparent 24%),
    linear-gradient(180deg, #110d08 0%, #16110c 45%, #0b0907 100%);
}

body.theme-creditcards {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 128, 146, 0.08), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(255, 96, 126, 0.05), transparent 24%),
    linear-gradient(180deg, #12090d 0%, #171015 45%, #0b0609 100%);
}

body.theme-registries {
  background:
    radial-gradient(circle at 18% 0%, rgba(187, 132, 255, 0.08), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(139, 112, 255, 0.05), transparent 24%),
    linear-gradient(180deg, #100d18 0%, #14111f 45%, #0a0811 100%);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  padding: 32px 20px 56px;
  position: relative;
}

.logout-button {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  min-width: auto;
  padding: 10px 16px;
}

.theme-login {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.04), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(148, 163, 184, 0.06), transparent 24%),
    linear-gradient(180deg, #040507 0%, #090b0f 45%, #030406 100%);
}

.auth-shell {
  display: grid;
  place-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.auth-page {
  width: min(100%, 480px);
}

.auth-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(13, 16, 22, 0.94), rgba(7, 9, 13, 0.98));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
}

.auth-form {
  gap: 16px;
}

.auth-submit {
  width: 100%;
}

.auth-error {
  min-height: 22px;
  margin: 0;
  color: #ff9c9c;
  font-size: 0.95rem;
}

.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  min-width: 220px;
  max-width: 320px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid transparent;
  color: #071109;
  font-weight: 800;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  background: linear-gradient(180deg, #beff7c, #8de84c);
  border-color: rgba(190, 255, 124, 0.48);
  box-shadow: 0 18px 40px rgba(141, 232, 76, 0.24);
}

.toast-warning {
  background: linear-gradient(180deg, #ffe36d, #f6bf3e);
  border-color: rgba(255, 227, 109, 0.5);
  box-shadow: 0 18px 40px rgba(246, 191, 62, 0.24);
}

.toast-danger {
  background: linear-gradient(180deg, #ff8d8d, #ff6464);
  border-color: rgba(255, 141, 141, 0.5);
  box-shadow: 0 18px 40px rgba(255, 100, 100, 0.24);
}

.page {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.eyebrow,
.workspace-kicker,
.panel-kicker {
  margin: 0 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9c49d;
}

.hero h1,
.workspace h2,
.panel h3,
.wallet-card h4 {
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy {
  max-width: 62ch;
  margin: 16px 0 0;
  font-size: 1.02rem;
  color: #a8bab0;
}

body.theme-home .hero {
  grid-template-columns: minmax(0, 1fr);
}

body.theme-home .eyebrow {
  color: #b6b1ff;
}

body.theme-home .hero-copy {
  color: #b3bdd7;
}

.hero-note {
  padding: 22px;
  border: 1px solid rgba(169, 255, 111, 0.2);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(14, 27, 21, 0.86), rgba(8, 15, 12, 0.94));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(191, 255, 167, 0.08);
}

.hero-note span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a6d982;
}

.hero-note strong {
  font-size: 1.15rem;
  line-height: 1.3;
  color: #f4fff0;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hub-card-action {
  display: grid;
  gap: 14px;
  align-content: start;
}

.registry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.section-card,
.panel,
.wallet-card {
  border: 1px solid rgba(161, 255, 111, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(14, 25, 21, 0.88), rgba(8, 14, 12, 0.92));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(202, 255, 174, 0.05);
}

.section-card {
  padding: 18px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.section-card:hover,
.section-card-active {
  transform: translateY(-2px);
  border-color: rgba(167, 255, 110, 0.42);
  background:
    linear-gradient(180deg, rgba(16, 31, 23, 0.96), rgba(10, 18, 14, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(166, 255, 109, 0.08),
    0 0 36px rgba(166, 255, 109, 0.08);
}

.section-card-creditcards {
  border-color: rgba(255, 128, 146, 0.18);
  background:
    linear-gradient(180deg, rgba(33, 14, 20, 0.9), rgba(18, 8, 12, 0.94));
}

.section-card-creditcards:hover {
  border-color: rgba(255, 128, 146, 0.42);
  background:
    linear-gradient(180deg, rgba(45, 17, 27, 0.96), rgba(23, 10, 15, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 128, 146, 0.08),
    0 0 36px rgba(255, 128, 146, 0.1);
}

.section-card-giftcards {
  border-color: rgba(141, 232, 76, 0.18);
}

.section-card-reviews {
  border-color: rgba(255, 191, 92, 0.18);
  background:
    linear-gradient(180deg, rgba(39, 28, 14, 0.9), rgba(24, 17, 8, 0.94));
}

.section-card-reviews:hover {
  border-color: rgba(255, 191, 92, 0.42);
  background:
    linear-gradient(180deg, rgba(52, 37, 16, 0.96), rgba(31, 22, 10, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 191, 92, 0.08),
    0 0 36px rgba(255, 191, 92, 0.1);
}

.section-card-registries {
  border-color: rgba(187, 132, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(23, 14, 38, 0.9), rgba(13, 9, 25, 0.94));
}

.section-card-registries:hover {
  border-color: rgba(187, 132, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(30, 18, 50, 0.96), rgba(17, 11, 30, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(187, 132, 255, 0.08),
    0 0 36px rgba(187, 132, 255, 0.1);
}

.section-card span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

.section-card p {
  margin: 0;
  color: #a0b0a7;
  font-size: 0.96rem;
}

.workspace {
  padding: 28px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(10, 18, 14, 0.86), rgba(6, 10, 8, 0.94));
  border: 1px solid rgba(163, 255, 111, 0.1);
  backdrop-filter: blur(12px);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(204, 255, 170, 0.04);
}

.expiry-summary {
  margin-top: 8px;
}

.expiry-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.expiry-summary-card {
  padding: 18px;
  border: 1px solid rgba(141, 232, 76, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 34, 18, 0.88), rgba(9, 17, 10, 0.94));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(191, 255, 167, 0.05);
}

.expiry-summary-card h3,
.expiry-summary-card p {
  margin: 0;
}

.expiry-summary-card h3 {
  font-size: 1.08rem;
  color: #d9ffc0;
}

.expiry-summary-card p {
  margin-top: 8px;
  color: #aef081;
  font-weight: 800;
}

.expiry-empty {
  color: #a0b0a7;
}

.workspace-header {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
}

.workspace h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
}

.sort-button,
.primary-button,
.secondary-button,
.ghost-button {
  border-radius: 18px;
  border: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.sort-button,
.secondary-button {
  padding: 12px 16px;
  background: linear-gradient(180deg, #111d16, #0b120e);
  border-color: rgba(166, 255, 109, 0.18);
  color: #e8f6e3;
}

.sort-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.primary-button:hover {
  transform: translateY(-1px);
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 18px;
}

.redeemed-panel {
  margin-top: 18px;
}

.workspace-stack {
  display: block;
}

.workspace-panel-hidden {
  display: none;
}

.subnav-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.subnav-button {
  min-width: 190px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.subnav-button-active {
  background: linear-gradient(180deg, #beff7c, #8de84c);
  color: #071109;
  border-color: rgba(190, 255, 124, 0.3);
  box-shadow: 0 10px 30px rgba(166, 255, 109, 0.18);
}

.field-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.panel {
  padding: 22px;
}

.stack {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.94rem;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid rgba(164, 255, 111, 0.14);
  border-radius: 18px;
  background: rgba(10, 18, 14, 0.96);
  padding: 14px 15px;
  color: #eef5ef;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: #a6ff6d;
  box-shadow: 0 0 0 4px rgba(166, 255, 109, 0.12);
}

.primary-button {
  padding: 14px 18px;
  background: linear-gradient(180deg, #beff7c, #8de84c);
  color: #071109;
  box-shadow: 0 10px 30px rgba(166, 255, 109, 0.22);
}

.primary-button:hover {
  background: linear-gradient(180deg, #cbff97, #98ef5b);
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hidden-action {
  display: none;
}

.card-list {
  display: grid;
  gap: 14px;
}

.wallet-card {
  padding: 18px;
}

.wallet-card-top,
.wallet-card-footer,
.secret-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.wallet-card-top {
  margin-bottom: 14px;
}

.wallet-card h4 {
  margin-top: 12px;
  font-size: 1.06rem;
}

.amount-line {
  margin: 8px 0 0;
  color: #d8ffc0;
  font-size: 1rem;
  font-weight: 800;
}

.brand-pill,
.status-pill,
.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.brand-pill {
  padding: 7px 12px;
  background: rgba(166, 255, 109, 0.12);
  color: #c9ffab;
  font-size: 0.85rem;
  font-weight: 800;
}

.status-pill {
  padding: 7px 11px;
  background: rgba(0, 255, 174, 0.12);
  color: #8fffd5;
  text-transform: capitalize;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-muted {
  background: rgba(185, 196, 188, 0.12);
  color: #96a59d;
}

.secret-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.secret-row {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(18, 31, 24, 0.92);
  border: 1px solid rgba(165, 255, 111, 0.08);
}

.secret-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #96af9b;
  margin-bottom: 3px;
}

.ghost-button {
  padding: 10px 14px;
  background: rgba(15, 24, 19, 0.92);
  border-color: rgba(166, 255, 109, 0.12);
  color: #e8f3e8;
}

.wallet-card-footer p {
  margin: 0;
  color: #a2b0a8;
}

.wallet-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.brand-chip {
  padding: 8px 12px;
  background: rgba(166, 255, 109, 0.12);
  color: #d3ffb6;
  font-size: 0.88rem;
  font-weight: 700;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.danger-button {
  background: rgba(255, 102, 102, 0.1);
  border-color: rgba(255, 102, 102, 0.18);
  color: #ffc2c2;
}

.table-wrap {
  overflow-x: auto;
}

.gift-card-table {
  width: 100%;
  border-collapse: collapse;
}

.gift-card-table th,
.gift-card-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(166, 255, 109, 0.1);
}

.gift-card-table th {
  color: #c7d8cd;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gift-card-table td {
  color: #a8bab0;
}

.empty-table {
  color: #7e9488;
}

.placeholder-panel {
  padding: 36px;
}

.placeholder-copy {
  margin: 14px 0 0;
  color: #a0b0a7;
  max-width: 52ch;
}

.subpage-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.subpage-hero {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.home-link {
  width: fit-content;
  text-decoration: none;
  color: #eef5ef;
}

.workspace-header-page {
  margin-bottom: 0;
}

.subpage-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.brand-page-panel {
  max-width: 520px;
}

.add-gift-card-panel {
  max-width: 640px;
}

.filter-panel {
  max-width: 320px;
}

.bank-preview-panel {
  max-width: 720px;
}

.add-review-panel {
  max-width: 760px;
  margin-bottom: 18px;
}

.review-list-panel {
  max-width: 960px;
}

.review-alerts {
  margin-top: 18px;
}

.sample-panel {
  max-width: 760px;
}

.alert-card {
  padding: 18px;
  border: 1px solid rgba(255, 191, 92, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(39, 28, 14, 0.92), rgba(24, 17, 8, 0.96));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.alert-content h3,
.alert-content p {
  margin: 0;
}

.alert-content {
  flex: 1;
  min-width: 0;
}

.alert-content p {
  margin-top: 10px;
  color: #e5c99f;
}

.alert-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 0;
  flex-shrink: 0;
  justify-content: flex-end;
}

.blue-button {
  background: linear-gradient(180deg, #ffd36f, #f2b43c);
  border-color: rgba(255, 211, 111, 0.3);
  color: #1b1204;
  box-shadow: 0 10px 30px rgba(242, 180, 60, 0.22);
}

.alert-actions .secondary-button,
.alert-actions .ghost-button {
  padding: 8px 12px;
  min-height: 36px;
  font-size: 0.88rem;
  border-radius: 14px;
}

.selected-card {
  border-color: rgba(255, 228, 132, 0.42);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 228, 132, 0.12),
    0 0 34px rgba(255, 228, 132, 0.18);
}

.section-theme-giftcards {
  border-color: rgba(141, 232, 76, 0.1);
  background:
    linear-gradient(180deg, rgba(12, 18, 13, 0.78), rgba(8, 11, 9, 0.86));
}

.section-theme-reviews {
  border-color: rgba(255, 191, 92, 0.06);
  background:
    linear-gradient(180deg, rgba(19, 16, 11, 0.68), rgba(12, 10, 8, 0.78));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 191, 92, 0.02),
    inset 0 1px 0 rgba(255, 225, 172, 0.02);
}

.section-theme-reviews .subnav-button-active {
  background: linear-gradient(180deg, #ffd36f, #f2b43c);
  border-color: rgba(255, 211, 111, 0.3);
  color: #1b1204;
  box-shadow: 0 10px 30px rgba(242, 180, 60, 0.22);
}

.page-theme-reviews .secondary-button,
.page-theme-reviews .ghost-button {
  border-color: rgba(255, 191, 92, 0.18);
  background:
    linear-gradient(180deg, rgba(41, 28, 11, 0.96), rgba(27, 18, 7, 0.98));
  color: #ffe7be;
}

.page-theme-reviews .secondary-button:hover,
.page-theme-reviews .ghost-button:hover {
  background:
    linear-gradient(180deg, rgba(56, 39, 16, 0.98), rgba(36, 24, 10, 1));
  color: #fff1d7;
}

.page-theme-giftcards .subpage-title {
  color: #d9ffc0;
}

.page-theme-giftcards .panel-kicker,
.page-theme-giftcards .workspace-kicker {
  color: #aef081;
}

.page-theme-reviews .subpage-title {
  color: #ffe0a2;
}

.page-theme-reviews .panel-kicker,
.page-theme-reviews .workspace-kicker {
  color: #ffc873;
}

.page-theme-reviews .panel,
.section-theme-reviews .panel,
.section-theme-reviews-links .section-card {
  border-color: rgba(255, 191, 92, 0.2);
  background:
    linear-gradient(180deg, rgba(40, 28, 12, 0.92), rgba(25, 17, 8, 0.96));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 225, 172, 0.06);
}

.section-theme-reviews .wallet-card,
.page-theme-reviews .wallet-card {
  border-color: rgba(255, 191, 92, 0.18);
  background:
    linear-gradient(180deg, rgba(34, 25, 12, 0.96), rgba(22, 16, 8, 0.98));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 225, 172, 0.05);
}

.section-theme-reviews-links .section-card:hover,
.section-theme-reviews-links .section-card-active {
  border-color: rgba(255, 211, 111, 0.42);
  background:
    linear-gradient(180deg, rgba(52, 37, 16, 0.96), rgba(31, 22, 10, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 211, 111, 0.08),
    0 0 36px rgba(242, 180, 60, 0.1);
}

.page-theme-reviews .home-link,
.section-theme-reviews .panel-kicker,
.section-theme-reviews-links .section-card span {
  color: #ffe0a2;
}

.section-theme-reviews .brand-pill,
.page-theme-reviews .brand-pill {
  background: rgba(255, 191, 92, 0.16);
  color: #ffe8bb;
}

.section-theme-reviews .status-pill,
.page-theme-reviews .status-pill {
  background: rgba(255, 211, 111, 0.16);
  color: #fff0cb;
}

.section-theme-reviews .amount-line,
.page-theme-reviews .amount-line {
  color: #ffd27d;
}

.section-theme-reviews .review-meta-chip,
.page-theme-reviews .review-meta-chip {
  background: rgba(255, 191, 92, 0.14);
  color: #fff0cc;
}

.section-theme-reviews .wallet-card-footer p,
.page-theme-reviews .wallet-card-footer p,
.section-theme-reviews .placeholder-copy,
.page-theme-reviews .placeholder-copy {
  color: #d5c0a0;
}

.page-theme-reviews .ghost-button,
.section-theme-reviews .secondary-button,
.section-theme-reviews .ghost-button,
.section-theme-reviews-links .section-card {
  border-color: rgba(255, 191, 92, 0.18);
  background:
    linear-gradient(180deg, rgba(41, 28, 11, 0.96), rgba(27, 18, 7, 0.98));
  color: #ffe7be;
}

.section-theme-reviews .primary-button {
  background: linear-gradient(180deg, #ffd36f, #f2b43c);
  color: #1b1204;
  box-shadow: 0 10px 30px rgba(242, 180, 60, 0.22);
}

.section-theme-reviews .primary-button:hover,
.section-theme-reviews .secondary-button:hover,
.section-theme-reviews .ghost-button:hover,
.page-theme-reviews .ghost-button:hover {
  background:
    linear-gradient(180deg, rgba(56, 39, 16, 0.98), rgba(36, 24, 10, 1));
  color: #fff1d7;
}

.section-theme-reviews .primary-button:hover {
  background: linear-gradient(180deg, #ffde8f, #f8bf54);
  color: #1b1204;
}

.section-theme-reviews .field input:focus,
.section-theme-reviews .field select:focus {
  border-color: #ffd36f;
  box-shadow: 0 0 0 4px rgba(255, 211, 111, 0.12);
}

.section-theme-reviews .field input,
.section-theme-reviews .field select,
.page-theme-reviews .field input,
.page-theme-reviews .field select {
  border-color: rgba(255, 191, 92, 0.14);
  background: rgba(18, 14, 8, 0.96);
  color: #fff3dd;
}

.section-theme-reviews .field input::placeholder,
.page-theme-reviews .field input::placeholder {
  color: rgba(255, 243, 221, 0.48);
}

.section-theme-reviews .field span,
.page-theme-reviews .field span {
  color: #ffe6bb;
}

.section-theme-creditcards {
  border-color: rgba(255, 128, 146, 0.08);
  background:
    linear-gradient(180deg, rgba(22, 12, 16, 0.72), rgba(14, 8, 10, 0.82));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 128, 146, 0.03),
    inset 0 1px 0 rgba(255, 210, 219, 0.03);
}

.page-theme-creditcards .subpage-title {
  color: #ffcad4;
}

.page-theme-creditcards .panel-kicker,
.page-theme-creditcards .workspace-kicker,
.section-theme-creditcards .panel-kicker {
  color: #ff92a6;
}

.page-theme-creditcards .panel,
.section-theme-creditcards .panel {
  border-color: rgba(255, 128, 146, 0.2);
  background:
    linear-gradient(180deg, rgba(36, 15, 22, 0.92), rgba(22, 9, 13, 0.96));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 210, 219, 0.06);
}

.page-theme-creditcards .ghost-button,
.section-theme-creditcards .ghost-button,
.section-theme-creditcards .secondary-button {
  border-color: rgba(255, 128, 146, 0.18);
  background:
    linear-gradient(180deg, rgba(42, 16, 24, 0.96), rgba(27, 10, 15, 0.98));
  color: #ffd9e1;
}

.page-theme-creditcards .ghost-button:hover,
.section-theme-creditcards .secondary-button:hover,
.section-theme-creditcards .ghost-button:hover {
  background:
    linear-gradient(180deg, rgba(56, 21, 31, 0.98), rgba(35, 13, 20, 1));
  color: #ffe9ef;
}

.section-theme-creditcards .subnav-button-active {
  background: linear-gradient(180deg, #ffb1c1, #ff7f9b);
  border-color: rgba(255, 177, 193, 0.3);
  color: #24070f;
  box-shadow: 0 10px 30px rgba(255, 127, 155, 0.22);
}

.section-theme-creditcards .primary-button {
  background: linear-gradient(180deg, #ffb1c1, #ff7f9b);
  color: #24070f;
  box-shadow: 0 10px 30px rgba(255, 127, 155, 0.22);
}

.section-theme-creditcards .primary-button:hover {
  background: linear-gradient(180deg, #ffc0cc, #ff8aa5);
  color: #24070f;
}

.section-theme-creditcards .field input,
.section-theme-creditcards .field select,
.page-theme-creditcards .field input,
.page-theme-creditcards .field select {
  border-color: rgba(255, 128, 146, 0.14);
  background: rgba(23, 10, 14, 0.96);
  color: #ffeef2;
}

.section-theme-creditcards .field input::placeholder,
.page-theme-creditcards .field input::placeholder {
  color: rgba(255, 238, 242, 0.45);
}

.section-theme-creditcards .field span,
.page-theme-creditcards .field span {
  color: #ffdbe2;
}

.section-theme-creditcards .field input:focus,
.section-theme-creditcards .field select:focus {
  border-color: #ff9ab1;
  box-shadow: 0 0 0 4px rgba(255, 154, 177, 0.12);
}

.section-theme-creditcards .brand-chip,
.section-theme-creditcards .brand-pill {
  background: rgba(255, 128, 146, 0.14);
  color: #ffd5de;
}

.section-theme-creditcards .wallet-card,
.page-theme-creditcards .wallet-card {
  border-color: rgba(255, 128, 146, 0.18);
  background:
    linear-gradient(180deg, rgba(33, 14, 20, 0.96), rgba(21, 9, 13, 0.98));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 210, 219, 0.05);
}

.section-theme-creditcards .status-pill,
.page-theme-creditcards .status-pill {
  background: rgba(255, 177, 193, 0.14);
  color: #ffe6ec;
}

.section-theme-creditcards .amount-line,
.page-theme-creditcards .amount-line {
  color: #ffcad4;
}

.section-theme-creditcards .review-meta-chip,
.page-theme-creditcards .review-meta-chip {
  background: rgba(255, 128, 146, 0.14);
  color: #ffe8ee;
}

.section-theme-creditcards .wallet-card-footer p,
.page-theme-creditcards .wallet-card-footer p,
.section-theme-creditcards .placeholder-copy,
.page-theme-creditcards .placeholder-copy {
  color: #dcb6bf;
}

.section-theme-creditcards-links .section-card {
  border-color: rgba(255, 128, 146, 0.18);
  background:
    linear-gradient(180deg, rgba(33, 14, 20, 0.9), rgba(18, 8, 11, 0.94));
}

.section-theme-creditcards-links .section-card:hover,
.section-theme-creditcards-links .section-card-active {
  border-color: rgba(255, 128, 146, 0.42);
  background:
    linear-gradient(180deg, rgba(45, 17, 27, 0.96), rgba(23, 10, 15, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 128, 146, 0.08),
    0 0 36px rgba(255, 128, 146, 0.1);
}

.section-theme-creditcards-links .section-card span {
  color: #ffe2e8;
}

.section-theme-creditcards .alert-card {
  border-color: rgba(255, 128, 146, 0.16);
  background:
    linear-gradient(180deg, rgba(33, 14, 20, 0.92), rgba(20, 9, 13, 0.96));
}

.section-theme-creditcards .alert-content p {
  color: #e8c0ca;
}

.section-theme-creditcards .blue-button {
  background: linear-gradient(180deg, #ffb1c1, #ff7f9b);
  border-color: rgba(255, 177, 193, 0.3);
  color: #24070f;
  box-shadow: 0 10px 30px rgba(255, 127, 155, 0.22);
}

.section-theme-registries {
  border-color: rgba(187, 132, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(19, 16, 32, 0.72), rgba(12, 10, 21, 0.82));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(187, 132, 255, 0.03),
    inset 0 1px 0 rgba(219, 194, 255, 0.03);
}

.page-theme-registries .subpage-title {
  color: #ecd9ff;
}

.page-theme-registries .panel-kicker,
.page-theme-registries .workspace-kicker,
.section-theme-registries .panel-kicker {
  color: #cfa8ff;
}

.page-theme-registries .panel,
.section-theme-registries .panel {
  border-color: rgba(187, 132, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(25, 18, 46, 0.92), rgba(15, 11, 29, 0.96));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(219, 194, 255, 0.06);
}

.page-theme-registries .home-link,
.page-theme-registries .ghost-button,
.section-theme-registries .secondary-button,
.section-theme-registries .ghost-button {
  border-color: rgba(187, 132, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(30, 21, 56, 0.96), rgba(18, 13, 35, 0.98));
  color: #f0e2ff;
}

.page-theme-registries .ghost-button:hover,
.section-theme-registries .secondary-button:hover,
.section-theme-registries .ghost-button:hover {
  background:
    linear-gradient(180deg, rgba(40, 28, 72, 0.98), rgba(24, 17, 45, 1));
  color: #faf3ff;
}

.section-theme-registries .field input,
.section-theme-registries .field select {
  border-color: rgba(187, 132, 255, 0.14);
  background: rgba(14, 11, 28, 0.96);
}

.section-theme-registries .field input:focus,
.section-theme-registries .field select:focus {
  border-color: #cfa8ff;
  box-shadow: 0 0 0 4px rgba(207, 168, 255, 0.12);
}

.section-theme-registries .brand-chip,
.section-theme-registries .brand-pill {
  background: rgba(187, 132, 255, 0.14);
  color: #f0ddff;
}

.page-theme-registries .placeholder-copy,
.section-theme-registries .placeholder-copy {
  color: #c2b1db;
}

.credit-alert-card {
  padding: 18px;
  border: 1px solid rgba(141, 232, 76, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 34, 18, 0.88), rgba(9, 17, 10, 0.94));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.credit-alert-content h3,
.credit-alert-content p {
  margin: 0;
}

.credit-alert-content {
  flex: 1;
  min-width: 0;
}

.credit-alert-content p {
  margin-top: 10px;
  color: #b7d5a6;
}

.credit-alert-actions {
  flex-shrink: 0;
}

.page-theme-reviews .placeholder-panel,
.section-theme-reviews .panel {
  padding: 24px;
}

.page-theme-reviews {
  gap: 20px;
  margin-bottom: 28px;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.review-card-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 191, 92, 0.12);
  align-items: flex-end;
}

.review-card-footer p {
  flex: 1;
}

.review-meta-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(166, 255, 109, 0.12);
  color: #d3ffb6;
  font-size: 0.88rem;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .section-grid,
  .hub-grid,
  .registry-grid,
  .workspace-grid,
  .hero {
    grid-template-columns: 1fr;
  }

  .field-group {
    grid-template-columns: 1fr;
  }

  .workspace-header,
  .wallet-card-top,
  .wallet-card-footer,
  .secret-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .alert-card {
    flex-direction: column;
  }

  .alert-actions {
    width: 100%;
    justify-content: flex-start;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credit-alert-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .credit-alert-actions {
    width: 100%;
  }

  .wallet-card-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-card-footer {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .app-shell {
    padding-inline: 14px;
  }

  .logout-button {
    top: 14px;
    right: 14px;
    padding: 9px 14px;
  }

  .auth-card {
    padding: 22px;
    border-radius: 24px;
  }

  .toast {
    left: 14px;
    right: 14px;
    top: 14px;
    min-width: 0;
    max-width: none;
  }

  .workspace {
    padding: 18px;
    border-radius: 28px;
  }

  .section-card,
  .panel,
  .wallet-card {
    border-radius: 22px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .sort-button,
  .primary-button {
    width: 100%;
  }

  .alert-actions .secondary-button,
  .alert-actions .ghost-button {
    width: 100%;
  }

  .credit-alert-actions .secondary-button {
    width: auto;
  }

  .subnav-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subnav-button {
    min-width: 0;
  }

  .wallet-card {
    padding: 16px;
  }

  .wallet-card-top {
    margin-bottom: 12px;
  }

  .secret-grid {
    gap: 8px;
    margin-bottom: 12px;
  }

  .secret-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .wallet-card-actions .secondary-button,
  .wallet-card-actions .ghost-button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    padding-block: 10px;
    font-size: 0.92rem;
    border-radius: 14px;
  }

  .wallet-card-actions .icon-button {
    width: 42px;
  }

  .wallet-card-footer {
    gap: 10px;
  }

  .wallet-card-footer p {
    font-size: 0.96rem;
  }

  .secret-row {
    flex-direction: row;
    align-items: center;
  }

  .secret-row .icon-button {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
  }

  .wallet-card-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .section-theme-reviews {
    padding: 16px;
  }

  .section-theme-reviews .panel {
    padding: 16px;
  }

  .section-theme-reviews .wallet-card,
  .page-theme-reviews .wallet-card {
    padding: 14px;
  }

  .section-theme-reviews .wallet-card-top,
  .page-theme-reviews .wallet-card-top {
    gap: 10px;
    margin-bottom: 10px;
  }

  .section-theme-reviews .wallet-card h4,
  .page-theme-reviews .wallet-card h4 {
    margin-top: 10px;
    font-size: 0.98rem;
    line-height: 1.25;
  }

  .section-theme-reviews .amount-line,
  .page-theme-reviews .amount-line {
    margin-top: 6px;
    font-size: 0.94rem;
  }

  .section-theme-reviews .review-meta,
  .page-theme-reviews .review-meta {
    gap: 8px;
    margin-top: 10px;
  }

  .section-theme-reviews .review-meta-chip,
  .page-theme-reviews .review-meta-chip {
    padding: 7px 10px;
    font-size: 0.82rem;
  }

  .review-card-footer {
    margin-top: 14px;
    padding-top: 12px;
    gap: 12px;
  }

  .review-card-footer .wallet-card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .review-card-footer .wallet-card-actions .secondary-button,
  .review-card-footer .wallet-card-actions .ghost-button {
    padding-block: 9px;
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .home-link,
  .filter-panel .ghost-button,
  .hub-card .secondary-button {
    width: auto;
  }
}
