:where(.app-shell, .card-edit) h1 { margin: 0; font: 700 var(--ui-h1-size)/1.2 var(--ui-font-family); color: var(--ui-text); }
:where(.app-shell, .card-edit) h2 { margin: 0; font: 700 var(--ui-h2-size)/1.25 var(--ui-font-family); color: var(--ui-text); }
:where(.app-shell, .card-edit) h3 { margin: 0; font: 700 var(--ui-h3-size)/1.3 var(--ui-font-family); color: var(--ui-text); }
:where(.app-shell, .card-edit) h4 { margin: 0; font: 700 var(--ui-h4-size)/1.35 var(--ui-font-family); color: var(--ui-text); }
:where(.app-shell, .card-edit) h5 { margin: 0; font: 700 var(--ui-h5-size)/1.4 var(--ui-font-family); color: var(--ui-text); }
:where(.app-shell, .card-edit) h6 { margin: 0; font: 700 var(--ui-h6-size)/1.4 var(--ui-font-family); color: var(--ui-text); }
:where(.app-shell, .card-edit) p  { margin: 0; font: 400 var(--ui-p-size)/1.6 var(--ui-font-family); color: var(--ui-muted); }
:where(.app-shell, .card-edit) label { font: 600 14px/1.35 var(--ui-font-family); color: var(--ui-text); }

.app-shell :is(
  .dash-primary,.dash-ghost,.linkio-btn,.support-cta,.market-item-btn,.settings-outline-btn,
  .physical-row-view,.btn-primary,.btn-outline,.dash-card-action,.tags-create-btn,
  .co-btn,.authx-btn,.res-btn,.btn-save,.btn-submit,.btn,.button,.lk-btn-logout,
  .global-button,.popl-btn-update
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--ui-btn-height-1) !important;
  min-height: var(--ui-btn-height-1) !important;
  padding: 0 var(--ui-btn-pad-x);
  border: 0 !important;
  border-radius: var(--ui-radius-md);
  background: var(--ui-accent) !important;
  color: var(--ui-btn-text) !important;
  text-decoration: none;
  font: 600 14px/1 var(--ui-font-family);
  cursor: pointer;
  transition: background-color .15s ease, transform .08s ease;
}

.app-shell :is(
  .dash-primary,.dash-ghost,.linkio-btn,.support-cta,.market-item-btn,.settings-outline-btn,
  .physical-row-view,.btn-primary,.btn-outline,.dash-card-action,.tags-create-btn,
  .co-btn,.authx-btn,.res-btn,.btn-save,.btn-submit,.btn,.button,.lk-btn-logout,
  .global-button,.popl-btn-update
):hover { background: var(--ui-accent-hover) !important; }

.app-shell :is(.global-button-cancel-qr,.popl-btn-cancel) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--ui-btn-height-1) !important;
  min-height: var(--ui-btn-height-1) !important;
  padding: 0 var(--ui-btn-pad-x);
  border: 1px solid var(--ui-border) !important;
  border-radius: var(--ui-radius-md);
  background: #f7f0f3 !important;
  color: var(--ui-accent) !important;
  text-decoration: none;
  font: 600 14px/1 var(--ui-font-family);
  cursor: pointer;
}

.btn-size-2,.btn--2 { height: var(--ui-btn-height-2) !important; min-height: var(--ui-btn-height-2) !important; }
.btn-size-3,.btn--3 { height: var(--ui-btn-height-3) !important; min-height: var(--ui-btn-height-3) !important; }
