@charset "UTF-8";

/* src/styles.scss */
:root {
  --sidebar-w:236px;
  --topbar-h:64px;
  --maxw:1320px;
  --mob-nav-h:63px;
}
[data-theme=dark] {
  --ink:#0E120F;
  --canvas:#141A16;
  --surface:#1A211C;
  --surface-2:#1E2620;
  --hair:#2A332C;
  --hair-soft:#222A24;
  --text-1:#F2F0E9;
  --text-2:#A7ADA4;
  --text-3:#6E756C;
  --pop:#DCEE4B;
  --pop-ink:#181B0C;
  --pop-soft:#23280F;
  --green:#8FBF6F;
  --amber:#D9B45A;
  --acct-1:#DCEE4B;
  --acct-2:#5E8C72;
  --acct-3:#7A7FB0;
  --glow:rgba(220,238,75,.05);
  --grain:rgba(255,255,255,.018);
  --shadow:rgba(0,0,0,.4);
}
[data-theme=neutral] {
  --ink:#EDEAE2;
  --canvas:#F4F1E9;
  --surface:#FAF8F2;
  --surface-2:#EFEBE1;
  --hair:#D8D2C4;
  --hair-soft:#E4DFD3;
  --text-1:#2B2820;
  --text-2:#6B665A;
  --text-3:#9A9486;
  --pop:#8A8B3D;
  --pop-ink:#FBFAF4;
  --pop-soft:#EEEFD8;
  --green:#6E8A3D;
  --amber:#B0822E;
  --acct-1:#8A8B3D;
  --acct-2:#7E8A6A;
  --acct-3:#8A86A0;
  --glow:rgba(138,139,61,.05);
  --grain:rgba(0,0,0,.012);
  --shadow:rgba(80,74,58,.12);
}
[data-theme=masculine] {
  --ink:#E4E8EA;
  --canvas:#ECEFF1;
  --surface:#F6F8F9;
  --surface-2:#E6EBED;
  --hair:#CDD4D8;
  --hair-soft:#DAE0E3;
  --text-1:#22292E;
  --text-2:#5C666D;
  --text-3:#919BA1;
  --pop:#3E7C82;
  --pop-ink:#F4F8F8;
  --pop-soft:#DCEAEB;
  --green:#3E7C82;
  --amber:#B0822E;
  --acct-1:#3E7C82;
  --acct-2:#5E7E8C;
  --acct-3:#7C8294;
  --glow:rgba(62,124,130,.05);
  --grain:rgba(0,0,0,.012);
  --shadow:rgba(34,41,46,.12);
}
[data-theme=feminine] {
  --ink:#F2EAEA;
  --canvas:#F7F0EF;
  --surface:#FCF6F5;
  --surface-2:#F1E7E7;
  --hair:#E2D2D2;
  --hair-soft:#ECDFDF;
  --text-1:#33272A;
  --text-2:#766063;
  --text-3:#A89496;
  --pop:#B0656F;
  --pop-ink:#FBF4F4;
  --pop-soft:#F2E2E4;
  --green:#8A7D5C;
  --amber:#B0822E;
  --acct-1:#B0656F;
  --acct-2:#A07E86;
  --acct-3:#8C82A0;
  --glow:rgba(176,101,111,.05);
  --grain:rgba(0,0,0,.01);
  --shadow:rgba(51,39,42,.12);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
html {
  overflow-x: hidden;
}
body {
  font-family: "Hanken Grotesk", sans-serif;
  background: var(--canvas);
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--pop);
  color: var(--pop-ink);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      120% 90% at 88% -12%,
      var(--glow),
      transparent 55%),
    radial-gradient(
      100% 80% at -5% 110%,
      var(--grain),
      transparent 60%);
}
em {
  font-style: normal;
}
.shell {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}
.sidebar {
  width: var(--sidebar-w);
  background: var(--ink);
  border-right: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
}
.sidebar-brand {
  padding: 24px 22px 20px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.brand-name {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--text-1);
}
.brand-name em {
  color: var(--pop);
}
.brand-sub {
  margin-left: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: var(--text-3);
  text-transform: uppercase;
  align-self: center;
}
.nav-group {
  padding: 14px 16px 2px;
}
.nav-group-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 10px;
  margin-bottom: 9px;
}
.nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
  color: var(--text-2);
  text-align: left;
  transition: color 0.16s;
  position: relative;
  letter-spacing: 0.1px;
  white-space: nowrap;
}
.nav-icon {
  font-size: 13px;
  width: 16px;
  flex-shrink: 0;
  color: var(--text-3);
  transition: color 0.16s;
  display: inline-flex;
  justify-content: center;
}
.nav-btn:hover {
  color: var(--text-1);
}
.nav-btn:hover .nav-icon {
  color: var(--text-2);
}
.nav-btn.active {
  color: var(--text-1);
}
.nav-btn.active .nav-icon {
  color: var(--pop);
}
.nav-btn.active::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 15px;
  background: var(--pop);
}
.nav-pill {
  margin-left: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--pop-ink);
  background: var(--pop);
  border-radius: 2px;
  padding: 1px 6px;
  font-weight: 500;
}
.sidebar-footer {
  margin-top: auto;
  padding: 16px 16px 20px;
  border-top: 1px solid var(--hair);
}
.sidebar-footer-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 10px;
  margin-bottom: 10px;
}
.acct-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  cursor: pointer;
  transition: opacity 0.15s;
  border-radius: 4px;
}
.acct-chip:hover {
  opacity: 0.72;
}
.acct-chip.active-filter {
  background: var(--pop-soft);
}
.acct-chip.active-filter .acct-chip-name {
  color: var(--text-1);
}
.acct-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.acct-chip-name {
  font-size: 12.5px;
  color: var(--text-2);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acct-chip-val {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  color: var(--text-3);
}
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  max-width: calc(100vw - var(--sidebar-w));
  display: flex;
  flex-direction: column;
}
.topbar {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  border-bottom: 1px solid var(--hair);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--canvas) 84%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 50;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.topbar-title {
  font-family: "Fraunces", serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.filter-badge {
  display: none;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.5px;
  color: var(--pop);
  border: 1px solid var(--pop);
  border-radius: 3px;
  padding: 3px 9px;
  text-transform: uppercase;
}
.filter-badge:hover {
  background: var(--pop-soft);
}
.topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn-pop,
.btn-ghost,
.btn-text,
.btn-link {
  font-family: "Hanken Grotesk", sans-serif;
  cursor: pointer;
  transition: all 0.16s;
}
.btn-pop {
  background: var(--pop);
  border: 1px solid var(--pop);
  color: var(--pop-ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border-radius: 3px;
  padding: 9px 16px;
  white-space: nowrap;
}
.btn-pop:hover {
  background: transparent;
  color: var(--pop);
}
.btn-ghost {
  background: none;
  border: 1px solid var(--hair);
  color: var(--text-2);
  font-size: 13px;
  letter-spacing: 0.2px;
  border-radius: 3px;
  padding: 9px 16px;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--text-3);
  color: var(--text-1);
}
.btn-text {
  background: none;
  border: none;
  color: var(--pop);
  cursor: pointer;
  font-size: 14px;
  padding: 0;
}
.btn-link {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.page {
  padding: 36px 36px 56px;
  flex: 1;
  max-width: var(--maxw);
  width: 100%;
}
.page:has(#page-pending.active) {
  max-width: none;
  padding-left: 40px;
  padding-right: 40px;
}
.page-view {
  display: none;
}
.page-view.active {
  display: block;
}
.page-view.active.dash-flex {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.page-view.active.pending-flex {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.page-view h2 {
  font-family: "Fraunces", serif !important;
}
.panel {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.panel + .panel {
  margin-top: 34px;
}
.pr-track .panel + .panel {
  margin-top: 0;
}
.panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 6px;
}
.panel-title {
  font-family: "Fraunces", serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text-1);
}
.panel-link {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 12.5px;
  color: var(--pop);
  cursor: pointer;
}
.panel-link:hover {
  opacity: 0.75;
}
.dash-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  flex: 1;
  min-height: 0;
  margin-top: 6px;
}
.dash-left {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.panel-grow {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.table-scroll {
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.stat-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 0;
  padding: 6px 0 32px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 34px;
}
.stat-card {
  padding: 0 30px;
  border-left: 1px solid var(--hair);
}
.stat-card:first-child {
  padding-left: 0;
  border-left: none;
}
.stat-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 15px;
}
.stat-value {
  font-family: "Familjen Grotesk", sans-serif;
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -1px;
  color: var(--text-1);
  font-feature-settings: "tnum" 1;
}
.stat-value.mono {
  font-family: "Familjen Grotesk", sans-serif;
}
.pop-card .stat-value {
  font-size: 58px;
  letter-spacing: -1.5px;
}
.stat-card:not(.pop-card) .stat-value {
  font-size: 38px;
}
.stat-footnote {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  margin-top: 13px;
  color: var(--text-3);
}
.stat-footnote .hi {
  color: var(--pop);
}
.xt {
  width: 100%;
  border-collapse: collapse;
}
.xt thead th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 400;
  text-align: left;
  padding: 0 14px 12px;
  border-bottom: 1px solid var(--hair);
  white-space: nowrap;
}
.xt thead th.sortable {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.xt thead th.sortable:hover {
  color: var(--text-2);
}
.sort-ind {
  margin-left: 4px;
  color: var(--pop);
}
.xt tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--hair-soft);
  vertical-align: top;
}
.xt tbody tr {
  transition: background 0.14s;
}
.xt tbody tr:hover {
  background: var(--surface);
}
.xt tbody tr:hover .tx-name {
  color: var(--pop);
}
.tx-name {
  font-size: 14px;
  color: var(--text-1);
  transition: color 0.14s;
}
.tx-sub {
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 2px;
}
.tx-sub-empty {
  display: none;
}
.tx-amount {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: var(--text-1);
  text-align: right;
  white-space: nowrap;
}
.tx-edit {
  cursor: pointer;
  color: var(--text-3);
  font-size: 14px;
}
.tx-edit:hover {
  color: var(--pop);
}
.recent-tx {
  table-layout: fixed;
  width: 100%;
}
.recent-tx .td-date {
  font-family: "IBM Plex Mono", monospace;
  color: var(--text-3);
  white-space: nowrap;
  width: 72px;
}
.recent-tx .td-date .d-dm {
  display: block;
  font-size: 12px;
  color: var(--text-2);
}
.recent-tx .td-date .d-yr {
  display: block;
  font-size: 10.5px;
  color: var(--text-3);
  margin-top: 1px;
}
.recent-tx .td-vendor {
  max-width: 0;
}
.recent-tx .td-meta {
  width: 168px;
}
.recent-tx .tx-amount {
  width: 96px;
}
.recent-tx .td-act {
  width: 62px;
  text-align: right;
  white-space: nowrap;
}
.recent-tx thead th.th-amount {
  width: 96px;
  text-align: right;
}
.all-tx .col-date {
  width: 108px;
}
.all-tx .col-vendor {
  width: auto;
}
.all-tx .col-meta {
  width: 168px;
}
.all-tx .col-amount {
  width: 96px;
}
.all-tx .col-act {
  width: 62px;
}
.all-sticky {
  position: sticky;
  top: var(--topbar-h);
  z-index: 30;
  background: var(--canvas);
  padding-top: 6px;
}
.page:has(#page-all.active) {
  padding-top: 0;
}
#page-all.active {
  padding-top: 0;
}
.all-sticky .filter-bar {
  margin-bottom: 14px;
}
.all-sticky thead th {
  border-bottom: 1px solid var(--hair);
}
.xt tfoot td {
  padding: 14px;
  border-top: 1px solid var(--hair);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-2);
}
.cat-badge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 2px 0;
  position: relative;
}
.cat-badge::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-3);
  margin-right: 7px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.cb-meals::before {
  background: var(--amber);
}
.cb-travel::before {
  background: var(--acct-3);
}
.cb-software::before {
  background: var(--pop);
}
.cb-supplies::before {
  background: var(--acct-2);
}
.cb-utilities::before {
  background: var(--green);
}
.cb-marketing::before {
  background: var(--neg, var(--amber));
}
.cb-other::before {
  background: var(--text-3);
}
.acct-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-2);
}
.acct-inline .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.trunc {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tx-name.trunc,
.tx-sub.trunc {
  display: block;
  max-width: 100%;
}
.tx-meta-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.tx-meta-stack .cat-badge,
.tx-meta-stack .acct-inline {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-tx tbody td {
  line-height: 18px;
  vertical-align: top;
}
.recent-tx .td-date .d-dm,
.recent-tx .td-vendor .tx-name,
.tx-meta-stack .cat-badge {
  line-height: 18px;
  display: block;
}
.recent-tx .td-date .d-yr {
  line-height: 15px;
}
.recent-tx .td-vendor .tx-sub {
  line-height: 16px;
}
.has-tip {
  cursor: default;
}
#vl-tip {
  position: fixed;
  z-index: 400;
  max-width: 260px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 7px;
  padding: 10px 12px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-1);
  box-shadow: 0 12px 32px var(--shadow);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.14s, transform 0.14s;
  white-space: normal;
  word-break: break-word;
}
#vl-tip.open {
  opacity: 1;
  transform: none;
}
#vl-tip::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--surface);
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  transform: rotate(45deg);
}
#vl-tip[data-side=top]::after {
  bottom: -5px;
  left: var(--tip-ax, 50%);
  margin-left: -4px;
}
#vl-tip[data-side=bottom]::after {
  top: -5px;
  left: var(--tip-ax, 50%);
  margin-left: -4px;
  border: none;
  border-left: 1px solid var(--hair);
  border-top: 1px solid var(--hair);
}
.pend-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--hair-soft);
  cursor: pointer;
  transition: padding-left 0.18s;
}
.pend-item:hover {
  padding-left: 6px;
}
.pend-item:last-child {
  border-bottom: none;
}
.pend-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.pend-vendor {
  font-size: 14px;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pend-item:hover .pend-vendor {
  color: var(--pop);
}
.pend-amount {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--text-2);
}
.pend-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
}
.pend-date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  color: var(--text-3);
}
.status-pill {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 2px;
}
.sp-pending {
  background: var(--pop-soft);
  color: var(--pop);
}
.receipt-flag {
  font-size: 11px;
  opacity: 0.7;
}
.acct-bar-row {
  margin-bottom: 18px;
}
.acct-bar-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 8px;
}
.acct-bar-sub {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bar-track {
  flex: 1;
  height: 2px;
  background: var(--hair);
  position: relative;
  overflow: hidden;
}
.bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.acct-bar-val {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--text-2);
  white-space: nowrap;
}
.ne-line,
.pr-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  border-bottom: none;
}
.pr-line {
  padding: 6px 0;
}
.ne-line.tall {
  align-items: flex-start;
}
.ne-label,
.pr-line-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
  width: 74px;
  flex-shrink: 0;
}
.pr-line-label {
  width: 62px;
}
.ne-edit,
.pr-edit {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14.5px;
  color: var(--text-1);
  padding: 4px 0;
  outline: none;
  transition: border-color 0.16s;
}
.ne-edit::placeholder,
.pr-edit::placeholder {
  color: var(--text-3);
}
.ne-notes-line {
  align-items: stretch;
}
.ne-notes {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14.5px;
  color: var(--text-1);
  line-height: 1.5;
  resize: none;
  outline: none;
  height: calc(4.5em + 8px);
  padding: 4px 0;
  transition: border-color 0.16s;
  overflow-y: auto;
}
.ne-notes:hover {
  border-bottom-color: var(--hair);
}
.ne-notes:focus {
  border-bottom-color: var(--pop);
}
.ne-notes::placeholder {
  color: var(--text-3);
}
.ne-edit:hover,
.pr-edit:hover {
  border-bottom-color: var(--hair);
}
.ne-edit:focus,
.pr-edit:focus {
  border-bottom-color: var(--pop);
}
.ne-edit.mono,
.pr-edit.mono {
  font-family: "IBM Plex Mono", monospace;
}
select.ne-edit,
select.pr-edit {
  cursor: pointer;
  color: var(--text-1);
}
.ne-edit[type=date],
.pr-edit[type=date] {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--text-2);
}
.ne-edit[type=date] {
  flex: 0 0 auto;
  width: auto;
  max-width: 200px;
}
.ne-edit[type=date]::-webkit-calendar-picker-indicator {
  margin-left: 6px;
}
.ne-edit[type=date]::-webkit-calendar-picker-indicator,
.me-input[type=date]::-webkit-calendar-picker-indicator,
.pr-edit[type=date]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  filter: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DCEE4B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
[data-theme=neutral] .ne-edit[type=date]::-webkit-calendar-picker-indicator,
[data-theme=neutral] .me-input[type=date]::-webkit-calendar-picker-indicator,
[data-theme=neutral] .pr-edit[type=date]::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A8B3D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}
[data-theme=masculine] .ne-edit[type=date]::-webkit-calendar-picker-indicator,
[data-theme=masculine] .me-input[type=date]::-webkit-calendar-picker-indicator,
[data-theme=masculine] .pr-edit[type=date]::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E7C82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}
[data-theme=feminine] .ne-edit[type=date]::-webkit-calendar-picker-indicator,
[data-theme=feminine] .me-input[type=date]::-webkit-calendar-picker-indicator,
[data-theme=feminine] .pr-edit[type=date]::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0656F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}
.ne-amt,
.pr-amt {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}
.ne-amt .cur,
.pr-amt .cur {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-3);
}
.ne-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  flex-wrap: wrap;
}
.ne-posting {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.posting-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-3);
}
.ne-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ne-cancel {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 13px;
  cursor: pointer;
  font-family: "Hanken Grotesk", sans-serif;
}
.ne-cancel:hover {
  color: var(--text-1);
}
.ne-save {
  background: var(--pop);
  border: 1px solid var(--pop);
  color: var(--pop-ink);
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: "Hanken Grotesk", sans-serif;
}
.ne-save:hover {
  background: transparent;
  color: var(--pop);
}
.manual-wrap {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.me-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 6px;
}
.me-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
}
.me-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.me-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-3);
}
.me-input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--hair);
  border-radius: 0;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-1);
  height: 42px;
  box-sizing: border-box;
  padding: 8px 2px;
  outline: none;
  transition: border-color 0.16s, background 0.16s;
  -webkit-appearance: none;
  appearance: none;
}
.me-input::placeholder {
  color: var(--text-3);
}
.me-input:hover {
  border-bottom-color: var(--hair-soft);
}
.me-input:focus,
.me-input:focus-visible {
  outline: none;
  box-shadow: none;
  border-bottom-color: var(--pop);
  background: var(--surface-2);
}
.me-input.mono {
  font-family: "IBM Plex Mono", monospace;
}
select.me-input {
  cursor: pointer;
}
.me-input[type=date] {
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  line-height: 24px;
  height: 42px;
  color: var(--text-1);
  display: block;
}
.me-input[type=date]::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
}
.me-amt-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--hair);
  height: 42px;
  box-sizing: border-box;
  padding: 8px 2px;
  transition: border-color 0.16s, background 0.16s;
}
.me-amt-wrap:hover {
  border-bottom-color: var(--hair-soft);
}
.me-amt-wrap:focus-within {
  border-bottom-color: var(--pop);
  background: var(--surface-2);
}
.me-cur {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-3);
  flex-shrink: 0;
}
.me-amt {
  border: none !important;
  padding: 0 !important;
  flex: 1;
  font-size: 16px;
  line-height: 24px;
  height: 24px;
  background: none !important;
}
.me-amt:focus {
  background: none !important;
}
.me-notes {
  resize: none;
  line-height: 1.55;
  height: calc(4.65em + 16px);
  overflow-y: auto;
}
.me-notes:focus {
  background: var(--surface-2);
}
.me-form .cat-wrap {
  position: relative;
}
.ed-audit {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.3px;
  padding: 14px 0 2px;
  margin-top: 6px;
  border-top: 1px solid var(--hair-soft);
}
.ai-token-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ai-token-state {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-1);
}
.ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  flex-shrink: 0;
}
.ai-dot-on {
  background: var(--pop);
}
.ai-dot-off {
  background: var(--text-3);
}
.mc-token-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.me-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  flex-wrap: wrap;
}
.me-posting {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.me-posting-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-3);
}
.me-acct-btn {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 15px;
  color: var(--text-1);
  cursor: pointer;
}
.me-acct-btn:hover {
  color: var(--pop);
}
.me-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.me-cancel {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 14px;
  cursor: pointer;
  font-family: "Hanken Grotesk", sans-serif;
  padding: 10px 8px;
}
.me-cancel:hover {
  color: var(--text-1);
}
.me-save {
  background: var(--pop);
  border: 1px solid var(--pop);
  color: var(--pop-ink);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  padding: 11px 22px;
  cursor: pointer;
  font-family: "Hanken Grotesk", sans-serif;
  transition: background 0.16s, color 0.16s;
}
.me-save:hover {
  background: transparent;
  color: var(--pop);
}
.drop-zone {
  border: 1px dashed var(--hair);
  border-radius: 4px;
  padding: 24px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.16s;
}
.drop-zone:hover {
  border-color: var(--pop);
}
.scan-empty-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48vh;
}
#scan-step-1.has-photos .panel {
  padding-top: 22px;
}
.scan-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.drop-icon {
  font-size: 24px;
  margin-bottom: 8px;
  opacity: 0.7;
}
.drop-text {
  font-size: 13.5px;
  color: var(--text-2);
}
.drop-sub {
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 4px;
}
.ne-receipt-prev {
  margin-top: 12px;
  position: relative;
  display: inline-block;
}
.ne-receipt-prev img {
  max-width: 140px;
  max-height: 140px;
  width: auto;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--hair);
  cursor: pointer;
  display: block;
  object-fit: cover;
}
.ne-receipt-clear {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ne-receipt-clear:hover {
  color: var(--text-1);
  border-color: var(--text-3);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 7px;
}
.form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 3px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
  color: var(--text-1);
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.16s;
}
.form-input:focus {
  border-color: var(--pop);
}
.form-input::placeholder {
  color: var(--text-3);
}
select.form-input {
  cursor: pointer;
}
.amount-wrap {
  position: relative;
}
.amount-prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-3);
}
.amount-input {
  padding-left: 42px;
  font-family: "IBM Plex Mono", monospace;
}
.filter-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-select {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 3px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 13px;
  color: var(--text-1);
  padding: 8px 11px;
  outline: none;
  transition: border-color 0.16s;
}
.filter-select:focus {
  border-color: var(--pop);
}
.cat-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.cat-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 4px;
  box-shadow: 0 8px 24px var(--shadow);
  z-index: 30;
  max-height: 200px;
  overflow: auto;
}
.cat-dropdown.open {
  display: block;
}
.cat-option {
  padding: 9px 13px;
  font-size: 13.5px;
  color: var(--text-2);
  cursor: pointer;
}
.cat-option:hover,
.cat-option.highlighted {
  background: var(--pop-soft);
  color: var(--text-1);
}
.cat-option.add-new {
  color: var(--pop);
  border-top: 1px solid var(--hair-soft);
}
.cat-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.vend-opt-kw {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.vend-matched {
  color: var(--pop);
  font-size: 9px;
  vertical-align: middle;
}
.vend-sugg {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}
.vend-sugg-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-3);
}
.vend-sugg-chip {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 11.5px;
  color: var(--pop);
  background: var(--pop-soft);
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 3px 10px;
  cursor: pointer;
  transition: border-color 0.14s;
}
.vend-sugg-chip:hover {
  border-color: var(--pop);
}
.vendor-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hair-soft);
}
.vendor-row:last-of-type {
  border-bottom: none;
}
.vendor-info {
  flex: 1;
  min-width: 0;
}
.vendor-nm {
  font-size: 14px;
  color: var(--text-1);
}
.vendor-kws {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}
.vendor-kw {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--text-2);
  background: var(--surface-2);
  border-radius: 3px;
  padding: 1px 6px;
}
.vendor-kw .x {
  color: var(--text-3);
  margin-left: 4px;
  cursor: pointer;
}
.vendor-kw .x:hover {
  color: var(--text-1);
}
.vendor-addkw {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--pop);
  background: none;
  border: 1px dashed var(--hair);
  border-radius: 3px;
  padding: 1px 7px;
  cursor: pointer;
}
.pending-center {
  margin: 0;
  padding-top: calc((100vh - var(--topbar-h)) * 0.12);
}
.pr-grid {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.3s;
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0,
      #000 28px,
      #000 calc(100% - 28px),
      transparent 100%);
  mask-image:
    linear-gradient(
      to right,
      transparent 0,
      #000 28px,
      #000 calc(100% - 28px),
      transparent 100%);
}
.pr-grid:hover,
.pr-grid:focus-within {
  scrollbar-color: var(--hair) transparent;
}
.pr-grid::-webkit-scrollbar {
  height: 7px;
}
.pr-grid::-webkit-scrollbar-track {
  background: transparent;
}
.pr-grid::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
  transition: background 0.3s;
}
.pr-grid:hover::-webkit-scrollbar-thumb,
.pr-grid:focus-within::-webkit-scrollbar-thumb {
  background: var(--hair);
}
.pr-track {
  display: flex;
  gap: 0;
  align-items: stretch;
  width: max-content;
  padding: 0;
}
.pr-card {
  flex: 0 0 300px;
  background: none;
  border: none;
  border-left: 1px solid var(--hair);
  border-radius: 0;
  padding: 0 26px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.pr-card:first-child {
  border-left: none;
  padding-left: 4px;
}
.pr-body {
  padding: 0 0 2px;
}
.pr-receipt {
  height: 240px;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 18px;
  cursor: pointer;
  position: relative;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pr-receipt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}
.pr-receipt.is-empty {
  font-size: 34px;
  opacity: 0.4;
  cursor: default;
}
.pr-zoom {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: color-mix(in srgb, var(--ink) 80%, transparent);
  color: var(--text-1);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.16s;
}
.pr-receipt:hover .pr-zoom {
  opacity: 1;
}
.pr-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0 4px;
  border-top: 1px solid var(--hair-soft);
  margin-top: 14px;
}
.pr-remove {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 12.5px;
  cursor: pointer;
  font-family: "Hanken Grotesk", sans-serif;
}
.pr-remove:hover {
  color: var(--text-1);
}
.pr-confirm {
  background: var(--pop);
  border: 1px solid var(--pop);
  color: var(--pop-ink);
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 3px;
  padding: 7px 13px;
  cursor: pointer;
  font-family: "Hanken Grotesk", sans-serif;
}
.pr-confirm:hover {
  background: transparent;
  color: var(--pop);
}
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.thumb-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--hair);
}
.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 80%, transparent);
  color: var(--text-1);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}
.processing-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pop);
  margin: 0 3px;
  animation: pulse 1.2s infinite;
}
.processing-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.processing-dot:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  max-width: 780px;
  align-items: start;
}
.settings-grid .panel {
  margin-top: 0;
  display: flex;
  flex-direction: column;
}
.settings-grid .panel > [id^=settings-] {
  flex: 1;
  padding: 6px 0 !important;
}
.settings-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hair-soft);
}
.settings-row:last-child {
  border-bottom: none;
}
.settings-row-name {
  flex: 1;
  font-size: 14px;
  color: var(--text-1);
}
.settings-add {
  display: flex;
  gap: 8px;
  padding: 16px 0 0;
  border-top: 1px solid var(--hair);
  align-items: center;
  margin-top: auto;
}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 780px;
  margin-top: 6px;
}
.theme-card {
  border: 1px solid var(--hair);
  border-radius: 5px;
  padding: 0;
  cursor: pointer;
  background: none;
  text-align: left;
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
}
.theme-card:hover {
  border-color: var(--text-3);
  transform: translateY(-2px);
}
.theme-card.sel {
  border-color: var(--pop);
  border-width: 1.5px;
}
.theme-swatch {
  height: 66px;
  position: relative;
}
.theme-swatch .sw-accent {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
}
.theme-swatch .sw-bars {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.theme-swatch .sw-bar {
  height: 3px;
  border-radius: 2px;
}
.theme-meta {
  padding: 10px 12px;
  border-top: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.theme-nm {
  font-size: 12.5px;
  color: var(--text-1);
}
.theme-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
}
.theme-card.sel .theme-tag {
  color: var(--pop);
}
.settings-note {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 16px;
  max-width: 600px;
  line-height: 1.6;
}
.settings-sec-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 16px;
}
.mobile-account-sec {
  display: none;
  margin-bottom: 46px;
}
.ma-panel {
  padding: 20px;
}
.ma-id {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ma-id-text {
  min-width: 0;
}
.ma-name {
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
}
.ma-email {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ma-divider {
  height: 1px;
  background: var(--hair);
  margin: 18px 0;
}
.ma-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ma-row-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-3);
}
.ma-lang {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--hair);
  border-radius: 8px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 15px;
  color: var(--text-1);
  padding: 12px 14px;
  cursor: pointer;
  outline: none;
}
.ma-lang:focus {
  border-color: var(--pop);
}
.ma-signout {
  width: 100%;
  background: none;
  border: 1px solid var(--hair);
  border-radius: 8px;
  color: var(--text-2);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 15px;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.16s, color 0.16s;
}
.ma-signout:hover {
  border-color: var(--pop);
  color: var(--pop);
}
.empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-3);
}
.empty-icon {
  font-size: 26px;
  margin-bottom: 10px;
  opacity: 0.5;
}
.empty-text {
  font-size: 13.5px;
}
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--ink) 70%, transparent);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.overlay.open {
  display: flex;
}
.vl-modal {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 8px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px var(--shadow);
}
.vl-modal.wide {
  max-width: 560px;
}
.vl-modal.narrow {
  max-width: 380px;
}
.vl-modal-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--hair);
}
.vl-modal-title {
  font-family: "Fraunces", serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-1);
}
.vl-modal-close {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.vl-modal-close:hover {
  color: var(--text-1);
}
.vl-modal-body {
  padding: 22px;
  overflow-y: auto;
}
.vl-modal-footer {
  display: flex;
  align-items: center;
  padding: 16px 22px;
  border-top: 1px solid var(--hair);
  gap: 8px;
}
.vl-modal-footer .ml {
  margin-left: auto;
}
.acct-select-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.acct-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--hair);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.16s;
}
.acct-option:hover {
  border-color: var(--text-3);
}
.acct-option.selected {
  border-color: var(--pop);
  background: var(--pop-soft);
}
.acct-option-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.acct-option-name {
  font-size: 14px;
  color: var(--text-1);
}
.receipt-img-wrap {
  margin-bottom: 18px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--hair);
  max-height: 220px;
}
.receipt-img-wrap img {
  width: 100%;
  object-fit: contain;
  display: block;
}
.rv-viewer {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 8px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.rv-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hair);
}
.rv-viewer-cap {
  font-size: 14px;
  color: var(--text-1);
}
.rv-viewer-scroll {
  overflow: auto;
  padding: 18px;
  background: var(--surface-2);
}
.rv-viewer-scroll img {
  width: 100%;
  border-radius: 4px;
}
.mobile-nav {
  display: none;
}
.mob-popup-bg,
.mob-add-popup {
  display: none;
}
@media (max-width: 980px) {
  .dash-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 26px 0;
  }
  .stat-card {
    padding: 0 22px;
  }
  .stat-card:nth-child(odd) {
    padding-left: 0;
    border-left: none;
  }
}
@media (max-width: 760px) {
  .sidebar {
    display: none;
  }
  .main {
    margin-left: 0;
    max-width: 100vw;
  }
  .page {
    padding: 24px 26px 96px;
  }
  .topbar {
    padding: 0 26px;
  }
  .topbar-actions {
    display: none;
  }
  .stat-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 4px 0 22px;
    margin-bottom: 26px;
  }
  .stat-card {
    padding: 14px 0;
    border-left: none;
    border-top: 1px solid var(--hair);
  }
  .stat-card:first-child {
    padding-top: 0;
    border-top: none;
  }
  .pop-card .stat-value {
    font-size: 48px;
  }
  .stat-card:not(.pop-card) .stat-value {
    font-size: 32px;
  }
  .stat-label {
    margin-bottom: 10px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .theme-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pending-center {
    transform: none;
    margin: 0;
  }
  .page-view.active.pending-flex {
    display: block;
    flex: none;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    background: var(--ink);
    border-top: 1px solid var(--hair);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    align-items: stretch;
  }
  .mob-nav-btn {
    flex: 1;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 2px;
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 10px;
    color: var(--text-3);
    letter-spacing: 0.2px;
    transition: color 0.16s;
    position: relative;
  }
  .mob-nav-icon {
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
  }
  .mob-nav-icon svg {
    width: 23px;
    height: 23px;
    display: block;
  }
  .mob-nav-btn.active {
    color: var(--text-1);
  }
  .mob-nav-btn.active .mob-nav-icon {
    color: var(--pop);
  }
  .mob-nav-pill {
    position: absolute;
    top: 0;
    right: 50%;
    margin-right: -22px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 8px;
    background: var(--pop);
    color: var(--pop-ink);
    border-radius: 6px;
    padding: 0 4px;
    font-weight: 500;
  }
  #mob-add-btn {
    color: var(--text-3);
  }
  .mob-popup-bg {
    display: block;
    position: fixed;
    inset: 0;
    background: color-mix(in srgb, var(--ink) 60%, transparent);
    z-index: 130;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  .mob-popup-bg.open {
    opacity: 1;
    pointer-events: auto;
  }
  .mob-add-popup {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 84px;
    background: var(--surface);
    border: 1px solid var(--hair);
    border-radius: 10px;
    z-index: 140;
    overflow: hidden;
    transform: translateY(12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
    box-shadow: 0 16px 40px var(--shadow);
  }
  .mob-add-popup.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .mob-home-popup {
    left: 16px;
    right: auto;
    width: 200px;
  }
  .mob-popup-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    font-size: 15px;
    color: var(--text-1);
    cursor: pointer;
    border-bottom: 1px solid var(--hair-soft);
  }
  .mob-popup-item:last-child {
    border-bottom: none;
  }
  .mob-popup-item:hover {
    background: var(--pop-soft);
  }
  .mob-popup-icon {
    font-size: 17px;
    color: var(--pop);
  }
  .manual-wrap {
    max-width: 100%;
  }
  .me-row-split {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .me-form {
    gap: 20px;
    padding-bottom: 96px;
  }
  .me-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--mob-nav-h) + env(safe-area-inset-bottom));
    z-index: 115;
    margin: 0;
    padding: 14px 22px 14px;
    border-top: 1px solid var(--hair);
    background: var(--canvas);
    box-shadow: 0 -8px 24px var(--shadow);
    flex-wrap: nowrap;
    gap: 10px;
  }
  .me-footer .me-posting {
    min-width: 0;
    flex-shrink: 1;
  }
  .me-footer .me-acct-btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .me-footer .me-cancel {
    flex-shrink: 0;
    padding: 10px 4px;
  }
  .me-footer .me-save {
    flex-shrink: 0;
    white-space: nowrap;
  }
  #page-scan {
    padding-bottom: 0;
  }
  .scan-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--mob-nav-h) + env(safe-area-inset-bottom));
    z-index: 115;
    margin: 0;
    padding: 14px 26px;
    border-top: 1px solid var(--hair);
    background: var(--canvas);
    box-shadow: 0 -8px 24px var(--shadow);
  }
  #scan-step-1.has-photos .scan-panel {
    padding-bottom: 96px;
  }
  .all-sticky {
    margin-left: -26px;
    margin-right: -26px;
    padding-left: 26px;
    padding-right: 26px;
    background: var(--canvas);
    padding-top: 10px;
    box-shadow: 0 6px 16px -8px var(--shadow);
  }
  .all-sticky .all-tx {
    margin-left: 0;
    margin-right: 0;
  }
  .mobile-account-sec {
    display: block;
  }
  #page-pending .pending-center {
    padding-top: 0 !important;
  }
  #page-pending .pr-grid {
    overflow-x: hidden;
    overflow-y: visible;
    -webkit-mask-image: none;
    mask-image: none;
    padding-bottom: 0;
  }
  #page-pending .pr-track {
    flex-direction: column;
    width: auto;
    gap: 0;
    padding: 0;
  }
  #page-pending .pr-card {
    flex: 0 0 auto;
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--hair);
    padding: 26px 0;
  }
  #page-pending .pr-card:first-child {
    border-top: none;
    padding-top: 6px;
  }
  #page-pending .pr-receipt {
    height: 300px;
  }
  .recent-tx .td-date {
    width: 54px;
  }
  .recent-tx .td-date .d-dm {
    font-size: 11.5px;
  }
  .recent-tx .td-meta {
    width: 118px;
  }
  .recent-tx .tx-amount {
    width: 72px;
    font-size: 12.5px;
  }
  .recent-tx thead th.th-amount {
    width: 72px;
  }
  .recent-tx .td-act,
  .recent-tx thead th.td-act {
    display: none;
  }
  .all-tx .col-date {
    width: 54px;
  }
  .all-tx .col-meta {
    width: 118px;
  }
  .all-tx .col-amount {
    width: 72px;
  }
  .all-tx .col-act {
    width: 0;
  }
  .recent-tx thead th {
    padding-left: 0;
    padding-right: 6px;
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .recent-tx tbody td {
    padding: 13px 6px 13px 0;
  }
  .recent-tx .td-date {
    padding-right: 8px;
  }
  .recent-tx tbody td.tx-amount {
    padding-right: 0;
  }
  .recent-tx thead th.th-amount {
    padding-right: 0;
  }
  .all-tx tbody tr {
    cursor: pointer;
  }
}
body.master-open .mobile-nav,
body.master-open .mob-add-popup,
body.master-open .mob-home-popup,
body.master-open .mob-popup-bg {
  display: none !important;
}
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
.profile-wrap {
  position: relative;
}
.profile-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 1px solid var(--hair);
  border-radius: 30px;
  padding: 5px 12px 5px 6px;
  cursor: pointer;
  transition: border-color 0.16s;
  font-family: "Hanken Grotesk", sans-serif;
}
.profile-btn:hover {
  border-color: var(--text-3);
}
.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pop);
  color: var(--pop-ink);
  font-family: "Familjen Grotesk", sans-serif;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avatar.lg {
  width: 38px;
  height: 38px;
  font-size: 17px;
}
.profile-name {
  font-size: 13.5px;
  color: var(--text-1);
}
.profile-chev {
  font-size: 10px;
  color: var(--text-3);
}
.profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 248px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 8px;
  box-shadow: 0 16px 44px var(--shadow);
  z-index: 80;
  padding: 14px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.16s, transform 0.16s;
}
.profile-menu.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.pm-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 4px 12px;
}
.pm-id {
  min-width: 0;
}
.pm-name {
  font-size: 14px;
  color: var(--text-1);
  font-weight: 500;
}
.pm-email {
  font-size: 11.5px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pm-divider {
  height: 1px;
  background: var(--hair);
  margin: 6px -14px;
}
.pm-section-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 8px 4px 6px;
}
.pm-lang {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--hair);
  border-radius: 4px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 13px;
  color: var(--text-1);
  padding: 8px 10px;
  cursor: pointer;
  outline: none;
}
.pm-lang:focus {
  border-color: var(--pop);
}
.pm-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 9px 4px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 13.5px;
  color: var(--text-2);
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.14s;
}
.pm-item:hover {
  color: var(--text-1);
}
.login-screen {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--canvas);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.login-screen.show {
  display: flex;
}
.login-err {
  font-size: 12.5px;
  color: var(--pop);
  background: var(--surface-2);
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 12px;
}
.login-master-link {
  text-align: center;
  margin-top: 20px;
}
.login-master-link a {
  font-size: 12.5px;
  color: var(--text-3);
  cursor: pointer;
  letter-spacing: 0.2px;
}
.login-master-link a:hover {
  color: var(--text-1);
}
.login-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      120% 90% at 88% -12%,
      var(--glow),
      transparent 55%);
}
.login-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  text-align: left;
}
.login-brand {
  font-family: "Fraunces", serif;
  font-size: 34px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 6px;
}
.login-brand em {
  font-style: normal;
  color: var(--pop);
}
.login-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 38px;
}
.login-field {
  margin-bottom: 16px;
}
.login-field label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 7px;
}
.login-field input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 4px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
  color: var(--text-1);
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.16s;
}
.login-field input:focus {
  border-color: var(--pop);
}
.login-btn {
  width: 100%;
  background: var(--pop);
  border: 1px solid var(--pop);
  color: var(--pop-ink);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  padding: 12px;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.16s;
}
.login-btn:hover {
  background: transparent;
  color: var(--pop);
}
.login-alt {
  text-align: center;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--text-3);
}
.login-alt a {
  color: var(--pop);
  cursor: pointer;
  text-decoration: none;
}
.login-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--hair);
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.6;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--pop);
  border-radius: 6px;
  padding: 13px 20px;
  font-size: 13.5px;
  color: var(--text-1);
  box-shadow: 0 12px 36px var(--shadow);
  z-index: 260;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 90vw;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast .toast-spin {
  width: 13px;
  height: 13px;
  border: 2px solid var(--hair);
  border-top-color: var(--pop);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 760px) {
  .toast {
    bottom: 88px;
  }
}
:focus-visible {
  outline: 2px solid var(--pop);
  outline-offset: 2px;
}
.mc-root {
  min-height: 100vh;
  background: var(--canvas);
  color: var(--text-1);
  font-family: "Hanken Grotesk", sans-serif;
}
.mc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  border-bottom: 1px solid var(--hair);
  position: sticky;
  top: 0;
  background: var(--canvas);
  z-index: 10;
}
.mc-brand {
  font-family: "Fraunces", serif;
  font-size: 21px;
}
.mc-brand em {
  color: var(--pop);
  font-style: normal;
}
.mc-brand-sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-left: 8px;
}
.mc-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 38px 32px 80px;
}
.mc-back {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 13px;
  cursor: pointer;
  font-family: "Hanken Grotesk", sans-serif;
  padding: 0 0 18px;
}
.mc-back:hover {
  color: var(--text-1);
}
.mc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.mc-title {
  font-family: "Fraunces", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
}
.mc-sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 6px;
}
.mc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mc-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.16s, background 0.16s;
}
.mc-card:hover {
  border-color: var(--pop);
  background: var(--surface-2);
}
.mc-card.is-inactive {
  opacity: 0.55;
}
.mc-card-main {
  flex: 1;
  min-width: 0;
}
.mc-card-name {
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mc-card-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 3px;
}
.mc-card-stats {
  display: flex;
  gap: 24px;
}
.mc-stat {
  text-align: right;
}
.mc-stat-n {
  display: block;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 500;
}
.mc-stat-l {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-3);
}
.mc-chev {
  color: var(--text-3);
  font-size: 20px;
}
.mc-pill {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
}
.mc-pill-on {
  background: var(--pop-soft, var(--surface-2));
  color: var(--pop);
}
.mc-pill-off {
  background: var(--surface-2);
  color: var(--text-3);
}
.mc-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 24px;
}
.mc-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 14px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
  color: var(--text-3);
  cursor: pointer;
  margin-bottom: -1px;
}
.mc-tab.active {
  color: var(--text-1);
  border-bottom-color: var(--pop);
}
.mc-tab:hover {
  color: var(--text-1);
}
.mc-section-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.mc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair-soft);
}
.mc-row-l {
  font-size: 14px;
  color: var(--text-2);
}
.mc-row-v {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--text-1);
}
.mc-feature {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair-soft);
}
.mc-feature-name {
  font-size: 15px;
  font-weight: 500;
}
.mc-feature-desc {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 4px;
  max-width: 440px;
  line-height: 1.5;
}
.mc-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.mc-switch input {
  display: none;
}
.mc-switch-track {
  position: absolute;
  inset: 0;
  background: var(--hair);
  border-radius: 12px;
  transition: background 0.16s;
}
.mc-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.16s;
}
.mc-switch input:checked + .mc-switch-track {
  background: var(--pop);
}
.mc-switch input:checked + .mc-switch-track::after {
  transform: translateX(18px);
}
.mc-token {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.mc-token.is-disabled {
  opacity: 0.5;
}
.mc-token-edit {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mc-token-edit input {
  width: 130px;
  background: var(--surface-2);
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: var(--text-1);
  text-align: right;
  outline: none;
}
.mc-token-edit input:focus {
  border-color: var(--pop);
}
.mc-items {
  display: flex;
  flex-direction: column;
}
.mc-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair-soft);
}
.mc-item-main {
  flex: 1;
  min-width: 0;
}
.mc-item-name {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mc-item-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.mc-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pop);
  color: var(--pop-ink);
  font-family: "Familjen Grotesk", sans-serif;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mc-mini {
  background: none;
  border: 1px solid var(--hair);
  border-radius: 6px;
  color: var(--text-2);
  font-size: 12px;
  padding: 6px 11px;
  cursor: pointer;
  font-family: "Hanken Grotesk", sans-serif;
}
.mc-mini:hover {
  border-color: var(--pop);
  color: var(--pop);
}
.mc-mini-danger:hover {
  border-color: #c0492f;
  color: #d9583c;
}
.mc-empty {
  padding: 24px 0;
  color: var(--text-3);
  font-size: 13.5px;
}
.mc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.18s;
}
.mc-modal-overlay.show {
  opacity: 1;
}
.mc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.mc-modal-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 26px;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px var(--shadow);
  transform: translateY(8px);
  transition: transform 0.18s;
}
.mc-modal-overlay.show .mc-modal-card {
  transform: none;
}
.mc-modal-title {
  font-family: "Fraunces", serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}
.mc-field {
  margin-bottom: 14px;
}
.mc-field label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 7px;
}
.mc-field input,
.mc-select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 15px;
  color: var(--text-1);
  outline: none;
}
.mc-field input:focus,
.mc-select:focus {
  border-color: var(--pop);
}
.mc-select {
  cursor: pointer;
}
.mc-field-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 14px;
  cursor: pointer;
}
.mc-field-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--pop);
}
.mc-field-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.mc-field-inline-label {
  font-size: 14px;
  color: var(--text-2);
}
.mc-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mc-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.12s;
}
.mc-swatch.sel {
  border-color: var(--text-1);
}
.mc-access {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mc-access-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  font-size: 14px;
  color: var(--text-1);
  cursor: pointer;
}
.mc-access-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--pop);
}
.mc-modal-hint {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
  margin-top: 12px;
}
.mc-modal-err {
  font-size: 12.5px;
  color: #d9583c;
  background: var(--surface-2);
  border-radius: 6px;
  padding: 8px 10px;
  margin-top: 12px;
}
.mc-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}
.mc-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: 10px;
  z-index: 600;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.mc-toast.show {
  opacity: 1;
  transform: translateX(-50%);
}
@media (max-width: 680px) {
  .mc-body {
    padding: 24px 18px 80px;
  }
  .mc-card-stats {
    gap: 14px;
  }
  .mc-head {
    flex-direction: column;
  }
}

/* angular:styles/global:styles */
