/* [project]/app/globals.css [app-client] (css) */
@font-face {
  font-family: SUSE;
  src: url("/fonts/SUSE.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root, [data-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --accent: #58f9b0;
  --accent-hover: #7dfbc3;
  --on-accent: #000;
  --accent-soft: #58f9b01f;
  --accent-line: #58f9b052;
  --accent-text: #58f9b0;
  --bg: #080808;
  --surface: #121318;
  --surface-2: #1a1b20;
  --surface-3: #24252b;
  --text: #fff;
  --muted: #a3a4aa;
  --line: #26272d;
  --line-strong: #3a3b42;
  --warn: #f5c451;
  --warn-soft: #f5c4511f;
  --danger: #ff6b78;
  --danger-soft: #ff6b781f;
  --shadow: 0 1px 0 #ffffff08 inset, 0 20px 40px -24px #000c;
  --overlay: #000000b8;
  --logo-filter: invert(1);
}

[data-theme="light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --accent-soft: #58f9b038;
  --accent-line: #0e965c59;
  --accent-text: #0a7a4a;
  --bg: #f1f2f4;
  --surface: #fff;
  --surface-2: #f6f7f8;
  --surface-3: #e9eaed;
  --text: #080808;
  --muted: #6b6b70;
  --line: #e2e3e6;
  --line-strong: #c9cacf;
  --warn: #9a6a00;
  --warn-soft: #f5b42829;
  --danger: #d92d3f;
  --danger-soft: #d92d3f1a;
  --shadow: 0 1px 2px #0808080a, 0 14px 30px -20px #0808082e;
  --overlay: #08080873;
  --logo-filter: none;
}

*, :before, :after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-family: SUSE, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

h1, h2, h3, p, dl, dd, ol, ul {
  margin: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input, textarea {
  font: inherit;
  color: inherit;
}

code, .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, Liberation Mono, monospace;
  font-size: .86em;
}

code {
  background: var(--surface-3);
  border-radius: 6px;
  padding: .1em .4em;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.muted {
  color: var(--muted);
}

.break {
  overflow-wrap: anywhere;
}

.icon {
  flex-shrink: 0;
}

.shell {
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
  display: grid;
}

.main {
  min-width: 0;
  padding: 36px 40px 56px;
}

.page {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
}

.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--line);
  flex-direction: column;
  gap: 28px;
  height: 100vh;
  padding: 28px 18px 20px;
  display: flex;
  position: sticky;
  top: 0;
}

.sidebar-top {
  gap: 14px;
  padding: 0 6px;
  display: grid;
}

.brand-logo {
  width: auto;
  height: 40px;
  filter: var(--logo-filter);
}

.brand-sub {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
}

.live-pill {
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
}

.live-dot {
  background: var(--accent);
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 3px var(--accent-soft);
  border-radius: 50%;
}

.nav {
  gap: 4px;
  display: grid;
}

.nav-link {
  color: var(--muted);
  border-radius: 999px;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  font-weight: 500;
  transition: background .15s, color .15s;
  display: flex;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav-link.active {
  color: var(--on-accent);
  background: var(--accent);
  font-weight: 600;
}

.sidebar-foot {
  gap: 12px;
  margin-top: auto;
  display: grid;
}

.storage-note {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  font-size: 12.5px;
  display: flex;
}

.theme-switch {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 999px;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  display: grid;
}

.theme-switch button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 7px 0;
  font-size: 13px;
  display: inline-flex;
}

.theme-switch button.on {
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}

.page-header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 24px;
  margin-bottom: 6px;
  display: flex;
}

.eyebrow {
  color: var(--accent-text);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.page-header h1 {
  letter-spacing: -.02em;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.15;
}

.page-subtitle {
  max-width: 640px;
  color: var(--muted);
  margin-top: 8px;
}

.page-actions {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
  box-shadow: var(--shadow);
  border-radius: 20px;
  overflow: hidden;
}

.card-head {
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  display: flex;
}

.card-head-main {
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.card-icon {
  background: var(--surface-3);
  width: 36px;
  height: 36px;
  color: var(--text);
  border-radius: 11px;
  flex-shrink: 0;
  place-items: center;
  display: grid;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
}

.card-subtitle {
  color: var(--muted);
  margin-top: 1px;
  font-size: 13px;
}

.card-body {
  padding: 22px;
}

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

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  align-items: start;
  gap: 20px;
  display: grid;
}

.btn {
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  display: inline-flex;
}

.btn:disabled, .btn[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:not(:disabled):hover {
  background: var(--accent-hover);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: none;
}

.btn-ghost:not(:disabled):hover {
  background: var(--surface-2);
  border-color: var(--text);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger-ghost {
  border-color: var(--line-strong);
  color: var(--danger);
  background: none;
}

.btn-danger-ghost:not(:disabled):hover {
  background: var(--danger-soft);
  border-color: var(--danger);
}

.btn-lg {
  min-height: 48px;
  padding: 0 26px;
  font-size: 15px;
}

.btn-sm {
  min-height: 32px;
  padding: 0 14px;
  font-size: 13px;
}

.btn-xs {
  min-height: 28px;
  font-size: 12px;
}

.btn-icon {
  width: 32px;
  min-height: 32px;
  padding: 0;
}

.btn-icon.btn-xs {
  width: 28px;
}

.btn-icon span {
  display: none;
}

.btn-row {
  gap: 6px;
  display: flex;
}

.tag {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}

.tag-accent {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent-text);
}

.tag-warn {
  background: var(--warn-soft);
  color: var(--warn);
  border-color: #0000;
}

.tag-dot {
  background: currentColor;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
  display: grid;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 20px;
  gap: 2px;
  padding: 20px 22px;
  transition: border-color .15s, transform .15s;
  display: grid;
}

.stat:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.stat-accent {
  border-color: var(--accent-line);
}

.stat-top {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  display: flex;
}

.stat-icon {
  background: var(--surface-3);
  border-radius: 12px;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
}

.stat-accent .stat-icon {
  background: var(--accent);
  color: var(--on-accent);
}

.stat-arrow {
  color: var(--muted);
}

.stat-value {
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
}

.stat-label {
  font-weight: 500;
}

.stat-hint {
  color: var(--muted);
  font-size: 13px;
}

.stat-hint.warn {
  color: var(--warn);
}

.steps {
  counter-reset: step;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 14px;
  display: grid;
}

.step {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 16px;
  gap: 14px;
  padding: 16px;
  display: flex;
}

.step-num {
  background: var(--text);
  width: 30px;
  height: 30px;
  color: var(--bg);
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  display: grid;
}

.step h3 {
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
}

.step p {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13.5px;
}

.kv > div {
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  display: grid;
}

.kv > div:last-child {
  border-bottom: 0;
}

.kv dt {
  color: var(--muted);
  font-size: 13.5px;
}

.kv dd {
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.kv-compact {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 14px;
}

.kv-compact > div {
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 10px 16px;
}

.table-wrap {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}

.table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

.table th {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 12px 16px;
  font-size: 11.5px;
  font-weight: 600;
}

.table td {
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
  padding: 14px 16px;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr {
  transition: background .12s;
}

.table tbody tr:hover {
  background: var(--surface-2);
}

.row-click {
  cursor: pointer;
}

.table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.table .strong {
  font-weight: 600;
}

.table .actions {
  text-align: right;
}

.cell-main {
  font-weight: 500;
}

.cell-sub {
  color: var(--muted);
  font-size: 12.5px;
}

.hash-cell {
  align-items: center;
  gap: 6px;
  display: flex;
}

.empty {
  text-align: center;
  justify-items: center;
  gap: 6px;
  padding: 56px 24px;
  display: grid;
}

.empty-icon {
  background: var(--surface-3);
  width: 48px;
  height: 48px;
  color: var(--muted);
  border-radius: 14px;
  place-items: center;
  margin-bottom: 6px;
  display: grid;
}

.empty h3 {
  font-size: 16px;
  font-weight: 600;
}

.empty p {
  max-width: 380px;
  color: var(--muted);
}

.input {
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  width: 100%;
  color: var(--text);
  resize: vertical;
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}

.input::placeholder {
  color: var(--muted);
  opacity: .8;
}

.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  outline: none;
}

.input-error, .input-error:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px var(--danger-soft);
}

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

.field-label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.field-hint {
  color: var(--muted);
  font-size: 12.5px;
}

.field-hint.error {
  color: var(--danger);
}

.form-actions {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
  display: flex;
}

.switch {
  cursor: pointer;
  color: var(--muted);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  display: inline-flex;
}

.switch input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.switch-track {
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  width: 38px;
  height: 22px;
  transition: background .15s;
  position: relative;
}

.switch-track:after {
  content: "";
  background: var(--muted);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  transition: transform .15s, background .15s;
  position: absolute;
  top: 2px;
  left: 2px;
}

.switch input:checked + .switch-track {
  background: var(--accent);
  border-color: var(--accent);
}

.switch input:checked + .switch-track:after {
  background: var(--on-accent);
  transform: translateX(16px);
}

.switch input:focus-visible + .switch-track {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.import-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  display: grid;
}

.dropzone {
  border: 1.5px dashed var(--line-strong);
  background: var(--surface-2);
  cursor: pointer;
  border-radius: 16px;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 16px 20px;
  transition: border-color .15s, background .15s;
  display: flex;
}

.dropzone:hover, .dropzone.dragging, .dropzone:focus-within {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.dropzone.has-file {
  border-style: solid;
  border-color: var(--accent-line);
}

.dropzone-icon {
  background: var(--surface-3);
  border-radius: 14px;
  flex-shrink: 0;
  place-items: center;
  width: 46px;
  height: 46px;
  display: grid;
}

.has-file .dropzone-icon {
  background: var(--accent);
  color: var(--on-accent);
}

.dropzone-text {
  gap: 2px;
  min-width: 0;
  display: grid;
}

.dropzone-text strong {
  overflow-wrap: anywhere;
  font-weight: 600;
}

.dropzone-text span {
  color: var(--muted);
  font-size: 13px;
}

.problem {
  border: 1px solid var(--danger);
  background: var(--danger-soft);
  color: var(--danger);
  border-radius: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  font-size: 13.5px;
}

.problem-head {
  align-items: center;
  gap: 8px;
  font-weight: 600;
  display: flex;
}

.problem ul {
  color: var(--text);
  gap: 4px;
  margin-top: 10px;
  padding-left: 24px;
  list-style: outside;
  display: grid;
}

.problem .muted {
  list-style: none;
}

.net-row {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 16px;
  gap: 12px;
  padding: 16px;
  display: grid;
}

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

.net-name {
  align-items: center;
  gap: 10px;
  display: flex;
}

.reveal {
  border: 1px solid var(--warn);
  background: var(--warn-soft);
  border-radius: 16px;
  gap: 14px;
  padding: 16px;
  display: grid;
}

.reveal-head {
  color: var(--warn);
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
}

.reveal-net {
  gap: 8px;
  display: grid;
}

.seed-grid {
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 6px;
  display: grid;
}

.seed-grid li {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  gap: 8px;
  padding: 7px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  display: flex;
}

.seed-grid li span {
  min-width: 18px;
  color: var(--muted);
  text-align: right;
}

.xpub-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 14px;
  display: grid;
}

.xpub-card {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 16px;
  gap: 12px;
  padding: 16px;
  display: grid;
}

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

.net-chip {
  align-items: center;
  gap: 10px;
  display: flex;
}

.net-chip img, .net-chip-fallback {
  object-fit: contain;
  border-radius: 50%;
  width: 34px;
  height: 34px;
}

.net-chip-fallback {
  background: var(--surface-3);
  place-items: center;
  font-weight: 700;
  display: grid;
}

.net-chip > span {
  line-height: 1.25;
  display: grid;
}

.net-chip small {
  color: var(--muted);
  font-size: 11.5px;
}

.xpub-box {
  border: 1px dashed var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.5px;
  overflow: hidden;
}

.xpub-box.full {
  color: var(--text);
  white-space: normal;
  overflow-wrap: anywhere;
}

.segmented {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 999px;
  grid-auto-flow: column;
  gap: 4px;
  padding: 4px;
  display: inline-grid;
}

.segmented button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 600;
}

.segmented button.on {
  background: var(--text);
  color: var(--bg);
}

.segmented button:disabled {
  cursor: not-allowed;
}

.warn-text {
  color: var(--warn);
  margin-top: 12px;
}

.payer {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.payer-balance {
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
  font-size: 22px;
  font-weight: 600;
}

.dt-hint {
  color: var(--muted);
  opacity: .8;
  font-size: 11.5px;
  display: block;
}

.callout {
  border: 1px solid var(--line-strong);
  color: var(--muted);
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  margin: 0 22px 18px;
  padding: 12px 14px;
  font-size: 13.5px;
  display: flex;
}

.callout-danger {
  border-color: var(--danger);
  background: var(--danger-soft);
  color: var(--danger);
}

.create-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  display: grid;
}

.summary {
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 10px;
  display: grid;
}

.summary > div {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 12px;
  gap: 2px;
  padding: 12px 14px;
  display: grid;
}

.summary span {
  color: var(--muted);
  font-size: 12.5px;
}

.create-actions {
  justify-items: end;
  gap: 8px;
  max-width: 320px;
  display: grid;
}

.create-actions .field-hint {
  text-align: right;
}

.empty-actions {
  justify-content: center;
  gap: 10px;
  padding: 0 22px 32px;
  display: flex;
}

@media (max-width: 760px) {
  .create-grid {
    grid-template-columns: 1fr;
  }

  .create-actions {
    justify-items: stretch;
    max-width: none;
  }

  .create-actions .field-hint {
    text-align: left;
  }
}

.modal-overlay {
  z-index: 50;
  background: var(--overlay);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  place-items: center;
  padding: 20px;
  animation: .15s fade;
  display: grid;
  position: fixed;
  inset: 0;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  flex-direction: column;
  width: 100%;
  max-height: calc(100vh - 40px);
  animation: .18s rise;
  display: flex;
  box-shadow: 0 30px 80px -20px #0009;
}

.modal-sm {
  max-width: 440px;
}

.modal-md {
  max-width: 560px;
}

.modal-lg {
  max-width: 720px;
}

.modal-head {
  align-items: flex-start;
  gap: 12px;
  padding: 20px 22px 0;
  display: flex;
}

.modal-head-text {
  flex: 1;
  min-width: 0;
}

.modal-head h2 {
  font-size: 18px;
  font-weight: 600;
}

.modal-head p {
  color: var(--muted);
  overflow-wrap: anywhere;
  font-size: 13px;
}

.modal-body {
  gap: 16px;
  padding: 18px 22px;
  display: grid;
  overflow-y: auto;
}

.modal-foot {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px;
  display: flex;
}

.review-amount {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  display: flex;
}

.review-value {
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  font-size: 32px;
  font-weight: 600;
}

.review-currency {
  color: var(--muted);
  margin-right: 6px;
  font-size: 18px;
  font-weight: 600;
}

.note {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  display: flex;
}

.raw-box {
  word-break: break-all;
  font-size: 12.5px;
  line-height: 1.55;
}

.toast-stack {
  z-index: 60;
  gap: 10px;
  width: min(380px, 100vw - 40px);
  display: grid;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.toast {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 14px;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  animation: .18s rise;
  display: flex;
  box-shadow: 0 16px 40px -16px #00000080;
}

.toast > span {
  flex: 1;
}

.toast-success .icon {
  color: var(--accent-text);
}

.toast-error {
  border-color: var(--danger);
}

.toast-error .icon {
  color: var(--danger);
}

.toast-close {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 2px;
}

.pager {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.pager-links {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 960px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    z-index: 20;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-flow: wrap;
    align-items: center;
    gap: 12px;
    min-width: 0;
    height: auto;
    padding: 12px 16px;
    position: sticky;
  }

  .sidebar-top {
    padding: 0;
  }

  .brand-logo {
    height: 30px;
  }

  .brand-sub, .storage-note {
    display: none;
  }

  .sidebar-foot {
    margin: 0 0 0 auto;
  }

  .sidebar-top {
    flex: 1;
    min-width: 0;
  }

  .theme-switch button {
    padding: 6px 10px;
  }

  .nav {
    scrollbar-width: none;
    order: 3;
    width: 100%;
    display: flex;
    overflow-x: auto;
  }

  .nav-link {
    white-space: nowrap;
    padding: 8px 14px;
  }

  .main {
    padding: 24px 16px 40px;
  }

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

@media (max-width: 640px) {
  .import-form {
    grid-template-columns: 1fr;
  }

  .kv > div, .kv-compact > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .card-head, .card-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .theme-switch button {
    gap: 0;
    font-size: 0;
  }
}

/*# sourceMappingURL=app_globals_0yg4wg8plh8sv.css.map*/