:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.82);
  --panel-solid: #101b2f;
  --card: rgba(30, 41, 59, 0.78);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --teal: #14b8a6;
  --indigo: #6366f1;
  --orange: #f97316;
  --rose: #f43f5e;
  --green: #22c55e;
  --yellow: #eab308;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(20, 184, 166, 0.18), transparent 28rem),
    radial-gradient(circle at 85% 0%, rgba(99, 102, 241, 0.24), transparent 28rem),
    linear-gradient(135deg, #07111f 0%, #0f172a 46%, #111827 100%);
  color: var(--text);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 22px;
  min-height: 100vh;
  padding: 22px;
}

.side-panel {
  position: sticky;
  top: 22px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: calc(100vh - 44px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 15, 29, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-card,
.exchange-card,
.panel-card,
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 45px rgba(2, 6, 23, 0.22);
}

.brand-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--teal), var(--indigo));
  color: white;
  font-size: 1.25rem;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 1.35rem;
}

h2 {
  margin-top: 2px;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.05rem;
}

.eyebrow {
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
  line-height: 1.55;
}

.app-nav {
  display: grid;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--muted-strong);
  text-align: left;
  text-decoration: none;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  border-color: rgba(20, 184, 166, 0.32);
  background: rgba(20, 184, 166, 0.12);
  color: var(--text);
}

.exchange-card {
  margin-top: auto;
  padding: 16px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading.compact {
  align-items: center;
  margin-bottom: 8px;
}

.content-panel {
  min-width: 0;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -22px -22px 20px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.74) 72%, transparent);
  backdrop-filter: blur(12px);
}

.currency-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted-strong);
  font-size: 0.9rem;
}

select,
input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.86);
  color: var(--text);
  outline: none;
}

select {
  padding: 10px 12px;
}

input {
  padding: 12px 13px;
}

select:focus,
input:focus {
  border-color: rgba(20, 184, 166, 0.62);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.currency-switcher select {
  width: 88px;
  border-radius: 999px;
  background: #020617;
}

.dashboard-grid,
.workspace-grid,
.charts-grid {
  display: grid;
  gap: 18px;
}

.dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.workspace-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  margin-bottom: 18px;
}

.charts-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.stat-card,
.panel-card {
  padding: 20px;
}

.wide-card {
  grid-column: span 2;
}

.hero-card {
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(99, 102, 241, 0.16)),
    var(--panel);
}

.hero-number {
  display: block;
  margin-top: 4px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.07em;
}

.stat-number {
  display: block;
  margin: 8px 0 8px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.05em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.14);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill.good {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

.status-pill.warn {
  background: rgba(249, 115, 22, 0.15);
  color: #fdba74;
}

.quick-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.quick-metrics span {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.24);
}

.quick-metrics i {
  color: var(--teal);
}

.quick-metrics strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-metrics small,
.transaction-item small {
  color: var(--muted);
}

.progress-track {
  width: 100%;
  height: 9px;
  margin: 14px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--green));
  transition: width 0.35s ease;
}

.entry-form,
.settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.settings-form {
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.full-field {
  grid-column: 1 / -1;
}

.primary-button,
.secondary-button,
.ghost-button,
.danger-button,
.icon-button,
.bottom-add-button {
  border: 0;
  border-radius: 14px;
  color: var(--text);
  font-weight: 800;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.danger-button:hover,
.icon-button:hover,
.bottom-add-button:hover {
  transform: translateY(-1px);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--teal), var(--indigo));
}

.secondary-button,
.ghost-button,
.danger-button {
  padding: 11px 14px;
}

.secondary-button {
  background: rgba(20, 184, 166, 0.18);
  color: #99f6e4;
}

.ghost-button {
  border: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.09);
  color: var(--muted-strong);
}

.danger-button {
  border: 1px solid rgba(244, 63, 94, 0.25);
  background: rgba(244, 63, 94, 0.1);
  color: #fda4af;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.1);
}

.spinning i {
  animation: spin 1s linear infinite;
}

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

.rate-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.rate-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.rate-list dt {
  color: var(--muted);
}

.rate-list dd {
  margin: 0;
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.feature-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(2, 6, 23, 0.18);
  color: var(--muted-strong);
}

.cloud-sync-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(20, 184, 166, 0.26);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(99, 102, 241, 0.08));
}

.cloud-sync-card h4 {
  margin: 0;
}

.cloud-sync-card .feature-list {
  margin-top: 0;
}

.feature-list i {
  color: var(--teal);
}

.chart-card canvas {
  width: 100% !important;
  max-height: 320px;
}

.transactions-card {
  margin-bottom: 20px;
}

.wrap-heading {
  flex-wrap: wrap;
  align-items: center;
}

.action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.search-field {
  position: relative;
  display: block;
  min-width: min(330px, 100%);
}

.search-field i {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  color: var(--muted);
}

.search-field input {
  padding-left: 38px;
}

.transaction-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.transaction-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 36px;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.2);
}

.transaction-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(148, 163, 184, 0.12);
}

.transaction-icon.income { color: var(--green); background: rgba(34, 197, 94, 0.12); }
.transaction-icon.expense { color: var(--orange); background: rgba(249, 115, 22, 0.12); }
.transaction-icon.savings { color: var(--teal); background: rgba(20, 184, 166, 0.12); }
.transaction-icon.debt { color: var(--rose); background: rgba(244, 63, 94, 0.12); }
.transaction-icon.debtPayment { color: var(--indigo); background: rgba(99, 102, 241, 0.12); }

.transaction-copy,
.transaction-amount {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.transaction-copy strong,
.transaction-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transaction-amount {
  text-align: right;
}

.delete-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.09);
  color: var(--muted);
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.empty-state i {
  font-size: 2rem;
}

.mobile-only {
  display: none;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: fixed;
    top: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 20;
    width: min(330px, calc(100vw - 24px));
    height: auto;
    transform: translateX(calc(-100% - 22px));
    transition: transform 0.24s ease;
  }

  .side-panel.open {
    transform: translateX(0);
  }

  .mobile-only {
    display: grid;
  }

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

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

  .top-bar {
    margin: -14px -14px 14px;
    padding: 14px;
  }

  .workspace-grid,
  .charts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .top-bar {
    align-items: flex-start;
  }

  .currency-switcher {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    border-radius: 18px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-column: span 1;
  }

  .quick-metrics,
  .entry-form {
    grid-template-columns: 1fr;
  }

  .transaction-item {
    grid-template-columns: 42px minmax(0, 1fr) 68px;
  }

  .transaction-amount {
    grid-column: 2 / -1;
    text-align: left;
  }

  .transaction-actions {
    grid-column: 3;
    grid-row: 1;
  }
}

.hidden {
  display: none !important;
}

.page-section {
  display: none !important;
}

.page-section.active-page {
  display: block !important;
  animation: pageFade 0.22s ease;
}

.dashboard-grid.page-section.active-page,
.workspace-grid.page-section.active-page,
.charts-grid.page-section.active-page {
  display: grid !important;
}

@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.side-panel {
  overflow: auto;
}

.sync-card,
#wallets-section,
#automation-section,
#customize-section,
#privacy-section {
  margin-bottom: 18px;
}

.sync-summary-grid,
.wallet-grid,
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.sync-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.sync-columns article,
.mini-stat,
.wallet-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.2);
}

.sync-columns article {
  padding: 15px;
}

.sync-columns h4,
.wallet-card h4 {
  margin: 0 0 10px;
}

.mini-stat {
  display: grid;
  gap: 7px;
  padding: 15px;
}

.mini-stat span,
.mini-stat small,
.breakdown-list small,
.form-note {
  color: var(--muted);
}

.mini-stat strong {
  font-size: 1.35rem;
}

.breakdown-list {
  display: grid;
  gap: 9px;
}

.breakdown-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.breakdown-list span {
  display: grid;
  gap: 3px;
}

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

.wallet-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.wallet-flag {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: rgba(148, 163, 184, 0.1);
  font-size: 1.45rem;
}

.full-span {
  grid-column: 1 / -1;
}

.insight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.insight-list li {
  display: flex;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.18);
  color: var(--muted-strong);
  line-height: 1.45;
}

.insight-list i {
  color: var(--yellow);
  margin-top: 2px;
}

.type-pills,
.form-actions,
.mini-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.type-pills {
  margin-bottom: 13px;
}

.type-pills button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(148, 163, 184, 0.09);
  color: var(--muted-strong);
  font-weight: 800;
}

.type-pills button.active {
  border-color: rgba(20, 184, 166, 0.45);
  background: rgba(20, 184, 166, 0.16);
  color: var(--text);
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 49px;
  padding: 0 2px;
}

.toggle-row input {
  width: auto;
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) repeat(4, minmax(140px, 1fr));
  gap: 9px;
  margin-bottom: 14px;
}

.transaction-actions {
  display: flex;
  gap: 6px;
}

.edit-button,
.delete-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.09);
  color: var(--muted);
}

.edit-button {
  color: #99f6e4;
}

.transaction-copy em {
  color: #fde68a;
  font-style: normal;
}

.fx-calculator {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.fx-result {
  display: block;
  padding: 11px;
  border-radius: 14px;
  background: rgba(20, 184, 166, 0.12);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.09);
  color: var(--muted-strong);
}

.tag button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.14);
  color: #fda4af;
}

.import-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(148, 163, 184, 0.09);
  color: var(--muted-strong);
  font-weight: 800;
  cursor: pointer;
}

.import-label input {
  display: none;
}

.privacy-grid {
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1fr);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(14px);
}

.modal-card {
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.compact-modal {
  width: min(390px, 100%);
}

.danger-text {
  color: #fda4af;
}

.bottom-nav,
.quick-add-backdrop {
  display: none;
}

.quick-close-button {
  display: none;
}

.quick-add-open {
  overflow: hidden;
}

.quick-add-open .quick-add-backdrop {
  position: fixed;
  inset: 0;
  z-index: 38;
  display: block;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(10px);
}

.quick-add-open #planning-section {
  display: block !important;
  height: 0;
  margin: 0;
  overflow: visible;
}

.quick-add-open #planning-section .settings-card,
.quick-add-open #automation-section {
  display: none !important;
}

.quick-add-open #entry-section {
  position: fixed;
  right: clamp(14px, 4vw, 40px);
  bottom: clamp(14px, 4vw, 40px);
  z-index: 45;
  display: block !important;
  width: min(760px, calc(100vw - 28px));
  max-height: min(86vh, 760px);
  overflow: auto;
  border-color: rgba(20, 184, 166, 0.42);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  animation: quickSheetIn 0.24s ease;
}

.quick-add-open .quick-close-button {
  display: inline-flex;
}

@keyframes quickSheetIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1180px) {
  .side-panel {
    padding-bottom: 22px;
  }

  .sync-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-grid,
  .sync-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 840px) {
  body {
    padding-bottom: 78px;
  }

  .sync-summary-grid,
  .wallet-grid,
  .privacy-grid,
  .insight-list,
  .filter-grid,
  .sync-columns {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(8, 15, 29, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }

  .bottom-nav a,
  .bottom-add-button {
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 8px 4px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: var(--muted-strong);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 800;
  }

  .bottom-nav a.active,
  .bottom-nav a:hover,
  .bottom-add-button:hover {
    background: rgba(20, 184, 166, 0.12);
    color: var(--text);
  }

  .bottom-add-button {
    color: white;
    background: linear-gradient(135deg, var(--teal), var(--indigo));
    transform: translateY(-12px);
    box-shadow: 0 14px 32px rgba(20, 184, 166, 0.28);
  }

  .bottom-nav i {
    color: var(--teal);
    font-size: 1rem;
  }

  .bottom-add-button i {
    color: white;
  }

  .quick-add-open #entry-section {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 86vh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 28px 28px 0 0;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .wallet-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .wallet-card strong {
    grid-column: 2;
  }

  .type-pills button {
    flex: 1 1 45%;
  }

  .form-actions button {
    width: 100%;
  }

  .quick-add-open #entry-section .section-heading {
    position: sticky;
    top: -20px;
    z-index: 2;
    padding-top: 4px;
    background: linear-gradient(180deg, var(--panel-solid), rgba(16, 27, 47, 0.9));
    backdrop-filter: blur(12px);
  }
}

