@import url("/fonts.css");
:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #25292d;
  background: #f4f6f9;
  font-synthesis: none;
  font-weight: 400;
  --green: #101b2c;
  --green-deep: #0a1422;
  --gold: #c9a961;
  --cream: #f4f6f9;
  --line: #dee1e5;
  --muted: #797c80;
  --amber: #365b85;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #c9a961;
  outline-offset: 3px;
}
button {
  color: inherit;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.04em;
}
h2 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 8px;
}
h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
p {
  line-height: 1.65;
}
small {
  font-size: 12px;
}
strong {
  font-weight: 600;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.7;
  color: #7d848b;
  margin-bottom: 12px;
}
.button {
  min-height: 43px;
  padding: 11px 17px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: #2d3d4e;
}
.button:active {
  transform: translateY(1px);
}
.button:disabled {
  opacity: 0.48;
}
.button.secondary {
  background: #fff;
  color: #353b41;
  border-color: #d6dbe0;
}
.button.secondary:hover {
  background: #eef0f3;
}
.button.text {
  background: transparent;
  color: var(--green);
  padding: 8px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
}
.icon-button:hover {
  background: #ffffff18;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--green);
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.brand strong {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -1.8px;
  line-height: 1.1;
}
.brand strong span {
  font-size: 11px;
  vertical-align: top;
  margin-left: 3px;
  letter-spacing: 0;
}
.brand small {
  display: block;
  letter-spacing: 1.35px;
  font-size: 6.8px;
  margin-top: 7px;
  font-weight: 500;
}
.brand.light {
  color: #fff;
}
.brand.light img {
  filter: brightness(0) invert(1);
}
.brand.small {
  gap: 9px;
}
.brand.small img {
  width: 33px;
  height: 33px;
}
.brand.small strong {
  font-size: 27px;
}
.brand.small small {
  font-size: 5.4px;
  letter-spacing: 1px;
}
.tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #475360;
  background: #e9edf2;
  white-space: nowrap;
  text-transform: capitalize;
  letter-spacing: 0.015em;
}
.tag.amber {
  background: #fbefd9;
  color: #946524;
}
.tag.gold {
  background: #f5ebcf;
  color: #8b6a1e;
}
.tag.red {
  background: #fce6df;
  color: #9c4439;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 18px;
  min-width: 0;
}
.field > span {
  font-weight: 600;
  color: #4e5256;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8dce0;
  border-radius: 6px;
  background: white;
  color: #32363b;
  padding: 12px 13px;
  min-height: 43px;
  font-size: 13px;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #999ca0;
}
select {
  padding-right: 25px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #bec4cb;
  border-color: #7b8897;
}
textarea {
  resize: vertical;
  min-height: 95px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.form-body {
  padding: 25px 28px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d8dde3;
  padding: 14px 17px;
  border-radius: 7px;
  margin-bottom: 22px;
  font-size: 12px;
  line-height: 1.6;
}
.notice > svg {
  flex-shrink: 0;
}
.notice > button:not(.button) {
  border: 0;
  background: transparent;
  margin-left: auto;
  display: flex;
}
.notice.error {
  background: #fff0eb;
  border-color: #edc9c1;
  color: #913f34;
}
.notice.warning {
  background: #fff5df;
  border-color: #edddb6;
  color: #865e22;
}
.notice.subtle {
  background: #f0f2f5;
  color: #616871;
  border-color: #e0e4e9;
}
.fine {
  font-size: 11px !important;
  line-height: 1.7;
  color: #8c9095 !important;
}
.text-link,
.panel-footer button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  color: #394654;
  font-size: 12px;
  font-weight: 600;
  padding: 3px;
  text-decoration: none;
}
.muted {
  color: #898c90;
  font-size: 12px;
}
.text-amber {
  color: #3e6899;
}
.inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.stack-actions {
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin-top: 23px;
  align-items: flex-start;
}
.full-width {
  grid-column: 1/-1;
}
.recovery {
  display: block;
  overflow-wrap: anywhere;
  padding: 20px;
  background: #e8ecf1;
  border: 1px dashed #949fac;
  font-size: 17px;
  letter-spacing: 1px;
  margin: 20px 0 28px;
  user-select: all;
}
.auth {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  min-height: 100vh;
}
.auth-story {
  background: var(--green);
  color: #fff;
  padding: 45px 62px 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.story-main {
  max-width: 545px;
  margin: 78px auto 40px;
  width: 100%;
}
.story-main > .eyebrow {
  color: #a9b3be;
  font-size: 11px;
}
.story-main h1 {
  font-size: clamp(56px, 5.5vw, 85px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin: 20px 0 28px;
}
.story-main h1 em {
  font-style: normal;
  color: #b8c6d7;
}
.story-main > p {
  font-size: 15px;
  color: #bdc3c9;
  line-height: 1.8;
}
.story-stock {
  margin-top: 40px;
  border-top: 1px solid #ffffff25;
  border-bottom: 1px solid #ffffff25;
  padding: 20px 0;
}
.stock-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.5px;
}
.stock-label .tag {
  font-size: 9px;
  background: #ffffff0d;
  color: #c8cdd3;
}
.stock-art {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  padding: 35px 0;
}
.crate {
  background: #91a2b6;
  color: #28323d;
  width: 31%;
  aspect-ratio: 1.15;
  border-radius: 5px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  border-top: 5px solid #cdd6e1;
  box-shadow: 6px 6px 0 #141f2b;
}
.crate svg {
  width: 32px;
  height: 32px;
}
.crate span {
  font-size: 8px;
  letter-spacing: 1px;
  margin-top: auto;
}
.crate b {
  position: absolute;
  bottom: 16px;
  right: 15px;
  font-size: 20px;
  font-weight: 500;
}
.light-crate {
  height: 135px;
  background: #d8dee6;
}
.gold-crate {
  background: #d4b667;
  color: #323c48;
  border-color: #efe0b0;
}
.story-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #b9c0c7;
}
.story-bottom span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.auth-foot {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  gap: 15px;
  color: #929ba5;
  font-size: 9px;
}
.auth-form {
  padding: 38px 54px 24px;
  display: flex;
  flex-direction: column;
  background: #f9fafc;
}
.auth-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.auth-top .tag {
  letter-spacing: 1px;
  font-size: 8px;
}
.auth-top a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  text-decoration: none;
}
.auth-form-inner {
  width: 100%;
  max-width: 385px;
  margin: auto;
  padding: 60px 0;
}
.auth-form-inner .eyebrow {
  color: #8e949b;
}
.auth-form-inner h2 {
  font-size: 32px;
  margin-bottom: 15px;
}
.auth-form-inner > p {
  font-size: 13px;
  color: #7a8086;
  margin-bottom: 27px;
}
.auth-form-inner form .button {
  width: 100%;
  margin-top: 7px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 21px;
}
.auth-links button {
  background: none;
  border: 0;
  padding: 0;
  font-size: 11px;
  color: #4e5a67;
}
.divider {
  position: relative;
  border-top: 1px solid #e0e3e7;
  margin: 36px 0 30px;
  text-align: center;
  height: 0;
}
.divider span {
  font-size: 8px;
  color: #999fa5;
  font-weight: 600;
  letter-spacing: 1.5px;
  background: #f9fafc;
  position: relative;
  top: -8px;
  padding: 0 12px;
}
.demo-button {
  width: 100%;
  margin-bottom: 10px;
  justify-content: space-between;
}
.auth-security {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: #818891;
  font-size: 9px;
  margin-top: auto;
}
.boot {
  min-height: 100vh;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.boot p {
  font-size: 13px;
  color: #818891;
}
.app {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 245px;
  background: var(--green);
  color: #d7dbe0;
  display: flex;
  flex-direction: column;
  padding: 29px 17px 0;
  z-index: 30;
  overflow-y: auto;
}
.sidebar > .brand {
  margin: 0 9px 30px;
}
.workspace-button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #b0bcc933;
  background: #ffffff08;
  color: #fff;
  padding: 12px 10px;
  border-radius: 7px;
  width: 100%;
  text-align: left;
  margin-bottom: 25px;
}
.workspace-button > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.workspace-button strong {
  font-size: 10px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-button small {
  font-size: 8px;
  color: #a0a8b2;
  display: block;
  margin-top: 4px;
}
.workspace-initial {
  font-size: 10px;
  background: #a1b1c3;
  color: #25313f;
  padding: 9px 6px;
  flex-shrink: 0;
  border-radius: 4px;
  font-weight: 700;
}
.nav-label {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #88929d;
  padding: 0 14px;
  margin-bottom: 12px;
}
.nav-label.second {
  margin-top: 26px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sidebar nav button,
.sidebar-bottom > button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border: 0;
  text-align: left;
  background: transparent;
  color: #bac1c9;
  width: 100%;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 450;
  min-height: 42px;
}
.sidebar nav button:hover,
.sidebar-bottom > button:hover {
  background: #ffffff09;
}
.sidebar nav button.active,
.sidebar-bottom > button.active {
  background: #d9effc;
  color: #222f3e;
  font-weight: 650;
}
.sidebar nav button b {
  font-size: 9px;
  margin-left: auto;
  background: #a4b1bf;
  color: #27323e;
  border-radius: 4px;
  padding: 2px 5px;
}
.sidebar nav button i {
  margin-left: auto;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  background: #dabb6b;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.sidebar-bottom > button {
  padding: 10px 13px;
  font-size: 11px;
}
.sidebar-bottom > button svg:last-child:not(:first-child) {
  margin-left: auto;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #ffffff1c;
  margin-top: 16px;
  padding: 20px 2px;
}
.avatar {
  border-radius: 50%;
  background: #c4ceda;
  color: #39424d;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.profile > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.profile strong {
  font-size: 10px;
  color: #e0e5e9;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile small {
  font-size: 9px;
  display: block;
  margin-top: 4px;
  text-transform: capitalize;
  color: #9ca3ab;
}
.main {
  margin-left: 245px;
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 73px;
  border-bottom: 1px solid #dde1e6;
  background: #fafbfc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 38px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #92969b;
  min-width: 0;
}
.breadcrumb strong {
  color: #4c555f;
  text-transform: capitalize;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.connection {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #757f8a;
}
.connection i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6c8097;
}
.connection i.offline {
  background: #ca7838;
}
.notification-dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 4px;
  height: 4px;
  background: #5079a8;
  border: 1px solid #fff;
  border-radius: 50%;
}
.top-avatar {
  width: 29px;
  height: 29px;
  background: #d1d9e2;
  color: #4e5d6e;
  font-size: 11px;
}
.mobile-menu {
  display: none;
}
.demo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e9f1f7;
  border-bottom: 1px solid #d8dfe7;
  padding: 11px 38px;
  gap: 16px;
  font-size: 9px;
  color: #6e7985;
}
.demo-strip > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-strip strong {
  font-weight: 600;
  color: #54606e;
}
.demo-strip button {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  color: #526274;
  font-size: 9px;
  white-space: nowrap;
}
main {
  max-width: 1660px;
  margin: 0 auto;
  padding: 36px 38px 0;
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 0 28px;
}
.page-header .eyebrow {
  font-size: 8px;
  letter-spacing: 1.3px;
  margin-bottom: 10px;
}
.page-header h1 {
  font-size: 30px;
  font-weight: 550;
  line-height: 1.15;
  margin-bottom: 10px;
  color: #2a3138;
}
.page-header p {
  font-size: 11px;
  color: #82888e;
  margin-bottom: 0;
}
.header-buttons {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
}
.header-buttons .button {
  font-size: 10px;
  min-height: 37px;
  padding: 9px 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 25px;
}
.metrics.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.metric {
  position: relative;
  text-align: left;
  background: #ffffff;
  border: 1px solid #dde1e5;
  border-radius: 8px;
  padding: 20px 21px 18px;
  min-width: 0;
  transition: border-color 0.15s;
}
.metric:not(:disabled):hover {
  border-color: #8896a6;
}
.metric.accent {
  background: #e5eaf0;
  border-color: #d2d9e2;
}
.metric > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #6e757d;
  margin-bottom: 13px;
}
.metric > div svg {
  color: #8994a1;
}
.metric > strong {
  font-size: 32px;
  letter-spacing: -1.5px;
  font-weight: 550;
  color: #30373f;
  line-height: 1.25;
}
.metric > small {
  font-size: 8px;
  display: block;
  margin-top: 8px;
  color: #91969c;
  line-height: 1.5;
  padding-right: 5px;
}
.metric-arrow {
  position: absolute;
  right: 12px;
  bottom: 15px;
  color: #62768c;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #ffffff;
  min-width: 0;
  overflow: hidden;
  margin-bottom: 24px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 26px 20px;
}
.panel-head h2 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #313841;
}
.panel-head p {
  font-size: 10px;
  color: #8e969e;
  margin-bottom: 0;
  max-width: 650px;
}
.panel-head .eyebrow {
  font-size: 7px;
  margin-bottom: 8px;
  letter-spacing: 1.4px;
  color: #818e9c;
}
.panel-head > svg {
  color: #7c8b9c;
}
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  color: #91979e;
  padding: 17px 25px;
  border-top: 1px solid #e6e9ed;
}
.panel-footer button {
  font-size: 9px;
  color: #526479;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
}
.overview-grid > .panel {
  margin-bottom: 0;
}
.chart-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 25px;
  font-weight: 600;
  color: #303a45;
  padding: 0 26px;
}
.chart-total > span {
  font-size: 10px;
  color: #868f99;
  font-weight: 400;
}
.chart-total .chart-note {
  margin-left: auto;
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chart-note i {
  width: 5px;
  height: 5px;
  background: #7e8d9f;
  display: inline-block;
}
.chart {
  height: 175px;
  display: flex;
  margin: 22px 25px 0 26px;
  gap: 14px;
  position: relative;
}
.chart-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 8px;
  color: #a7aeb5;
  width: 20px;
  text-align: right;
  padding-bottom: 0;
}
.bars {
  display: flex;
  align-items: flex-end;
  flex: 1;
  gap: 6px;
  padding: 0 2px;
  border-bottom: 1px solid #dce1e6;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent calc(50% - 1px),
    #e7ebef calc(50% - 1px),
    #e7ebef 50%
  );
  min-width: 0;
}
.bar-slot {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-width: 0;
}
.bar-slot > div {
  background: #b4bfcb;
  width: 100%;
  border-radius: 3px 3px 0 0;
  min-width: 2px;
  transition: height 0.2s;
}
.bar-slot > div.recent {
  background: #718296;
}
.bar-slot:hover > div {
  background: #394757;
}
.chart-dates {
  display: flex;
  justify-content: space-between;
  padding: 12px 27px 22px 61px;
  font-size: 8px;
  color: #9fa6af;
}
.sales-panel > .panel-footer {
  margin-top: 5px;
}
.attention {
  border: 1px solid #ced6df;
  background: #eaf2f8;
  border-radius: 9px;
  padding: 25px 24px 16px;
}
.attention > .eyebrow {
  font-size: 7px;
  letter-spacing: 1.4px;
  color: #738599;
  margin-bottom: 9px;
}
.attention h2 {
  font-size: 25px;
  color: #384452;
  font-weight: 500;
  line-height: 1.14;
  margin-bottom: 22px;
}
.attention > button {
  background: none;
  border: 0;
  border-bottom: 1px solid #ccd3dc;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0;
}
.attention > button > span:nth-child(2) {
  flex: 1;
}
.attention-icon {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f6;
  border-radius: 7px;
  color: #586c82;
  flex-shrink: 0;
}
.attention button strong {
  display: block;
  color: #475361;
  font-size: 10px;
  font-weight: 600;
}
.attention button small {
  display: block;
  color: #8a949f;
  font-size: 8px;
  margin-top: 6px;
}
.attention button > svg {
  color: #6a7b8f;
}
.attention-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8c97a3;
  font-size: 8px;
  padding-top: 18px;
}
.table-wrap {
  width: 100%;
  overflow: auto;
  overscroll-behavior-x: contain;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
th {
  font-size: 8px;
  letter-spacing: 0.9px;
  font-weight: 550;
  color: #949ba3;
  background: #f3f5f8;
  padding: 13px 24px;
  white-space: nowrap;
  border-top: 1px solid #e4e9ed;
  border-bottom: 1px solid #e4e9ed;
}
td {
  padding: 16px 24px;
  border-bottom: 1px solid #e8ebef;
  color: #6d7680;
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td strong {
  color: #47525e;
  font-size: 11px;
}
td small {
  display: block;
  font-size: 8px;
  color: #98a0a9;
  margin-top: 5px;
}
td strong > small {
  display: inline;
  font-weight: 400;
}
td .button {
  font-size: 9px;
  min-height: 32px;
  padding: 7px 10px;
}
td .text-link {
  font-size: 9px;
}
td .tag {
  font-size: 8px;
}
tbody tr:hover {
  background: #f6f8fb;
}
.product-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  min-width: 170px;
}
.product-link strong {
  font-size: 10px;
  color: #47525f;
  white-space: nowrap;
}
.product-link small {
  font-size: 8px;
  color: #9da6b1;
  letter-spacing: 0.1px;
}
.product-icon {
  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #e1e8f0;
  color: #778aa0;
  flex-shrink: 0;
}
.product-icon.produce {
  background: #dfe6ef;
  color: #6f849c;
}
.product-icon.dairy {
  background: #eaebed;
  color: #9299a1;
}
.product-icon.beverages {
  background: #e9eef2;
  color: #95a3af;
}
.product-icon.large {
  width: 70px;
  height: 70px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 16px 25px;
  background: none;
  border: none;
  border-top: 1px solid #e8ebef;
  text-align: left;
}
.list-row > span:not(.row-icon):not(.tag):not(.activity-dot) {
  flex: 1;
  min-width: 0;
}
.list-row strong {
  font-size: 10px;
  color: #525f6e;
  display: block;
}
.list-row small {
  font-size: 8px;
  color: #9ba2ab;
  display: block;
  margin-top: 5px;
  line-height: 1.5;
}
.list-row > .tag {
  font-size: 8px;
}
.row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaeef3;
  color: #7a899b;
  width: 33px;
  height: 33px;
  border-radius: 6px;
}
.list-row > svg {
  color: #9aa3ae;
}
.activity-dot {
  width: 7px;
  height: 7px;
  border: 2px solid #a5b2c0;
  border-radius: 50%;
  flex-shrink: 0;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 26px;
  color: #aab0b7;
  font-size: 7px;
  border-top: 1px solid #dee3e7;
  margin-top: 22px;
  letter-spacing: 0.4px;
}
.app-footer > span:first-child {
  letter-spacing: 1px;
}
.app-footer i {
  font-style: normal;
  padding: 0 8px;
  color: #b3bac2;
}
.filterbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  flex-wrap: wrap;
}
.search-field {
  display: flex;
  align-items: center;
  border: 1px solid #d4dae0;
  border-radius: 6px;
  flex: 1;
  min-width: 220px;
  padding-left: 12px;
  color: #8b99a8;
}
.search-field input {
  border: 0;
  background: none;
  font-size: 11px;
  min-height: 38px;
  padding: 10px;
}
.filterbar > select {
  width: auto;
  max-width: 220px;
  min-height: 38px;
  padding: 9px 23px 9px 10px;
  font-size: 10px;
}
.filterbar > .button {
  font-size: 10px;
  min-height: 38px;
}
.empty {
  padding: 45px 25px;
  text-align: center;
  color: #a3adb9;
}
.empty svg {
  margin-bottom: 15px;
}
.empty h3 {
  color: #64707d;
  font-size: 16px;
  margin-bottom: 7px;
}
.empty p {
  font-size: 11px;
  color: #959ea9;
  max-width: 390px;
  margin: 0 auto 18px;
}
.action-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e4e9ef;
  border: 1px solid #d4dbe3;
  border-radius: 9px;
  padding: 25px;
  margin-bottom: 25px;
  gap: 20px;
}
.action-banner > div {
  display: flex;
  align-items: center;
  gap: 22px;
}
.action-banner > div > svg {
  color: #64778c;
  flex-shrink: 0;
}
.action-banner h2 {
  font-size: 18px;
  color: #4c5a6b;
  margin-bottom: 6px;
}
.action-banner p {
  font-size: 11px;
  color: #8d98a4;
  margin: 0;
}
.receive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(265px, 1fr);
  gap: 24px;
  align-items: start;
}
.scan-box {
  display: flex;
  align-items: center;
  padding: 17px;
  margin: 0 28px;
  gap: 14px;
  background: #e5eaf0;
  border: 1px solid #c4ceda;
  border-radius: 8px;
  color: #6a7e95;
}
.scan-box input {
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-size: 12px;
  min-width: 0;
  flex: 1;
}
.scan-box .button {
  font-size: 10px;
  min-height: 35px;
  padding: 8px 10px;
}
.scan-guide {
  background: #e3e9ef;
  border: 1px solid #d2d9e2;
  border-radius: 9px;
  padding: 27px;
  margin-bottom: 24px;
}
.scan-guide .eyebrow {
  font-size: 9px;
  color: #768698;
}
.scan-guide h2 {
  font-size: 26px;
  color: #3f4e60;
}
.scan-guide p {
  font-size: 12px;
  color: #828e9b;
}
.sample-product {
  background: #f6f8fb;
  border: 1px solid #d5dce4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 26px 16px;
  margin: 24px 0;
  gap: 8px;
}
.sample-product > svg {
  color: #6b7f95;
  margin-bottom: 8px;
}
.sample-product strong {
  font-size: 15px;
  color: #4f5d6d;
}
.sample-product > span {
  font-size: 10px;
  color: #909ba7;
}
.sample-product code {
  font-size: 10px;
  color: #79838e;
  letter-spacing: 2px;
}
.decorative-barcode {
  width: 175px;
  height: 40px;
  margin-top: 15px;
  background: repeating-linear-gradient(
    90deg,
    #4c5763 0px,
    #4c5763 2px,
    transparent 2px,
    transparent 4px,
    #4c5763 4px,
    #4c5763 5px,
    transparent 5px,
    transparent 8px,
    #4c5763 8px,
    #4c5763 11px,
    transparent 11px,
    transparent 13px
  );
  opacity: 0.6;
}
.scan-guide > .button {
  font-size: 10px;
  width: 100%;
}
.compact-info {
  padding: 27px;
}
.compact-info h2 {
  font-size: 22px;
}
.compact-info p {
  font-size: 12px;
  color: #848d98;
}
.compact-info .tag {
  margin-right: 12px;
}
.compact-info .button {
  margin-top: 10px;
}
.file-input {
  display: block;
  position: relative;
  padding: 20px;
  border: 1px dashed #aebac8;
  background: #eff3f7;
  border-radius: 6px;
  font-size: 12px;
  color: #6a7b8f;
  margin-bottom: 18px;
}
.file-input input {
  display: block;
  margin-top: 10px;
  padding: 7px;
  background: none;
  border: 0;
  font-size: 10px;
}
.csv-input {
  height: 140px;
  font-family: monospace;
  font-size: 10px;
  margin-bottom: 20px;
  white-space: pre;
  overflow: auto;
}
.exception {
  padding: 23px;
  border-top: 1px solid #dce3eb;
}
.exception strong {
  font-size: 12px;
  color: #4d6580;
}
.exception p {
  font-size: 11px;
  color: #818d9a;
  margin: 10px 0;
}
.exception small {
  font-size: 10px;
  display: block;
  color: #8c97a3;
  margin-bottom: 14px;
}
.chart.large {
  height: 200px;
  margin-bottom: 8px;
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 4px 25px 25px;
}
.location-card {
  border: 1px solid #d7dee6;
  border-radius: 7px;
  background: #f5f7fa;
  padding: 22px;
  text-align: left;
  color: #7a8b9e;
}
.location-card:hover {
  background: #e6ecf3;
}
.location-card h3 {
  font-size: 16px;
  color: #455466;
  margin: 20px 0 8px;
}
.location-card p {
  font-size: 11px;
  color: #8995a2;
  margin-bottom: 14px;
}
.location-card > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 23px;
  border-top: 1px solid #dadfe5;
  padding-top: 17px;
}
.location-card > div strong {
  font-size: 23px;
  color: #536171;
}
.location-card > div span {
  font-size: 9px;
  color: #909ca9;
}
.location-card > div svg {
  margin-left: auto;
}
.welcome-guide {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  background: var(--green);
  border-radius: 9px;
  color: #d6dde6;
  margin-bottom: 28px;
}
.welcome-guide .eyebrow {
  font-size: 9px;
  color: #99abc0;
}
.welcome-guide h2 {
  font-size: 42px;
  font-weight: 500;
  line-height: 1.12;
}
.welcome-guide p {
  font-size: 13px;
  max-width: 440px;
  color: #a6b3c1;
  margin-top: 22px;
  margin-bottom: 0;
}
.guide-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  align-items: center;
  max-width: 270px;
  align-content: center;
}
.guide-stat strong {
  font-size: 64px;
  color: #abbcd0;
  letter-spacing: -4px;
  font-weight: 500;
}
.guide-stat span {
  font-size: 11px;
  color: #9aa8b9;
}
.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}
.tour-card {
  text-align: left;
  background: #fafbfd;
  border: 1px solid #d9dfe5;
  padding: 26px;
  border-radius: 8px;
}
.tour-card:hover {
  border-color: #8799ae;
  background: #f0f4f9;
}
.tour-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8797a9;
  margin-bottom: 23px;
}
.tour-card > div span {
  font-size: 12px;
  letter-spacing: 1px;
  color: #a5b1bf;
}
.tour-card h3 {
  font-size: 18px;
  color: #485769;
}
.tour-card p {
  font-size: 11px;
  color: #8e98a3;
  min-height: 90px;
}
.tour-card .text-link {
  font-size: 10px;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 30px 0;
}
.three-col h3 {
  font-size: 16px;
  color: #5a697b;
}
.three-col p {
  font-size: 11px;
  color: #929da9;
}
dialog {
  width: min(820px, calc(100vw - 36px));
  max-height: calc(100dvh - 40px);
  border: 1px solid #d9dee3;
  border-radius: 12px;
  padding: 0;
  background: #fafbfd;
  color: #313942;
  box-shadow: 0 24px 90px #131e2a40;
}
dialog::backdrop {
  background: #131c2780;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 26px 28px;
  border-bottom: 1px solid #dde2e8;
  position: sticky;
  top: 0;
  background: #fafbfd;
  z-index: 2;
}
.modal-head h2 {
  font-size: 24px;
  margin: 0;
}
.modal-head p {
  font-size: 12px;
  color: #8d99a7;
  margin: 10px 0 0;
}
.modal-body {
  padding: 26px 28px;
}
.modal-body > p {
  font-size: 12px;
  color: #7e8a97;
}
.modal-body > h3 {
  margin-top: 28px;
  font-size: 16px;
}
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid #dae0e7;
  flex-wrap: wrap;
}
.modal-body .table-wrap {
  border: 1px solid #e0e5e9;
  border-radius: 7px;
  margin-top: 20px;
}
.modal-body table td,
.modal-body table th {
  padding: 14px;
}
.modal-body table th {
  font-size: 8px;
}
.modal-body table td {
  font-size: 10px;
}
.product-summary {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-bottom: 25px;
}
.product-summary p {
  font-size: 12px;
  color: #8e99a5;
  margin: 12px 0;
}
.product-summary strong {
  font-size: 20px;
  color: #495869;
}
.order-line {
  display: grid;
  grid-template-columns: 1fr 100px 38px;
  gap: 13px;
  align-items: center;
}
.order-line .icon-button {
  margin-top: 5px;
}
.order-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.order-heading h3 {
  font-size: 22px;
}
.order-heading p {
  font-size: 12px;
  color: #8f9aa7;
}
.toast {
  position: fixed;
  right: 26px;
  bottom: 25px;
  max-width: min(580px, calc(100vw - 32px));
  background: #242f3b;
  color: #e0e7ee;
  border: 1px solid #6c8097;
  border-radius: 9px;
  box-shadow: 0 10px 50px #171e2630;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  line-height: 1.5;
  z-index: 100;
}
.toast > svg {
  flex-shrink: 0;
  color: #adbfd3;
}
.toast button {
  background: none;
  border: 0;
  color: #aebccb;
  display: flex;
  margin-left: 10px;
}
.scrim {
  display: none;
}
@media (min-width: 1550px) {
  .sidebar {
    width: 265px;
  }
  .main {
    margin-left: 265px;
  }
  main {
    padding: 44px 50px 0;
  }
  .topbar {
    padding: 0 50px;
  }
  .demo-strip {
    padding-left: 50px;
    padding-right: 50px;
  }
  .page-header h1 {
    font-size: 34px;
  }
  .page-header p {
    font-size: 13px;
  }
  .metric {
    padding: 25px;
  }
  .metric > div {
    font-size: 12px;
  }
  .metric > small {
    font-size: 10px;
  }
  .metric > strong {
    font-size: 38px;
  }
  .panel-head h2 {
    font-size: 21px;
  }
  .panel-head p {
    font-size: 12px;
  }
  table {
    font-size: 12px;
  }
  td strong,
  .product-link strong {
    font-size: 12px;
  }
  td small,
  .product-link small {
    font-size: 10px;
  }
  .chart {
    height: 210px;
  }
  .attention button strong {
    font-size: 12px;
  }
  .attention button small {
    font-size: 10px;
  }
  .attention h2 {
    font-size: 30px;
  }
  .list-row strong {
    font-size: 12px;
  }
  .list-row small {
    font-size: 10px;
  }
  .sidebar nav button {
    font-size: 12px;
  }
  .sidebar .nav-label {
    font-size: 9px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 218px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .sidebar > .brand {
    margin-left: 6px;
  }
  .brand.small img {
    width: 30px;
    height: 30px;
  }
  .brand.small strong {
    font-size: 25px;
  }
  .brand.small small {
    font-size: 5px;
  }
  .main {
    margin-left: 218px;
  }
  main {
    padding: 28px 25px 0;
  }
  .topbar {
    padding: 0 25px;
  }
  .demo-strip {
    padding-left: 25px;
    padding-right: 25px;
  }
  .page-header h1 {
    font-size: 25px;
  }
  .page-header {
    align-items: flex-start;
  }
  .header-buttons {
    flex-direction: column;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 17px 15px;
  }
  .metric > strong {
    font-size: 29px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(255px, 1fr);
    gap: 16px;
  }
  .attention {
    padding: 22px 18px;
  }
  .attention h2 {
    font-size: 23px;
  }
  .attention-icon {
    width: 28px;
    height: 28px;
  }
  .attention button {
    gap: 9px;
  }
  .attention button strong {
    font-size: 9px;
  }
  .chart-note {
    display: none !important;
  }
  .panel-head {
    padding: 22px;
  }
  .chart {
    margin-left: 22px;
    margin-right: 22px;
  }
  .two-col {
    gap: 16px;
  }
  td,
  th {
    padding-left: 20px;
    padding-right: 20px;
  }
  .receive-grid {
    grid-template-columns: 1fr;
  }
  .receive-grid > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tour-grid {
    grid-template-columns: 1fr 1fr;
  }
  .auth-story {
    padding-left: 40px;
    padding-right: 40px;
  }
  .auth-form {
    padding-left: 35px;
    padding-right: 35px;
  }
  .auth-security {
    gap: 6px;
    font-size: 8px;
  }
  .auth-foot {
    font-size: 8px;
  }
  .three-col {
    gap: 20px;
  }
}
@media (max-width: 980px) {
  .sidebar {
    width: 210px;
  }
  .main {
    margin-left: 210px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .attention h2 br {
    display: none;
  }
  .attention {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
  }
  .attention > .eyebrow,
  .attention > h2,
  .attention-bottom {
    grid-column: 1/-1;
  }
  .attention button {
    align-items: flex-start;
  }
  .attention button > svg {
    display: none;
  }
  .attention button strong {
    line-height: 1.5;
  }
  .attention button small {
    line-height: 1.5;
  }
  .attention-bottom {
    padding-top: 15px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metrics.three {
    grid-template-columns: repeat(3, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .metric > div {
    font-size: 11px;
  }
  .metric > small {
    font-size: 9px;
  }
  .page-header {
    flex-direction: column;
    gap: 18px;
  }
  .header-buttons {
    flex-direction: row;
  }
  .demo-strip {
    font-size: 8px;
  }
  .demo-strip button {
    font-size: 8px;
  }
  .demo-strip > span {
    flex-wrap: wrap;
    gap: 4px 7px;
  }
  .three-col {
    grid-template-columns: 1fr;
  }
  .welcome-guide {
    padding: 30px;
  }
  .welcome-guide h2 {
    font-size: 33px;
  }
  .guide-stat {
    display: none;
  }
  .tour-card p {
    min-height: 120px;
  }
  .auth-story {
    padding: 35px 30px 25px;
  }
  .auth-form {
    padding: 30px;
  }
  .story-main {
    margin-top: 80px;
  }
  .story-main h1 {
    font-size: 60px;
  }
  .story-main > p {
    font-size: 13px;
  }
  .crate {
    padding: 10px;
    height: 90px;
  }
  .crate span {
    font-size: 6px;
  }
  .crate b {
    font-size: 14px;
    right: 8px;
    bottom: 8px;
  }
  .crate svg {
    width: 26px;
    height: 26px;
  }
  .light-crate {
    height: 105px;
  }
  .auth-foot {
    flex-direction: column;
    gap: 10px;
  }
  .auth-security {
    flex-wrap: wrap;
  }
  .stock-label {
    letter-spacing: 1px;
    font-size: 7px;
  }
  .auth-form-inner h2 {
    font-size: 29px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    width: 255px;
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar > .brand {
    margin-top: 3px;
    margin-bottom: 30px;
  }
  .sidebar .brand.small strong {
    font-size: 30px;
  }
  .sidebar .brand.small img {
    width: 35px;
    height: 35px;
  }
  .sidebar nav button,
  .sidebar-bottom > button {
    font-size: 12px;
    min-height: 44px;
  }
  .workspace-button strong {
    font-size: 12px;
  }
  .workspace-button small {
    font-size: 9px;
  }
  .nav-label {
    font-size: 9px;
  }
  .main {
    margin-left: 0;
  }
  .mobile-menu {
    display: flex;
    margin-left: -8px;
  }
  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: #111c2880;
    z-index: 25;
  }
  .topbar {
    height: 62px;
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 8px;
  }
  .top-actions {
    gap: 7px;
  }
  .connection {
    font-size: 8px;
  }
  .top-avatar {
    display: none;
  }
  .demo-strip {
    padding: 10px 20px;
    font-size: 9px;
    gap: 10px;
  }
  .demo-strip > span {
    line-height: 1.5;
  }
  .demo-strip > span strong {
    font-size: 9px;
  }
  .demo-strip button {
    font-size: 8px;
    max-width: 90px;
    white-space: normal;
    text-align: left;
    line-height: 1.5;
  }
  .demo-strip button svg {
    flex-shrink: 0;
  }
  main {
    padding: 25px 20px 0;
  }
  .page-header {
    margin-bottom: 24px;
    gap: 18px;
  }
  .page-header h1 {
    font-size: 27px;
    line-height: 1.15;
    max-width: 380px;
  }
  .page-header p {
    font-size: 12px;
    line-height: 1.6;
  }
  .page-header .eyebrow {
    font-size: 8px;
  }
  .header-buttons {
    width: 100%;
  }
  .header-buttons .button {
    font-size: 11px;
    min-height: 40px;
  }
  .metrics {
    gap: 12px;
    margin-bottom: 20px;
  }
  .metric {
    padding: 18px 16px;
    min-height: 148px;
  }
  .metric > strong {
    font-size: 30px;
  }
  .metric > div {
    font-size: 10px;
    line-height: 1.5;
  }
  .metric > small {
    font-size: 8px;
    line-height: 1.65;
  }
  .metric > div svg {
    width: 17px;
    flex-shrink: 0;
  }
  .metrics.three {
    grid-template-columns: 1fr 1fr;
  }
  .metrics.three .metric:last-child {
    grid-column: 1/-1;
    min-height: 110px;
  }
  .panel {
    margin-bottom: 20px;
  }
  .panel-head {
    padding: 21px 20px 18px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .panel-head h2 {
    font-size: 19px;
  }
  .panel-head p {
    font-size: 11px;
  }
  .panel-head .eyebrow {
    font-size: 7px;
  }
  .overview-grid {
    margin-bottom: 20px;
    gap: 20px;
  }
  .chart {
    margin: 24px 17px 0 17px;
    height: 158px;
    gap: 8px;
  }
  .bars {
    gap: 4px;
  }
  .chart-total {
    padding-left: 20px;
    font-size: 27px;
  }
  .chart-dates {
    padding-left: 43px;
    padding-right: 18px;
    font-size: 7px;
  }
  .chart-total > span {
    font-size: 9px;
  }
  .panel-footer {
    padding: 15px 20px;
    font-size: 8px;
    line-height: 1.6;
    flex-wrap: wrap;
    gap: 10px;
  }
  .panel-footer button {
    font-size: 9px;
  }
  .attention {
    display: block;
    padding: 23px;
  }
  .attention h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .attention h2 br {
    display: initial;
  }
  .attention button {
    align-items: center;
    padding: 16px 0;
    gap: 14px;
  }
  .attention button strong {
    font-size: 12px;
  }
  .attention button small {
    font-size: 10px;
    margin-top: 4px;
  }
  .attention button > svg {
    display: initial;
  }
  .attention-icon {
    width: 38px;
    height: 38px;
  }
  .attention-bottom {
    font-size: 9px;
    padding-top: 17px;
  }
  .attention > .eyebrow {
    font-size: 8px;
  }
  .two-col {
    gap: 0;
  }
  .list-row {
    padding: 18px 20px;
  }
  .list-row strong {
    font-size: 11px;
  }
  .list-row small {
    font-size: 9px;
  }
  .app-footer {
    flex-wrap: wrap;
    font-size: 7px;
    gap: 13px;
    padding-bottom: 25px;
  }
  .app-footer span:nth-child(2) {
    order: 3;
    width: 100%;
  }
  th {
    font-size: 8px;
    padding: 12px 16px;
  }
  td {
    padding: 16px;
    font-size: 11px;
  }
  td strong,
  .product-link strong {
    font-size: 11px;
  }
  td small,
  .product-link small {
    font-size: 9px;
  }
  .product-link {
    min-width: 185px;
  }
  .filterbar {
    padding: 17px;
    gap: 10px;
  }
  .search-field {
    width: 100%;
    flex-basis: 100%;
  }
  .search-field input {
    font-size: 12px;
    min-height: 42px;
  }
  .filterbar > select {
    font-size: 11px;
    max-width: 100%;
    width: calc(50% - 5px);
    min-height: 40px;
  }
  .filterbar .button {
    width: 100%;
    font-size: 11px;
    min-height: 42px;
  }
  .receive-grid {
    gap: 0;
  }
  .receive-grid > div {
    display: block;
  }
  .scan-box {
    padding: 12px;
    margin: 0 18px;
    gap: 9px;
  }
  .scan-box > svg {
    width: 21px;
    flex-shrink: 0;
  }
  .scan-box input {
    font-size: 11px;
  }
  .scan-box > .button {
    padding: 7px 8px;
    font-size: 10px;
  }
  .form-body {
    padding: 22px 20px;
  }
  .form-grid {
    gap: 0 14px;
  }
  .field {
    font-size: 11px;
    margin-bottom: 18px;
  }
  .field input,
  .field select {
    font-size: 12px;
  }
  .scan-guide {
    padding: 24px;
  }
  .scan-guide .sample-product {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .scan-guide > .button {
    font-size: 12px;
  }
  .action-banner {
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .action-banner > div {
    gap: 15px;
  }
  .action-banner h2 {
    font-size: 20px;
  }
  .action-banner p {
    font-size: 12px;
  }
  .action-banner .button {
    width: 100%;
  }
  .location-grid {
    grid-template-columns: 1fr;
    padding: 0 20px 20px;
  }
  .location-card {
    padding: 23px;
  }
  .location-card h3 {
    font-size: 20px;
  }
  .location-card p {
    font-size: 12px;
  }
  .compact-info {
    padding: 23px;
  }
  .compact-info p {
    font-size: 12px;
  }
  .welcome-guide {
    padding: 29px 25px;
  }
  .welcome-guide h2 {
    font-size: 34px;
  }
  .welcome-guide p {
    font-size: 12px;
  }
  .tour-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .tour-card {
    padding: 25px;
  }
  .tour-card p {
    min-height: 0;
    font-size: 12px;
  }
  .tour-card h3 {
    font-size: 21px;
  }
  .tour-card .text-link {
    font-size: 11px;
  }
  .three-col {
    margin: 24px 0;
    gap: 18px;
  }
  .three-col p {
    font-size: 12px;
  }
  .three-col h3 {
    font-size: 18px;
  }
  dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 24px);
    border-radius: 9px;
  }
  .modal-head {
    padding: 20px;
    gap: 10px;
    align-items: center;
  }
  .modal-head h2 {
    font-size: 22px;
  }
  .modal-body {
    padding: 21px 20px;
  }
  .modal-body .form-grid {
    grid-template-columns: 1fr;
  }
  .modal-actions {
    justify-content: stretch;
    gap: 10px;
  }
  .modal-actions .button {
    flex: 1;
  }
  .modal-body .inline-actions .button {
    font-size: 10px;
  }
  .product-summary {
    gap: 15px;
  }
  .product-summary .product-icon {
    width: 55px;
    height: 55px;
  }
  .product-summary p {
    font-size: 11px;
    overflow-wrap: anywhere;
  }
  .product-summary strong {
    font-size: 18px;
  }
  .order-line {
    grid-template-columns: 1fr 70px 28px;
    gap: 7px;
  }
  .order-line .field {
    font-size: 10px;
  }
  .order-line select {
    font-size: 11px;
    padding: 10px 5px;
  }
  .order-line .icon-button {
    width: 28px;
  }
  .toast {
    left: 16px;
    right: 16px;
    bottom: 18px;
    padding: 16px;
    font-size: 11px;
    width: auto;
  }
  .notice {
    font-size: 11px;
    align-items: flex-start;
    padding: 14px;
    gap: 9px;
  }
  .notice .button {
    font-size: 10px;
    min-height: 30px;
    white-space: normal;
    padding: 4px 8px;
  }
  .auth {
    display: block;
  }
  .auth-story {
    padding: 28px 25px 32px;
  }
  .auth-story .brand img {
    width: 37px;
    height: 37px;
  }
  .auth-story .brand strong {
    font-size: 28px;
  }
  .auth-story .brand small {
    font-size: 6px;
  }
  .story-main {
    margin: 40px 0 0;
  }
  .story-main .eyebrow {
    font-size: 8px;
  }
  .story-main h1 {
    font-size: 49px;
    margin: 14px 0 15px;
  }
  .story-main h1 br:nth-child(2) {
    display: none;
  }
  .story-main h1 em {
    margin-left: 8px;
  }
  .story-main > p {
    font-size: 12px;
    margin: 0;
    line-height: 1.7;
  }
  .story-stock,
  .auth-foot {
    display: none;
  }
  .auth-form {
    padding: 24px;
  }
  .auth-top .tag {
    font-size: 7px;
  }
  .auth-form-inner {
    padding: 37px 0 28px;
    max-width: 440px;
  }
  .auth-form-inner h2 {
    font-size: 28px;
  }
  .auth-form-inner > p {
    font-size: 12px;
  }
  .auth-form-inner .eyebrow {
    font-size: 9px;
  }
  .auth-security {
    font-size: 8px;
    margin: 10px 0;
  }
  .auth-links {
    font-size: 10px;
  }
  .auth-form-inner .field {
    font-size: 12px;
  }
  .auth-form-inner .field input {
    font-size: 14px;
  }
  .auth-form-inner .button {
    font-size: 12px;
    min-height: 46px;
  }
}
@media (max-width: 420px) {
  main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .topbar {
    padding-left: 16px;
    padding-right: 12px;
  }
  .connection {
    display: none;
  }
  .demo-strip {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-header h1 {
    font-size: 25px;
  }
  .metric {
    padding: 16px 13px;
  }
  .metric > div {
    font-size: 9px;
  }
  .metric > strong {
    font-size: 29px;
  }
  .metric > small {
    font-size: 8px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .brand.small strong {
    font-size: 27px;
  }
  .table-wrap {
    max-width: 100%;
  }
  .panel-head .button {
    font-size: 10px;
    min-height: 37px;
  }
  .story-main h1 {
    font-size: 44px;
  }
  .auth-links button {
    font-size: 10px;
  }
  .auth-top {
    gap: 10px;
  }
  .breadcrumb > span {
    display: none;
  }
  .breadcrumb > svg {
    display: none;
  }
  .breadcrumb strong {
    font-size: 12px;
  }
  .action-banner > div {
    align-items: flex-start;
  }
  .order-line {
    grid-template-columns: minmax(0, 1fr) 65px 25px;
  }
  .order-line input {
    padding: 10px 5px;
  }
  .app-footer > span:first-child {
    font-size: 6px;
  }
  .scan-box input {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .sidebar,
  .topbar,
  .demo-strip,
  .header-buttons,
  .button,
  .app-footer {
    display: none !important;
  }
  .main {
    margin: 0;
  }
  main {
    padding: 0;
  }
  .panel {
    break-inside: avoid;
  }
  .table-wrap {
    overflow: visible;
  }
  body {
    background: #fff;
  }
}

/* Operational screens prioritize legibility at arm's length. */
.page-header p,
.panel-head p,
.metric > small,
.panel-footer,
.list-row small,
.product-link small,
td small,
.chart-dates,
.chart-axis,
.chart-total > span,
.fine,
.muted,
.field > span {
  color: #626971 !important;
}
.attention button small,
.attention-bottom {
  color: #586676;
}
.tour-card p,
.compact-info p,
.three-col p,
.location-card p,
.scan-guide p {
  color: #5f6a77;
}
.eyebrow {
  color: #5a6674;
}
.panel-head .eyebrow,
.page-header .eyebrow {
  color: #5c6977;
}
.demo-strip,
.demo-strip button {
  color: #4a5869;
}
.app-footer {
  color: #6a7480;
}
.panel-head p,
.page-header p {
  font-size: 12px;
}
.list-row strong,
.product-link strong,
td strong {
  font-size: 12px;
}
.list-row small,
.product-link small,
td small {
  font-size: 10px;
}
.panel-head h2 {
  font-size: 20px;
}
.panel-head .eyebrow {
  font-size: 9px;
}
.sidebar nav button,
.sidebar-bottom > button {
  font-size: 12px;
}
.workspace-button strong,
.profile strong {
  font-size: 12px;
}
.workspace-button small,
.profile small {
  font-size: 10px;
}
.tag,
td .tag {
  font-size: 10px;
}
.chart-total > span {
  font-size: 11px;
}
.chart-axis,
.chart-dates {
  font-size: 9px;
}
.attention button strong {
  font-size: 12px;
}
.attention button small,
.attention-bottom {
  font-size: 10px;
}
.panel-footer,
.panel-footer button {
  font-size: 10px;
}
.metric > small {
  font-size: 10px;
}
.metric > div {
  font-size: 12px;
}
.metric > strong {
  font-size: 35px;
}
td .text-link {
  font-size: 11px;
}
td .button {
  font-size: 11px;
  min-height: 38px;
}
.panel-footer span {
  line-height: 1.6;
}
th {
  font-size: 10px;
}
.breadcrumb {
  font-size: 12px;
}
.demo-strip,
.demo-strip button {
  font-size: 10px;
}
.demo-strip strong {
  font-size: 10px;
}
.action-banner p {
  color: #556374;
}
.scan-guide > .fine {
  color: #596776 !important;
}
.auth-form-inner > p,
.auth-security {
  color: #5e666f;
}
.story-main > .eyebrow {
  color: #b4bec9;
}
.story-bottom,
.auth-foot {
  color: #b1bac4;
}
.auth-form-inner .eyebrow {
  color: #5a6674;
}
.auth-links button {
  color: #354353;
}
.auth-form-inner .fine {
  color: #616a74 !important;
}
@media (max-width: 760px) {
  .metric > div {
    font-size: 10px;
  }
  .metric > strong {
    font-size: 30px;
  }
  .metric > small {
    font-size: 9px;
  }
  .demo-strip,
  .demo-strip button,
  .demo-strip strong {
    font-size: 9px;
  }
  .icon-button {
    width: 44px;
    height: 44px;
  }
  td .button {
    min-height: 42px;
  }
  .panel-head .eyebrow {
    font-size: 8px;
  }
  .panel-footer,
  .panel-footer button {
    font-size: 10px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
  .scan-box input {
    font-size: 14px;
  }
  .auth-form-inner .field input {
    font-size: 16px;
  }
}

/* Contrast floor for text on cream and sage surfaces. */
.breadcrumb > span,
.connection,
.metric > div,
.metric > small,
.page-header .eyebrow,
.panel-head .eyebrow,
th,
td,
.panel-footer button,
.app-footer,
.scan-guide .eyebrow,
.sample-product > span,
.sample-product code,
.divider > span {
  color: #4c5661 !important;
}
.attention > .eyebrow,
.attention button small,
.attention-bottom,
.scan-guide p,
.scan-guide > .fine {
  color: #424f5d !important;
}
.tag.amber,
.tag.gold {
  color: #795010;
}
.sidebar .nav-label {
  color: #b4bbc3;
}
.sidebar-close{display:none}
@media(max-width:760px){.sidebar-close{display:flex;position:absolute;right:7px;top:23px;width:34px;height:34px;color:#d9effc}.sidebar>.brand{max-width:199px}.sidebar .brand.small strong{font-size:27px}}
