:root {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: #18251c;
  background: #f9faf7;
  font-synthesis: none;
  --ink: #18251c;
  --muted: #566359;
  --line: #dbe0d8;
  --lime: #d3fa70;
  --dark: #1a3025;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --control-edge: #a7b4a8;
  --control-radius: 12px 12px 12px 5px;
  --focus: #54762c;
  --pressed: #e7efe3;
  --error: #902e29;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main.wrap {
  flex: 1;
}
button,
input,
textarea,
a {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  appearance: none;
  border: 0;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.62;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
p {
  margin: 0;
}
.wrap {
  width: min(1192px, calc(100% - clamp(40px, 10vw, 160px)));
  margin-inline: auto;
}
.mast {
  border-bottom: 1px solid var(--line);
}
.mast-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.identity {
  display: flex;
  align-items: center;
  gap: 10px;
}
.identity img {
  width: 37px;
  height: 37px;
}
.identity strong,
.front-brand {
  font-weight: 800;
  font-size: 33px;
  letter-spacing: -2px;
  line-height: 1;
}
.identity i {
  width: 1px;
  height: 22px;
  background: #cbd1c7;
  margin: 0 8px;
}
.identity > span {
  font-size: 14px;
  color: var(--muted);
}
.session-check {
  padding-block: 3rem;
  color: var(--muted);
}
.session-check button {
  margin-top: 1rem;
}
.read-status {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--muted);
  line-height: 1.5;
}
.read-status::before {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--focus);
}
.read-status.failed {
  color: var(--error);
}
.read-status.failed::before {
  background: #fbe4e2;
  border-color: currentColor;
}
.entry {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
  padding-block: clamp(40px, 7.5vh, 100px);
}
.auth {
  min-width: 0;
  max-width: 425px;
}
.kicker,
.label,
.chip-label,
.card-spec {
  font: 600 0.76rem/1.4 var(--mono);
  letter-spacing: 0.09em;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #52634f;
}
.bar {
  width: 24px;
  height: 3px;
  background: #81a242;
}
h1 {
  font-size: clamp(2.5rem, 4.1vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.065em;
  font-weight: 650;
}
.auth h1 {
  margin: 22px 0 17px;
}
.dot {
  color: #6e873b;
}
.intro,
.hint,
.empty p,
li {
  color: var(--muted);
  line-height: 1.65;
}
.intro {
  font-size: 1.07rem;
  max-width: 380px;
}
.auth form {
  margin-top: 38px;
}
label {
  font-size: 0.92rem;
  font-weight: 600;
  display: block;
  margin: 0 0 9px;
}
:where(input:not([type='checkbox']), textarea) {
  appearance: none;
  border: 1px solid var(--control-edge);
  padding: 13px 14px;
  min-height: 48px;
  border-radius: var(--control-radius);
  background: white;
  color: var(--ink);
  caret-color: var(--focus);
  width: 100%;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #707970;
}
.field-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--control-edge);
  border-radius: var(--control-radius);
  background: white;
  padding: 0 4px 0 14px;
}
.field-shell input {
  flex: 1;
  border: 0;
  background: transparent;
  padding-inline: 0;
}
.field-shell:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.field-shell input:focus-visible {
  outline: 0;
}
.field-shell > span {
  display: flex;
  color: #566f55;
}
.field-shell input::-webkit-search-cancel-button {
  appearance: none;
}
.field-shell input::-ms-reveal {
  display: none;
}
#reveal[aria-pressed='true'] [data-icon='eye'],
#reveal[aria-pressed='false'] [data-icon='eye-off'] {
  display: none;
}
.primary,
.secondary,
.quiet,
.icon-btn,
.choice-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.94rem;
  border-radius: var(--control-radius);
  line-height: 1.25;
}
.primary,
.secondary {
  padding: 14px 20px;
  min-height: 48px;
}
.primary {
  background: var(--dark);
  color: white;
  border: 1px solid var(--dark);
  box-shadow: inset 0 -2px 0 #0e2116;
}
.primary [data-icon] {
  color: var(--lime);
}
.primary:hover {
  background: #2e4937;
}
.secondary,
.icon-btn.refresh,
.choice-trigger {
  background: white;
  border: 1px solid var(--control-edge);
}
.secondary:hover,
.quiet:hover:enabled,
a.quiet:hover,
.icon-btn:hover:enabled,
.choice-trigger:hover {
  background: var(--pressed);
}
.primary:active:enabled,
.secondary:active:enabled,
.icon-btn:active:enabled,
.quiet:active:enabled {
  box-shadow: inset 0 2px 3px #14251926;
}
.quiet,
.icon-btn {
  background: transparent;
}
.quiet {
  padding: 11px 13px;
}
.wide {
  width: 100%;
}
.auth .primary,
#card-form > .primary {
  margin-top: 18px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  padding: 8px;
  flex: none;
  border-radius: 9px;
}
.icon-btn svg,
button svg {
  width: 18px;
  height: 18px;
}
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
[data-icon] svg {
  width: 20px;
  height: 20px;
}
.showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  min-height: 475px;
  border: 1px solid #354c39;
  border-radius: 20px;
  background: radial-gradient(
    ellipse at 55% 42%,
    #587156 0%,
    #344b38 43%,
    #24392c 76%,
    #1b2f24 100%
  );
  color: #eff6ec;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(24px, 2.5vw, 40px);
}
.showcase:before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.38;
  background-image: radial-gradient(#8ba38a 0.7px, transparent 0.9px);
  background-size: 15px 15px;
  mask-image: linear-gradient(145deg, black, transparent 78%);
}
.showcase-top,
.showcase-caption,
.modal-head,
.section-heading,
.pay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.on-dark {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #d9e4d8;
}
.on-dark i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}
.chip-label {
  color: #e1e9dc;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  border: 1px solid #6a816d;
  padding: 4px 8px;
  border-radius: 5px;
}
.product {
  position: relative;
  min-width: 0;
  padding-block: clamp(38px, 4.5vw, 70px);
  display: grid;
  place-items: center;
  perspective: 1100px;
}
.hardware,
.shadow-card {
  position: relative;
  grid-area: 1 / 1;
  width: 74%;
  aspect-ratio: 1.63;
  border-radius: clamp(10px, 1.4vw, 21px);
}
.shadow-card {
  background:
    repeating-linear-gradient(135deg, transparent 0 8px, #91a856 8px 9px),
    linear-gradient(120deg, #c6df89, #91ae58);
  border: 1px solid #ccdd9c;
  transform: rotate(-7deg) translate(6%, 12%);
  box-shadow: 0 18px 28px #101e1a77;
}
.hardware {
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(108deg, #36413b, #202a24 47%, #162019);
  border: 1px solid #6a776c;
  border-bottom: 2px solid #0f1c13;
  transform: rotate(-15deg) skewX(1deg);
  box-shadow: 0 8px 13px #0f201d66;
}
.contour {
  position: absolute;
  z-index: -1;
  inset: -50% -60% -80% 28%;
  transform: rotate(-18deg);
  background: repeating-radial-gradient(
    ellipse at center,
    transparent 0 6px,
    #859b77a3 6.5px 7.5px,
    transparent 8px 12px
  );
  mask-image: linear-gradient(130deg, #000 30%, #0007 90%);
}
.front-brand {
  position: absolute;
  inset: 12% auto auto 8%;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: clamp(19px, 2.2vw, 35px);
  color: #f1f6ea;
}
.front-brand img {
  width: 1.12em;
}
.wave {
  position: absolute;
  right: 8%;
  top: 13%;
  color: var(--lime);
}
.wave svg {
  width: 26px;
  height: 26px;
}
.card-name {
  position: absolute;
  bottom: 22%;
  left: 8%;
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 600;
  letter-spacing: -0.04em;
}
.card-spec {
  position: absolute;
  bottom: 12%;
  left: 8%;
  color: #bdc7bc;
  font-size: clamp(0.5rem, 0.62vw, 0.73rem);
}
.showcase-caption {
  border-top: 1px solid #71867080;
  padding-top: 20px;
}
.showcase-caption .label {
  font-size: 0.7rem;
  color: #cfddc7;
}
.showcase-caption h2 {
  font-size: clamp(1.5rem, 2.3vw, 2.35rem);
  letter-spacing: -0.045em;
  margin-top: 6px;
  font-weight: 550;
}
.showcase-caption > [data-icon] {
  border: 1px solid #728673;
  border-radius: 50%;
  width: 43px;
  height: 43px;
  color: #d5edaf;
}
.footer {
  padding-block: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #657163;
  font-size: 0.83rem;
}
.footer b {
  font-weight: 400;
  color: #98a392;
  margin: 0 6px;
}
.footer span:last-child {
  font: 0.76rem var(--mono);
}
.dashboard {
  padding-block: 50px;
}
.section-heading h1 {
  margin-top: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--dark);
  border-radius: 14px;
  padding: 24px 0;
  margin: 30px 0;
  color: white;
}
.metrics > div {
  padding: 0 clamp(18px, 3vw, 44px);
  display: grid;
  gap: 8px;
}
.metrics > div + div {
  border-left: 1px solid #48604e;
}
.metrics span {
  font-size: 0.9rem;
  color: #d3ded2;
}
.metrics strong {
  font-size: 2.3rem;
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -0.06em;
}
.metrics > div:nth-child(2) strong {
  color: var(--lime);
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}
.search {
  max-width: 360px;
  width: 100%;
  margin: 0;
}
.choice {
  position: relative;
  min-width: 170px;
  margin-left: auto;
}
.choice-trigger {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  justify-content: flex-start;
}
.choice-trigger [data-icon='chevron'] {
  margin-left: auto;
}
.choice-trigger[aria-expanded='true'] [data-icon='chevron'] {
  transform: rotate(180deg);
}
.choice-list {
  list-style: none;
  position: absolute;
  z-index: 2;
  inset: calc(100% + 5px) 0 auto;
  padding: 5px;
  margin: 0;
  border: 1px solid var(--control-edge);
  border-radius: var(--control-radius);
  background: white;
  box-shadow: 0 8px 24px #18251c24;
}
.choice-list [role='option'] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  margin: 0;
  min-height: 44px;
  border-radius: 7px;
  color: var(--ink);
  cursor: pointer;
}
.choice-list [aria-selected='true'] {
  font-weight: 650;
}
.choice-list [aria-selected='true']::after {
  content: '';
  width: 6px;
  height: 11px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}
.choice-list .highlighted,
.choice-list [role='option']:hover {
  background: var(--pressed);
}
.refresh.icon-btn {
  height: 48px;
  width: 46px;
}
.table-wrap {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
thead {
  background: #f0f3ed;
}
th,
td {
  padding: 15px 18px;
}
th {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}
td {
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
td small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-size: 0.8rem;
  border-radius: 20px;
  background: #fbe4e2;
  color: #922d2a;
}
.status::before {
  content: '';
  width: 8px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
}
.status.live::before {
  width: 6px;
  height: 6px;
}
.status.live {
  background: #e7f3d5;
  color: #37571c;
}
.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}
.row-actions button {
  font-size: 0.85rem;
}
.empty {
  text-align: center;
  padding: 48px 18px;
}
.empty-symbol {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  color: #40582f;
  background: #ecf2e4;
}
.empty h2 {
  font-size: 1.25rem;
  margin: 13px 0 4px;
}
.empty p {
  font-size: 0.93rem;
}
.guide-link {
  margin-top: 16px;
  color: #43583f;
}
.error,
.field-error {
  color: var(--error);
  font-size: 0.94rem;
}
.error {
  background: #fdf0ee;
  border-inline-start: 3px solid var(--error);
  border-radius: 3px 8px 8px 3px;
  padding: 10px 12px;
  margin: 12px 0;
}
.field-error {
  margin: 6px 0 10px;
  font-size: 0.85rem;
}
input[aria-invalid='true'],
.field-shell:has([aria-invalid='true']) {
  border-color: var(--error);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.mono,
#iban,
#card-link,
#pay-iban {
  font-family: var(--mono);
}
dialog {
  border: 1px solid var(--line);
  border-top: 4px solid #95b563;
  background: #fcfdfb;
  padding: 28px;
  border-radius: 18px;
  width: min(440px, calc(100% - 32px));
  color: var(--ink);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 20px 80px #13241926;
}
dialog::backdrop {
  background: #10201588;
}
.modal-head {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
.editor-group {
  min-width: 0;
  margin: 0 0 16px;
  padding: 12px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.editor-group legend {
  padding-inline: 6px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--muted);
}
.editor-group textarea {
  display: block;
  field-sizing: content;
  min-height: 5em;
  max-height: 12em;
  resize: none;
}
.editor-group textarea + .hint {
  margin-top: 6px;
}
dialog input + label,
dialog .hint + label {
  margin-top: 17px;
}
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.status-switch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 12px;
  padding: 0 4px;
  margin: 0;
  cursor: pointer;
}
.status-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
}
.switch-track {
  display: flex;
  align-items: center;
  width: 44px;
  height: 26px;
  padding: 3px;
  border: 1px solid #a64c46;
  border-radius: 16px;
  background: #fbe4e2;
}
.switch-track::after {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #903d38;
}
.status-switch input:checked + .switch-track {
  background: var(--dark);
  border-color: var(--dark);
}
.status-switch input:checked + .switch-track::after {
  margin-left: auto;
  background: var(--lime);
}
.status-switch input:focus-visible + .switch-track {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.hint {
  font-size: 0.9rem;
}
.dialog-actions > * {
  flex: 1;
}
ol {
  padding-left: 20px;
}
li + li {
  margin-top: 12px;
}
.toast {
  position: fixed;
  z-index: 4;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  border-radius: var(--control-radius);
  border-inline-start: 4px solid var(--lime);
  background: var(--ink);
  color: white;
  font-size: 0.9rem;
  padding: 12px 20px;
  text-align: center;
}
.toast:empty {
  display: none;
}
.public-page {
  background: #edf2e8;
}
.pay-shell {
  margin: auto;
  width: min(calc(100% - 32px), 440px);
  padding: 36px 0;
}
.pay-shell > .identity {
  margin-bottom: 22px;
}
.pay-card {
  background: white;
  border: 1px solid #cfdaca;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 38px #1d351d0a;
}
.pay-head {
  color: #587044;
}
.pay-card h1 {
  font-size: 2.25rem;
  margin: 14px 0 26px;
}
.account-data {
  margin: 0;
}
.account-data dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.account-data dd {
  margin: 0 0 23px;
  font-size: 1.3rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.pay-card #pay-iban {
  font-size: clamp(1.08rem, 4.7vw, 1.28rem);
  overflow-wrap: anywhere;
  line-height: 1.6;
  letter-spacing: 0.02em;
  background: #eff5e9;
  border-inline-start: 3px solid #749341;
  border-radius: var(--control-radius);
  padding: 15px;
  margin-bottom: 20px;
}
.pay-card .quiet {
  margin-top: 6px;
}
.pay-card #retry {
  margin-top: 15px;
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .entry {
    gap: 32px;
  }
  .showcase {
    min-height: 390px;
  }
  .mast-inner {
    height: 74px;
  }
  .auth h1 {
    font-size: 2.65rem;
  }
  th,
  td {
    padding: 12px;
  }
  .row-actions {
    flex-wrap: wrap;
  }
  .row-actions .quiet {
    padding: 8px;
  }
  .metrics {
    margin: 24px 0;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 34px 0;
  }
  .auth {
    max-width: none;
  }
  .auth h1 {
    margin: 15px 0 12px;
  }
  .auth form {
    margin-top: 24px;
  }
  .showcase {
    min-height: 0;
    gap: 6px;
    padding: clamp(16px, 4vw, 24px);
  }
  .hardware,
  .shadow-card {
    width: min(70%, 250px);
  }
  .showcase-caption {
    padding-top: 10px;
  }
  .showcase-caption h2 {
    font-size: 1.3rem;
  }
  .showcase-caption > [data-icon] {
    width: 32px;
    height: 32px;
  }
  .showcase .label {
    font-size: 0.62rem;
  }
  .product {
    padding-block: clamp(28px, 7vw, 42px);
  }
  .card-name {
    font-size: 15px;
  }
  .front-brand {
    font-size: 18px;
  }
  .identity strong {
    font-size: 28px;
  }
  .identity img {
    width: 31px;
    height: 31px;
  }
  .identity i {
    margin: 0 3px;
  }
  .identity > span {
    font-size: 13px;
  }
  .dashboard {
    padding: 30px 0;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-heading h1 {
    font-size: 2.5rem;
  }
  .metrics {
    padding: 18px 0;
  }
  .metrics > div {
    padding: 0 13px;
  }
  .metrics strong {
    font-size: 1.8rem;
  }
  .metrics span {
    font-size: 0.78rem;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .search {
    max-width: 100%;
  }
  .toolbar .choice {
    margin-left: 0;
    flex: 1;
  }
  .table-wrap table,
  .table-wrap tbody {
    display: block;
  }
  .table-wrap thead {
    display: none;
  }
  .table-wrap tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 16px;
    gap: 8px;
  }
  .table-wrap tr + tr {
    border-top: 1px solid var(--line);
  }
  .table-wrap td {
    display: block;
    padding: 0;
    border: 0;
  }
  .table-wrap td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .table-wrap td:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }
  .table-wrap td:last-child {
    grid-column: 1/-1;
  }
  .row-actions {
    justify-content: flex-start;
  }
  .footer {
    padding-block: 18px;
  }
  dialog {
    padding: 22px;
  }
}
@media (max-width: 370px) {
  .identity i,
  .mast .identity > span {
    display: none;
  }
}

#account-actions,
#pagination,
#pagination > div {
  display: flex;
  align-items: center;
  gap: 6px;
}
#pagination {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.87rem;
}
#pagination button:disabled {
  cursor: default;
}
.form-section,
#security-submit {
  margin-top: 18px;
}
#security-info + label,
#enrollment label {
  margin-top: 14px;
}
.text-action {
  padding-inline: 0;
  text-decoration: underline;
}
@media (max-width: 680px) {
  .mast:has(#account-actions:not([hidden])) .identity > span,
  .mast:has(#account-actions:not([hidden])) .identity i {
    display: none;
  }
  .mast-inner {
    height: auto;
    min-height: 74px;
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 10px;
  }
  #account-actions,
  #pagination {
    flex-wrap: wrap;
  }
  .icon-btn {
    width: 44px;
    height: 44px;
  }
  .row-actions button,
  #account-actions button,
  #pagination button {
    min-height: 44px;
  }
  input:not([type='checkbox']),
  textarea {
    font-size: 1rem;
  }
  .pay-shell {
    padding-block: 24px;
  }
  .pay-card {
    padding: clamp(18px, 5vw, 28px);
  }
  #account-actions .quiet,
  #pagination .quiet {
    padding-inline: 8px;
  }
}
@media (forced-colors: active) {
  .switch-track::after,
  .status::before {
    background: CanvasText;
    forced-color-adjust: none;
  }
  .status-switch input:checked + .switch-track::after {
    background: Highlight;
  }
  .choice-list .highlighted {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
  .quiet,
  .icon-btn {
    border: 1px solid ButtonText;
  }
}

.qr-preview {
  display: block;
  width: min(100%, 220px);
  aspect-ratio: 1;
  height: auto;
  margin: 16px auto;
}
.copy-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 8px;
}
.copy-field output {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 10px 12px;
  background: #f5f7f2;
  border-radius: 8px;
  line-height: 1.45;
  user-select: all;
}
.copy-field .secondary {
  padding-inline: 12px;
  align-self: center;
}
.copy-field + .hint {
  margin-top: 8px;
}
#open-link {
  margin-top: 8px;
}
.clipboard-fallback {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  font-size: 16px;
}
@media (max-width: 400px) {
  .copy-field .secondary {
    padding-inline: 10px;
  }
  .dialog-actions {
    gap: 8px;
  }
  .dialog-actions > * {
    padding-inline: 10px;
  }
  .showcase-top,
  .showcase-caption {
    gap: 8px;
    flex-wrap: wrap;
  }
}
@media print {
  body.print-card {
    display: block;
    background: white;
    min-height: 0;
    margin: 0;
  }
  body.print-card > :not(#details),
  body.print-card #details > :not(#card-qr),
  body.print-card #details::backdrop {
    display: none !important;
  }
  body.print-card #details {
    position: static;
    inset: auto;
    overflow: visible;
    padding: 0;
    margin: 0;
    width: 30mm;
    max-height: none;
    border: 0;
    box-shadow: none;
  }
  body.print-card #card-qr {
    display: block;
    margin: 0;
    width: 30mm;
    height: 30mm;
  }
}
