:root {
  --ink: #20262f;
  --muted: #727b86;
  --line: #e7e9ed;
  --paper: #f5f6f8;
  --green: #866324;
  --lime: #edc77a;
  --dark: #171b21;
  --red: #b84145;
  --surface: #fff;
  --shadow: 0 3px 16px #18233805;
}
html {
  scroll-padding-top: 100px;
}
body {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
  vertical-align: middle;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 200;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
}
.skip-link:focus {
  top: 12px;
}
button,
input,
select,
textarea,
a.btn {
  border-radius: 9px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #b78737;
  outline-offset: 3px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 12px;
  border-color: #dfe3e8;
  box-shadow: 0 1px 2px #11182704;
}
.btn.primary {
  background: #252c35;
  border-color: #252c35;
  color: #fff;
}
.btn.primary:hover {
  background: #3b4552;
}
.btn.lime {
  background: #edc77a;
  border-color: #edc77a;
  color: #33270f;
}
.btn.ghost {
  border-color: #56606c;
  color: #f4f5f7;
}
.btn.small {
  min-height: 36px;
  font-size: 11px;
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #657080;
  cursor: pointer;
}
.icon-button:hover {
  background: #eef0f3;
  color: #252c35;
}
h1 {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -0.9px;
}
h2 {
  font-weight: 650;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  color: #8d6b30;
}
.sidebar {
  width: 244px;
  background: #171b21;
  padding: 30px 18px 22px;
  border-right: 1px solid #272c34;
}
.brand {
  font-size: 11px;
  letter-spacing: 1px;
}
.brand-mark {
  width: 43px;
  height: 43px;
  border: 1px solid #a7874e;
  border-radius: 13px 4px 13px 4px;
  color: #edc77a;
  background: #25272a;
  letter-spacing: -1px;
}
.brand small {
  color: #7c8794;
  font-size: 11px;
}
.workspace-label {
  margin: 44px 14px 14px;
  color: #697481;
}
.sidebar nav {
  gap: 7px;
}
.sidebar nav a {
  color: #9fa9b6;
  border-radius: 9px;
  min-height: 45px;
  padding: 12px 14px;
  font-size: 12px;
  gap: 12px;
}
.sidebar nav a > span {
  width: auto;
  font-size: inherit;
}
.sidebar nav a.active {
  background: #2c3037;
  color: #f1cf8e;
  box-shadow: inset 3px 0 #d0aa60;
}
.sidebar nav a:hover {
  background: #252a32;
  color: #fff;
}
.sidebar nav i {
  color: #bdc7b9;
  font-size: 7px;
  background: #333e35;
  border-radius: 4px;
  padding: 4px;
}
.sidebar nav b {
  color: #edc77a;
}
.station-hint {
  border-color: #2c323b;
  color: #b5bfc9;
  font-size: 11px;
  padding: 18px 8px;
}
.station-hint small {
  color: #717e8d;
}
.user-row {
  padding-top: 20px;
  font-size: 11px;
}
.user-row .user-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-row small {
  color: #7c8794;
}
.avatar {
  color: #edc77a;
  background: #333337;
  min-width: 33px;
}
.logout {
  color: #aab3bf;
  border-radius: 8px;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logout:hover {
  background: #30363f;
  color: #fff;
}
.main-wrap {
  margin-left: 244px;
  width: calc(100% - 244px);
  min-width: 0;
}
.topbar {
  height: 78px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 36px;
  gap: 16px;
}
.topbar-leading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.breadcrumb {
  color: #87909b;
  white-space: nowrap;
  font-size: 11px;
}
.breadcrumb b {
  color: #454d59;
  font-weight: 600;
}
.breadcrumb span {
  color: #c5cbd3;
  margin: 0 10px;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
#today {
  display: none;
}
#connection {
  font-size: 11px;
  color: #7e8793;
  white-space: nowrap;
  margin-left: 6px;
}
.dot {
  width: 6px;
  height: 6px;
  background: #55a683;
}
.quick-search {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #939ba5;
  border: 1px solid #e5e8ec;
  background: #fafbfc;
  padding: 9px 12px;
  min-height: 39px;
  font-size: 11px;
  width: 190px;
}
.quick-search .icon {
  width: 16px;
  height: 16px;
}
.quick-search kbd {
  margin-left: auto;
  border: 1px solid #dfe3e8;
  background: white;
  border-radius: 4px;
  padding: 0 5px;
  font-size: 11px;
  color: #929aa6;
}
.touch-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: #626d7b;
  border: 1px solid #e5e8ec;
  min-height: 39px;
  padding: 8px 10px;
  font-size: 11px;
  white-space: nowrap;
}
.touch-toggle .icon {
  width: 17px;
  height: 17px;
}
.switch-track {
  display: inline-flex;
  align-items: center;
  width: 24px;
  height: 14px;
  background: #d6dbe2;
  border-radius: 20px;
  padding: 2px;
}
.switch-track::after {
  content: "";
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px #0002;
}
.touch-toggle[aria-checked="true"] {
  background: #fbf6e9;
  border-color: #e4c991;
  color: #805f25;
}
.touch-toggle[aria-checked="true"] .switch-track {
  background: #b68b3e;
}
.touch-toggle[aria-checked="true"] .switch-track::after {
  transform: translateX(10px);
}
.scopebar {
  background: #fff;
  padding: 15px 36px;
  gap: 18px;
  flex-wrap: wrap;
}
.scope-title {
  color: #a0a8b2;
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin-right: 2px;
}
.scopebar label {
  gap: 8px;
  font-size: 11px;
  color: #939ba5;
  max-width: 260px;
}
.scopebar select {
  background: #f7f8fa;
  border: 1px solid #e6e9ee;
  color: #404b5a;
  min-height: 34px;
  border-radius: 7px;
  min-width: 135px;
  font-size: 11px;
  padding: 6px 25px 6px 10px;
}
.scope-divider {
  color: #c2c9d1;
}
.scope-indicator {
  margin-left: auto;
  color: #9099a4;
  font-size: 11px;
}
.scope-indicator .dot {
  width: 5px;
  height: 5px;
  margin-right: 5px;
}
main#content {
  padding: 34px 36px 20px;
  max-width: 1680px;
  margin: 0 auto;
  width: 100%;
}
.page-heading {
  margin-bottom: 26px;
}
.page-heading h1 {
  margin-bottom: 8px;
}
.page-heading p {
  color: #929aa6;
  font-size: 12px;
}
.page-heading .eyebrow {
  color: #a38a5f;
  font-size: 11px;
  letter-spacing: 1.4px;
  margin-bottom: 12px;
}
.page-heading > .actions {
  flex-wrap: wrap;
}
.setup {
  background: #fffaf0;
  border: 1px solid #efe2c7;
  border-radius: 12px;
  padding: 22px;
}
.setup h3 {
  color: #7e642f;
}
.setup p {
  color: #9b875e;
}
.stats {
  gap: 18px;
  margin-bottom: 23px;
}
.stat {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  padding: 23px 23px 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.stat-top {
  font-size: 11px;
  letter-spacing: 0.9px;
  color: #9099a5;
  align-items: center;
}
.stat-icon {
  background: #f4f5f7;
  color: #86919d;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.stat-icon .icon {
  width: 16px;
  height: 16px;
}
.stat strong {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -1.2px;
  color: #2e3641;
  margin-top: 13px;
}
.stat small {
  font-size: 11px;
  color: #a0a7b2;
  margin-top: 12px;
}
.stat:last-child .stat-icon {
  background: #fff6e6;
  color: #b08943;
}
.panel {
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 22px;
  background: white;
}
.panel-head {
  border-color: #eff0f3;
  padding: 21px 23px;
  min-height: 65px;
}
.panel-head h2 {
  font-size: 14px;
  letter-spacing: -0.3px;
  margin: 0;
}
.panel-head a {
  font-size: 11px;
  color: #9d814c;
}
.panel-body {
  padding: 22px 23px;
}
.grid-main {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
}
.grid-main > *,
.right-column {
  min-width: 0;
}
.right-column .panel {
  margin-bottom: 0;
}
.right-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
th {
  background: #fafbfc;
  color: #a0a8b2;
  font-size: 11px;
  letter-spacing: 0.65px;
  padding: 13px 22px;
  white-space: nowrap;
}
td {
  padding: 20px 22px;
  font-size: 12px;
  border-bottom-color: #f0f1f4;
}
td strong {
  font-size: 11px;
  color: #434d5b;
  font-weight: 600;
}
td small {
  color: #a1a8b2;
  font-size: 11px;
  margin-top: 5px;
}
td.metric {
  font-size: 12px;
  color: #727e8d;
}
td.metric strong {
  color: #3e4b5b;
  font-size: 13px;
}
.vial-icon {
  background: #f5f3ee;
  color: #a18b62;
  border-radius: 8px;
  border: 0;
  width: 34px;
  height: 38px;
}
.product-cell {
  gap: 12px;
}
.pill {
  font-size: 11px;
  border-radius: 5px;
  padding: 5px 8px;
  font-weight: 500;
}
.scan-promo {
  background: #232a34;
  border-radius: 12px;
  padding: 25px;
  min-height: 265px;
  border: 1px solid #2e3743;
  color: #c5ccd5;
  position: relative;
  overflow: hidden;
}
.scan-promo .eyebrow {
  color: #a99a7b;
  font-size: 11px;
}
.scan-promo h2 {
  color: #f4f3ee;
  font-size: 26px;
  letter-spacing: -0.8px;
  margin: 20px 0 12px;
}
.scan-promo p {
  font-size: 11px;
  color: #9ca7b6;
  line-height: 1.8;
}
.scan-art {
  color: #566171;
  font-size: 38px;
  right: 22px;
  top: 20px;
}
.scan-art .icon {
  width: 45px;
  height: 45px;
  stroke-width: 1.3;
}
.scan-promo .btn {
  font-size: 11px;
  min-height: 37px;
  margin-top: 12px;
}
.scan-promo .tab-note {
  font-size: 11px;
  margin-top: 16px;
  color: #69798b;
}
.activity-item {
  border-color: #eef0f3;
  gap: 11px;
  padding: 14px 0;
}
.activity-item strong {
  font-size: 11px;
  color: #526071;
}
.activity-item small,
.activity-item time {
  color: #a6aeb9;
  font-size: 11px;
}
.activity-symbol {
  color: #a69575;
  background: #f8f5ef;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.focus-strip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: white;
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  padding: 19px 22px;
  margin: 0 0 23px;
}
.focus-strip > .icon {
  color: #a68b57;
  width: 19px;
  height: 19px;
  margin-top: 2px;
}
.focus-strip strong {
  font-size: 11px;
  color: #535f6e;
}
.focus-strip p {
  font-size: 11px;
  color: #98a1ad;
  margin: 6px 0 0;
}
.focus-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.focus-links .btn {
  font-size: 11px;
  min-height: 32px;
  padding: 6px 10px;
}
.filters {
  padding: 4px;
  background: #eceedf00;
  gap: 4px;
}
.filter {
  min-height: 36px;
  padding: 8px 13px;
  font-size: 11px;
  color: #8993a1;
  border-radius: 7px;
}
.filter.active {
  background: #fff;
  color: #66502c;
  box-shadow: 0 1px 5px #11182710;
  border: 1px solid #e1d5bd;
}
.search,
input,
select,
textarea {
  border-color: #e0e5eb;
  background: #fff;
  color: #465363;
  border-radius: 8px;
}
label {
  font-size: 11px;
  color: #657282;
  font-weight: 500;
}
input,
select,
textarea {
  min-height: 41px;
  padding: 11px 12px;
}
input::placeholder,
textarea::placeholder {
  color: #a3acb8;
}
.toolbar {
  gap: 16px;
  margin-bottom: 20px;
}
.scan-console {
  background: #242c37;
  border: 1px solid #303b49;
  border-radius: 13px;
  color: #c1cbd7;
  padding: 25px;
}
.mode-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  background: #1c242e;
  border-radius: 10px;
  padding: 5px;
}
.mode {
  min-height: 42px;
  font-size: 11px;
  border-radius: 7px;
  border: 0;
  padding: 10px;
  color: #96a3b4;
  background: transparent;
}
.mode.active {
  background: #4d493d;
  color: #efd19a;
  border: 1px solid #7e6a43;
}
.scan-target h2 {
  color: #f5f4f0;
  font-size: 24px;
}
.scan-target p {
  color: #91a2b6;
  font-size: 11px;
}
.scan-symbol {
  color: #bfa16b;
}
.scan-console label {
  color: #9faec1;
}
.scan-console input,
.scan-console select {
  background: #2d3745;
  color: #e3e8ef;
  border-color: #455264;
}
.scan-console input::placeholder {
  color: #8493a5;
}
.quantity-stepper {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.quantity-stepper input {
  text-align: center;
  width: 100%;
  min-width: 0;
}
.quantity-stepper button {
  width: 42px;
  flex: 0 0 42px;
  background: #3b4758;
  border: 1px solid #546174;
  color: #e3e8ef;
  border-radius: 8px;
  font-size: 22px;
  min-height: 42px;
}
.scan-result {
  background: #f1f8f4;
  border: 1px solid #d1e5db;
  border-radius: 12px;
  color: #3b6856;
}
.error-result {
  background: #fff3f3;
  border-color: #edc9cb;
  color: #9e4c50;
}
.retry-banner {
  border: 1px solid #ead2a0;
  border-radius: 11px;
}
.instructions {
  color: #98a3b1;
  line-height: 1.8;
  font-size: 11px;
}
.instructions strong {
  color: #718093;
}
.scan-layout {
  gap: 23px;
}
.count-row {
  gap: 16px;
}
.count-row .count-name {
  min-width: 0;
}
.settings-grid {
  gap: 22px;
}
.settings-grid .panel-body p,
.settings-grid li {
  color: #8490a0;
  font-size: 11px;
  line-height: 1.9;
}
.display-setting {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.display-setting p {
  margin: 5px 0 0;
}
.dialog-heading {
  border-color: #e9ecf0;
  padding: 22px 25px;
  background: #fff;
}
.dialog-heading h2 {
  font-size: 19px;
  margin: 0;
}
dialog {
  border: 1px solid #e2e6ec;
  border-radius: 15px;
  box-shadow: 0 25px 100px #12203330;
}
dialog::backdrop {
  background: #0e172875;
  backdrop-filter: blur(3px);
}
#modal-body {
  padding: 25px;
}
.form-actions {
  gap: 12px;
  border-color: #e9ecf1;
  padding-top: 20px;
}
.field-help {
  color: #9ca5b1;
  font-size: 11px;
  line-height: 1.7;
}
.form-error {
  background: #fff1f2;
  color: #a44249;
  border: 1px solid #eacbd0;
  border-radius: 8px;
  padding: 14px;
}
#toast {
  background: #273442;
  border: 1px solid #45566a;
  border-radius: 12px;
  box-shadow: 0 8px 30px #11182722;
  font-size: 12px;
}
#toast.bad {
  background: #85424b;
}
footer {
  color: #abb2bb;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 20px 36px;
}
.inventory-cards,
.touch-nav,
.nav-scrim {
  display: none;
}
.auth-body {
  background: #171b21;
  color: #253040;
  padding: 32px 0;
}
.auth-card {
  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 20px;
  box-shadow: 0 24px 100px #0002;
  padding: 38px;
}
.auth-card h1 {
  color: #283240;
  font-size: 29px;
}
.auth-card .brand-mark {
  background: #262b33;
}
.auth-card .auth-foot {
  color: #a6aeb8;
}
.auth-card .muted {
  color: #98a1ad;
  font-size: 12px;
}
.security-card {
  max-width: 620px;
}
.security-card h2 {
  font-size: 18px;
  color: #596679;
  margin-top: 27px;
}
.security-card > p {
  color: #8691a1;
  font-size: 12px;
  line-height: 1.8;
}
.security-card button {
  background: #26313f;
  border-radius: 9px;
}
.security-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5e8b75;
  background: #f1f8f4;
  border: 1px solid #dfede3;
  border-radius: 8px;
  padding: 12px;
  font-size: 11px;
  margin: 20px 0;
}
.login-page {
  background:
    radial-gradient(ellipse at 16% 30%, #30333a 0, transparent 55%), #171b21;
  min-height: 100dvh;
}
.login-layout {
  width: min(1070px, 91vw);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 100px;
  align-items: center;
  min-height: min(720px, 90vh);
}
.login-story {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding: 35px 0 25px;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #e4d2ad;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 3px;
}
.vialvault-logo-mark {
  width: 44px;
  height: 49px;
  object-fit: contain;
}
.login-brand .vialvault-wordmark {
  display: inline;
  color: #f1f3f5;
  font-size: 22px;
  letter-spacing: -0.7px;
  font-weight: 700;
}
.login-brand .vialvault-wordmark span {
  display: inline;
  margin: 0;
  color: #d5b366;
  font-size: inherit;
  letter-spacing: inherit;
}
.security-logo-mark {
  width: 48px;
  height: 54px;
  object-fit: contain;
}
.login-brand > span > span {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  margin-top: 5px;
  color: #8c929d;
}
.story-copy {
  margin: auto 0;
}
.story-copy .eyebrow {
  color: #b09a71;
  font-size: 11px;
}
.story-copy h1 {
  color: #f4f3ef;
  font-size: clamp(40px, 4.7vw, 62px);
  line-height: 1.13;
  font-weight: 550;
  letter-spacing: -2.5px;
  margin: 23px 0;
}
.story-copy > p:not(.eyebrow) {
  color: #8c97a7;
  line-height: 1.9;
  font-size: 13px;
}
.story-features {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 35px;
}
.story-features span {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #a5adba;
  font-size: 11px;
}
.story-features .icon {
  color: #b39864;
  width: 18px;
  height: 18px;
}
.login-copyright {
  color: #515e6f;
  font-size: 11px;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  margin: 0;
  gap: 20px;
}
.login-copyright span {
  letter-spacing: 0;
}
.login-card {
  width: 100%;
  padding: 38px 32px;
  border-color: #ffffff11;
}
.login-emblem {
  color: #ac8b4e;
  background: #fbf6eb;
  border: 1px solid #e9ddc3;
  border-radius: 13px;
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
}
.login-emblem .icon {
  width: 25px;
  height: 25px;
}
.login-emblem img {
  width: 30px;
  height: 34px;
  object-fit: contain;
}
.login-card .eyebrow {
  font-size: 11px;
  letter-spacing: 1.25px;
  color: #a28c65;
}
.login-card h2 {
  font-size: 30px;
  letter-spacing: -0.9px;
  color: #2c3543;
  margin: 12px 0 14px;
}
.login-card .muted {
  font-size: 12px;
  line-height: 1.8;
}
.login-card form {
  margin: 26px 0;
}
.discord-button {
  background: #5865f2;
  border: 1px solid #5865f2;
  color: #fff;
  font-size: 12px;
  height: 48px;
  gap: 11px;
  border-radius: 9px;
}
.discord-button:hover {
  background: #4752c4;
}
.discord-button .icon {
  width: 19px;
  height: 19px;
}
.discord-button > .icon:last-child {
  width: 15px;
  height: 15px;
  margin-left: auto;
}
.login-assurance {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #70816e;
}
.login-assurance .icon {
  width: 20px;
  height: 20px;
  color: #91ad8f;
}
.login-assurance small {
  display: inline-block;
  font-size: 11px;
  color: #a5adb8;
  margin-top: 5px;
}
.login-help {
  border-top: 1px solid #eceef2;
  margin-top: 30px;
  padding-top: 23px;
  font-size: 11px;
}
.login-help b {
  color: #7f8a9a;
  font-weight: 550;
}
.login-help p {
  color: #a4acb7;
  font-size: 11px;
  line-height: 1.8;
  margin: 5px 0 0;
}
.login-card .auth-foot {
  font-size: 11px;
  margin-top: 30px;
}
.configuration-note {
  padding: 17px;
  color: #99733a;
  background: #fff8eb;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.7;
}
@media (max-width: 1280px) {
  .scope-title {
    display: none;
  }
  .quick-search {
    width: 145px;
  }
  .scope-indicator {
    display: none;
  }
  .topbar {
    padding: 0 25px;
  }
  main#content {
    padding: 30px 25px 20px;
  }
  .scopebar {
    padding: 14px 25px;
  }
  .grid-main {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}
@media (max-width: 1100px) {
  #connection {
    display: none;
  }
  .quick-search {
    width: 38px;
    padding: 9px;
    justify-content: center;
  }
  .quick-search span,
  .quick-search kbd {
    display: none;
  }
  .grid-main {
    grid-template-columns: 1fr;
  }
  .right-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    padding: 18px;
  }
  .stat strong {
    font-size: 30px;
  }
  .stat small {
    font-size: 11px;
  }
  .login-layout {
    gap: 50px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    width: 244px;
  }
  .main-wrap {
    margin: 0;
    width: 100%;
  }
  #menu-toggle {
    display: inline-flex;
  }
  .menu-open .sidebar {
    transform: translateX(0);
    box-shadow: 15px 0 80px #0004;
  }
  .menu-open .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: #12192780;
    z-index: 19;
    border: 0;
    width: 100%;
    border-radius: 0;
  }
  .login-layout {
    grid-template-columns: 1fr 355px;
    gap: 40px;
  }
  .story-copy h1 {
    font-size: 43px;
  }
  .login-copyright {
    display: block;
  }
  .login-copyright span {
    display: none;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 68px;
    padding: 0 16px;
  }
  .top-right {
    gap: 5px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .breadcrumb > span {
    margin: 0 7px;
  }
  .touch-toggle {
    min-height: 38px;
    padding: 8px;
  }
  .refresh-button {
    display: none;
  }
  .topbar-leading {
    gap: 5px;
  }
  .scopebar {
    padding: 13px 16px;
    gap: 10px;
  }
  .scopebar label {
    flex: 1;
    min-width: 0;
    max-width: none;
    display: block;
    font-size: 11px;
    letter-spacing: 0.4px;
  }
  .scopebar select {
    width: 100%;
    min-width: 0;
    margin-top: 5px;
    font-size: 11px;
  }
  .scope-divider {
    display: none;
  }
  main#content {
    padding: 24px 16px 15px;
  }
  .page-heading {
    display: block;
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading > .actions {
    justify-content: flex-start;
    margin-top: 17px;
    gap: 8px;
  }
  .page-heading > .actions .btn {
    font-size: 11px;
    min-height: 37px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .stat-top {
    font-size: 11px;
    letter-spacing: 0.4px;
  }
  .stat strong {
    font-size: 30px;
  }
  .stat small {
    line-height: 1.5;
    min-height: 25px;
  }
  .grid-main,
  .right-column,
  .scan-layout {
    display: block;
  }
  .panel-head,
  .panel-body {
    padding: 19px;
  }
  .scan-promo {
    margin-bottom: 20px;
  }
  .focus-strip {
    flex-wrap: wrap;
    padding: 17px;
    gap: 10px;
  }
  .focus-links {
    margin: 5px 0 0;
    width: 100%;
  }
  .scan-console {
    padding: 18px;
  }
  .mode {
    padding: 10px 5px;
  }
  .scan-console .form-grid {
    grid-template-columns: 1fr;
  }
  .login-story {
    display: none;
  }
  .login-layout {
    display: block;
    width: min(410px, 91vw);
    min-height: 0;
  }
  .login-card {
    padding: 35px 28px;
  }
  .auth-card {
    padding: 30px;
  }
  .login-page {
    padding: 35px 0;
  }
  .security-card {
    width: min(600px, 92vw);
  }
  .settings-grid {
    display: grid;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .filters {
    max-width: 100%;
    overflow-x: auto;
  }
  .search {
    width: 100%;
    min-width: 0;
  }
  footer {
    padding: 18px;
  }
}
@media (max-width: 480px) {
  .breadcrumb {
    display: none;
  }
  .touch-toggle [data-touch-label] {
    display: none;
  }
  .touch-toggle {
    gap: 8px;
  }
  .quick-search {
    width: 38px;
  }
  .topbar {
    gap: 6px;
  }
  .top-right {
    margin-left: auto;
    gap: 7px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat-icon {
    width: 25px;
    height: 25px;
  }
  .stat strong {
    font-size: 31px;
  }
}
/* Device preference is independent of roles and inventory context. */
html[data-touch="true"] body {
  font-size: 16px;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}
html[data-touch="true"] .sidebar {
  transform: translateX(-100%);
}
html[data-touch="true"] .main-wrap {
  margin: 0;
  width: 100%;
}
html[data-touch="true"] #menu-toggle {
  display: inline-flex;
}
html[data-touch="true"] .menu-open .sidebar {
  transform: translateX(0);
  box-shadow: 15px 0 80px #0004;
}
html[data-touch="true"] .menu-open .nav-scrim {
  display: block;
  position: fixed;
  inset: 0;
  width: 100%;
  background: #12192780;
  z-index: 19;
  border: 0;
  border-radius: 0;
}
html[data-touch="true"] .btn,
html[data-touch="true"] .filter,
html[data-touch="true"] .icon-button,
html[data-touch="true"] .touch-toggle,
html[data-touch="true"] .mode,
html[data-touch="true"] .quick-search,
html[data-touch="true"] .logout {
  min-height: 48px;
  min-width: 48px;
  font-size: 14px;
  padding: 12px 16px;
}
html[data-touch="true"] .sidebar nav a {
  min-height: 52px;
  font-size: 14px;
}
html[data-touch="true"] .icon-button {
  width: 48px;
  padding: 12px;
}
html[data-touch="true"] input,
html[data-touch="true"] select,
html[data-touch="true"] textarea {
  min-height: 52px;
  font-size: 16px;
  padding: 13px;
}
html[data-touch="true"] label {
  font-size: 13px;
}
html[data-touch="true"] .scopebar select {
  min-height: 48px;
  font-size: 14px;
}
html[data-touch="true"] .scopebar label {
  font-size: 11px;
}
html[data-touch="true"] .page-heading p {
  font-size: 14px;
}
html[data-touch="true"] .page-heading .eyebrow {
  font-size: 11px;
}
html[data-touch="true"] .touch-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  z-index: 30;
  bottom: 0;
  left: 0;
  right: 0;
  gap: 3px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: #ffffffef;
  border-top: 1px solid #e1e5eb;
  box-shadow: 0 -8px 30px #1a253210;
  backdrop-filter: blur(16px);
}
html[data-touch="true"] .touch-nav a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  color: #8c97a6;
  padding: 8px 12px;
  min-width: 54px;
  min-height: 54px;
  border-radius: 10px;
  font-size: 11px;
  flex: 1;
}
html[data-touch="true"] .touch-nav a > span {
  font-size: 11px;
  width: auto;
}
html[data-touch="true"] .touch-nav a.active {
  background: #f6efdf;
  color: #8a682c;
}
html[data-touch="true"] .touch-nav .touch-scan .icon {
  width: 24px;
  height: 24px;
}
html[data-touch="true"] .inventory-table {
  display: none;
}
html[data-touch="true"] .inventory-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
  padding: 18px;
}
.lot-card {
  border: 1px solid #e4e8ee;
  border-radius: 12px;
  padding: 18px;
  background: #fff;
  min-width: 0;
}
.lot-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.lot-card h3 {
  color: #3f4c5c;
  font-size: 16px;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}
.lot-card p {
  color: #929eae;
  font-size: 12px;
  margin: 0;
}
.lot-card .pill {
  font-size: 11px;
}
.card-balances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
  margin: 17px 0;
  padding: 16px 0;
  gap: 8px;
}
.card-balances strong {
  display: block;
  color: #4c5c70;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.card-balances span {
  font-size: 11px;
  color: #9aa5b3;
  display: block;
  margin-top: 5px;
}
.lot-card-foot {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.lot-card-foot small {
  color: #9ba6b5;
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
html[data-touch="true"] .scan-target {
  padding: 25px 5px;
}
html[data-touch="true"] .scan-target p {
  font-size: 14px;
}
html[data-touch="true"] .scan-target .actions {
  gap: 12px;
}
html[data-touch="true"] .mode {
  min-height: 60px;
}
html[data-touch="true"] .quantity-stepper button {
  min-height: 56px;
  flex-basis: 56px;
  font-size: 25px;
}
html[data-touch="true"] .quantity-stepper input {
  font-size: 24px;
  height: 56px;
}
html[data-touch="true"] dialog {
  width: min(720px, 94vw);
  max-height: 90dvh;
}
html[data-touch="true"] #modal-body {
  padding: 25px;
}
html[data-touch="true"] .form-actions {
  position: sticky;
  bottom: -25px;
  padding: 18px 0;
  margin-top: 24px;
  background: #fff;
  z-index: 2;
}
html[data-touch="true"] .form-actions .btn {
  flex: 1;
  min-height: 54px;
}
html[data-touch="true"] #toast {
  bottom: calc(100px + env(safe-area-inset-bottom));
  left: 50%;
  font-size: 14px;
}
html[data-touch="true"] #network-warning {
  bottom: calc(78px + env(safe-area-inset-bottom));
}
html[data-touch="true"] .activity-item strong {
  font-size: 13px;
}
html[data-touch="true"] .activity-item small,
html[data-touch="true"] .activity-item time {
  font-size: 11px;
}
html[data-touch="true"] .panel-head h2 {
  font-size: 17px;
}
html[data-touch="true"] .panel-head a {
  font-size: 13px;
}
html[data-touch="true"] .instructions,
html[data-touch="true"] .tab-note {
  font-size: 12px;
}
html[data-touch="true"] .auth-body {
  padding-bottom: 35px;
}
html[data-touch="true"] .security-card p {
  font-size: 14px;
}
html[data-touch="true"] .kiosk .touch-nav,
html[data-touch="true"] .kiosk .sidebar,
html[data-touch="true"] .kiosk #menu-toggle {
  display: none;
}
html[data-touch="true"] body.kiosk {
  padding-bottom: 0;
}
@media (max-width: 760px) {
  html[data-touch="true"] .inventory-cards {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  html[data-touch="true"] .top-right {
    gap: 3px;
  }
  html[data-touch="true"] .quick-search {
    display: none;
  }
  html[data-touch="true"] .touch-toggle [data-touch-label] {
    font-size: 11px;
  }
  html[data-touch="true"] .topbar {
    padding: 0 12px;
    height: 74px;
  }
  html[data-touch="true"] .page-heading .btn {
    font-size: 13px;
  }
  html[data-touch="true"] .scan-layout {
    display: block;
  }
  html[data-touch="true"] .count-row {
    flex-wrap: wrap;
  }
  html[data-touch="true"] .count-row .btn {
    width: 100%;
  }
  html[data-touch="true"] .toolbar .filters {
    width: 100%;
    gap: 3px;
  }
  html[data-touch="true"] .filter {
    font-size: 11px;
    padding: 10px;
  }
  html[data-touch="true"] .form-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Supporting information remains readable at the normal viewing size. */
.page-heading p,
.scopebar label,
.scope-title,
.scope-indicator,
th,
td small,
.stat small,
.activity-item small,
.activity-item time,
.lot-card p,
.lot-card-foot small,
.card-balances span,
.login-help p,
.login-assurance small,
.login-card .muted,
.login-card .auth-foot {
  color: #626e7d;
}
.lot-card p,
.lot-card-foot small,
.card-balances span {
  font-size: 13px;
}
.vial-icon {
  display: grid;
  place-items: center;
}
.vial-icon .icon {
  width: 22px;
  height: 22px;
}
.scan-symbol .icon {
  width: 50px;
  height: 50px;
}

.quantity-stepper input {
  min-width: 64px;
  appearance: textfield;
  padding-left: 8px;
  padding-right: 8px;
}
.quantity-stepper input::-webkit-inner-spin-button,
.quantity-stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
@media (max-width: 900px) {
  html[data-touch="true"] .scan-layout {
    grid-template-columns: 1fr;
  }
}

/* Mount a visible inline camera surface before asking for permission. */
.scan-console.camera-open .scan-target {
  display: none;
}
#camera-panel {
  scroll-margin-top: 85px;
  margin: 20px 0;
}
.camera-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.camera-toolbar strong {
  color: #f1f4f8;
}
.camera-toolbar p,
.camera-help {
  color: #bbc7d6;
  font-size: 13px;
  line-height: 1.6;
  margin: 6px 0 0;
}
.camera-toolbar .btn {
  flex: 0 0 auto;
}
#camera-panel:not([hidden]) #reader {
  display: block;
  width: 100%;
  min-height: 180px;
  margin: 0 auto 14px;
  background: #141b24;
  max-width: 520px;
}
#camera-panel #reader video {
  display: block;
  width: 100% !important;
  height: auto;
}
#camera-panel.camera-error #reader {
  display: none;
}
#camera-panel.camera-error #camera-status {
  color: #ffd5b0;
}
.camera-help {
  margin-top: 12px;
}
@media (max-width: 760px) {
  .camera-toolbar {
    flex-wrap: wrap;
  }
  html[data-touch="true"] .scan-console.camera-open {
    padding: 18px;
  }
}

/* Product totals stay together; individual batches are opened explicitly. */
.product-availability {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #626e7d;
  font-size: 12px;
  margin-bottom: 8px;
}
.product-availability b {
  color: #334454;
  font-size: 14px;
}
.product-card .product-availability {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.product-card .lot-card-foot {
  border-top: 1px solid #edf0f4;
  padding-top: 14px;
}
dialog:has(.lot-breakdown) {
  width: min(1050px, 94vw);
}
#modal .inventory-cards {
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
}
html[data-touch="true"] .product-availability {
  font-size: 14px;
}
html[data-touch="true"] .product-availability b {
  font-size: 16px;
}
/* Receiving and packing use the same spacious controls on tablets and desktop. */
.operation-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid #e7e9ed;
  overflow-wrap: anywhere;
}
.operation-line > div {
  min-width: 0;
  flex: 1;
}
.operation-line small {
  display: block;
  color: #626e7d;
  font-size: 12px;
  margin-top: 6px;
}
.operation-lines {
  margin: 18px 0;
  border: 1px solid #e7e9ed;
  border-radius: 10px;
  overflow: hidden;
}
.shipment-row {
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
  min-width: 0;
}
.shipment-row legend {
  font-weight: 600;
  padding: 0 8px;
}
.shipment-row .form-grid {
  margin-bottom: 14px;
}
#shipment-form > label,
#import-form > label {
  margin-top: 20px;
}
#shipment-form textarea,
#import-form input[type="file"] {
  width: 100%;
}
.packing-banner {
  background: #fff;
  border: 1px solid #e2e6ec;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.packing-banner.active {
  border-color: #d5b66f;
  background: #fffaf0;
}
.packing-banner p {
  color: #626e7d;
  font-size: 13px;
  margin: 6px 0 0;
}
.quantity-notice {
  color: #c1cad6;
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0;
}
.quantity-notice.multiple {
  background: #ffdc86;
  color: #3c2d12;
  padding: 10px;
  border-radius: 7px;
  font-weight: 600;
}
.saved-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.4;
}
.remaining-stock {
  font-size: 18px;
}
.sidebar nav {
  overflow-y: auto;
  min-height: 0;
}
@media (max-width: 760px) {
  .packing-banner {
    flex-wrap: wrap;
    padding: 16px;
  }
  .packing-banner .btn {
    width: 100%;
  }
  .operation-line {
    padding: 16px;
    align-items: flex-start;
  }
  .operation-line .btn {
    width: 100%;
  }
  .shipment-row {
    padding: 13px;
  }
}
/* Keep the latest scan and current balances above the scanning controls. */
.scan-feedback {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 20px;
  border: 1px solid #d5dce2;
  border-left: 5px solid #81929e;
  border-radius: 14px;
  background: #fff;
}
.scan-feedback.saved {
  background: #eff8ef;
  border-color: #b9d7b7;
  border-left-color: #3b7a40;
}
.scan-feedback.failed {
  background: #fff0ed;
  border-color: #e0b1a5;
  border-left-color: #b3482e;
}
.scan-feedback.waiting {
  background: #fff7df;
  border-left-color: #ad8427;
}
.scan-feedback > strong {
  font-size: 20px;
}
.scan-feedback h2 {
  font-size: clamp(23px, 3vw, 32px);
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.scan-feedback p {
  margin: 0;
  color: #465565;
}
.scan-balances {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.scan-balances b {
  display: block;
  font-size: 30px;
  color: #244f2a;
}
.scan-balances span,
.scan-balances small {
  display: block;
}
.scan-balances span {
  font-size: 14px;
  font-weight: 700;
}
.scan-balances small {
  margin-top: 5px;
  color: #526252;
}
@media (max-width: 600px) {
  .scan-feedback {
    padding: 16px;
    gap: 14px;
  }
  .scan-balances {
    gap: 24px;
  }
}
#camera-feedback:not(:empty) {
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  font-size: 15px;
  background: #ecf7e8;
  color: #1d4520;
  overflow-wrap: anywhere;
}
#camera-feedback span {
  display: block;
  margin-top: 3px;
}
#camera-feedback.failed:not(:empty) {
  background: #fff0eb;
  color: #842e1c;
}
#camera-feedback.waiting:not(:empty) {
  background: #fff5d9;
  color: #75520d;
}
/* Optional brand workflows share the existing tablet and desktop controls. */
.workflow-settings fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.workflow-option {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e1e5eb;
  cursor: pointer;
}
.workflow-option input[type="checkbox"] {
  width: 24px;
  height: 24px;
  min-height: 24px;
  flex-shrink: 0;
  accent-color: #997326;
}
.workflow-option small {
  display: block;
  font-weight: 400;
  color: #647185;
  margin-top: 4px;
  line-height: 1.5;
}
.workflow-save-status {
  margin-top: 12px;
}
.workflow-alerts {
  margin-bottom: 24px;
}
.workflow-alert-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}
.workflow-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e1e5eb;
}
.workflow-alert > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.workflow-alert small {
  display: block;
  color: #647185;
  margin-top: 4px;
}
.label-task {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px;
  background: #f6eedc;
  border-radius: 10px;
  margin-bottom: 18px;
  color: #745316;
}
.receiving-check {
  padding: 14px;
  margin: 14px 0;
  border: 1px solid #d9dfe7;
  border-radius: 10px;
}
.receiving-check summary {
  min-height: 44px;
  cursor: pointer;
  font-weight: 600;
}
.receiving-difference {
  background: #fff4df;
  color: #77531b;
  padding: 10px;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.receiving-difference small {
  display: block;
}
@media (max-width: 600px) {
  .operation-line.has-discrepancy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
/* Notification destinations and per-device permission controls. */
.notifications-panel fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin: 18px 0;
  min-width: 0;
}
.notifications-panel legend {
  padding: 0 8px;
  font-weight: 700;
}
.notification-check {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  min-height: 48px;
}
.notification-check input[type="checkbox"] {
  width: 24px;
  height: 24px;
  min-height: 24px;
  flex-shrink: 0;
  accent-color: #997326;
}
.notification-device {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.notification-delivery {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.notification-delivery small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.notification-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}
.notification-save-status {
  margin-top: 12px;
}

.notification-bell {
  position: relative;
  flex-shrink: 0;
}
.notification-bell[hidden] {
  display: none !important;
}
#notification-unread:not(:empty) {
  position: absolute;
  top: -3px;
  right: -5px;
  min-width: 20px;
  padding: 2px 4px;
  border-radius: 20px;
  background: #8e362b;
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
}
.inbox-toolbar,
.inbox-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.inbox-toolbar {
  margin: 18px 0;
}
.inbox-card {
  padding: 18px;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.inbox-card.is-unread {
  border-left: 4px solid #9b742a;
  background: #fcf9f1;
}
.inbox-card h3 {
  margin: 0;
}
.inbox-card .notification-preview {
  font-size: 14px;
  line-height: 1.65;
}
.inbox-card .btn,
.inbox-toolbar .btn {
  min-height: 48px;
}
@media (max-width: 480px) {
  .top-right {
    gap: 8px;
  }
  .inbox-card {
    padding: 14px;
  }
}
