@font-face {
  font-family: Geist;
  src: url("/assets/nordshelf-geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Geist Mono;
  src: url("/assets/nordshelf-geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Geist, system-ui, sans-serif;
  color: #20251e;
  background: #fafaf7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --forest: #1e2817;
  --olive: #3d5a2a;
  --paper: #fafaf7;
  --white: #fff;
  --ink: #20251e;
  --muted: #737a70;
  --line: #e5e8df;
  --soft: #f0f2eb;
  --green: #3d7b4d;
  --green-bg: #eaf2e9;
  --amber: #a7681b;
  --amber-bg: #f8f0e2;
  --red: #a5463d;
  --red-bg: #f8ebe8;
  --radius: 17px;
  --shadow: 0 8px 30px rgba(30, 40, 23, 0.035);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(61, 90, 42, 0.26);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.portal {
  min-height: 100vh;
}
.sidebar {
  width: 248px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--forest);
  color: #f6f7f2;
  padding: 25px 17px 16px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand,
.login-brand,
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.65px;
}
.brand {
  padding: 2px 12px 38px;
}
.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #ffffff16;
  color: #e7eddc;
}
.side-label {
  font-size: 9px;
  letter-spacing: 1.25px;
  font-weight: 650;
  color: #abb39f;
  padding: 0 13px 10px;
}
.nav {
  display: grid;
  gap: 4px;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  color: #bdc4b7;
  font-size: 13px;
  font-weight: 500;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-item:hover {
  background: #ffffff0b;
  color: #fff;
}
.nav-item.active {
  background: #ffffff13;
  color: #fff;
}
.nav-item.active:before {
  content: "";
  position: absolute;
  left: -17px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #a9bd8e;
}
.nav-shortcut {
  margin-left: auto;
  font-size: 10px;
  opacity: 0.58;
}
.sidebar-bottom {
  margin-top: auto;
}
.side-help {
  padding: 15px 14px 17px;
  border-radius: 13px;
  background: #ffffff0a;
  margin: 0 2px 16px;
  display: grid;
  gap: 7px;
}
.help-icon {
  color: #b9c8a4;
  margin-bottom: 3px;
}
.side-help strong {
  font-size: 12px;
  font-weight: 550;
}
.side-help > span {
  font-size: 11px;
  color: #aeb7a8;
}
.side-help a {
  margin-top: 5px;
  font-size: 11px;
  color: #d5e0c8;
  display: flex;
  align-items: center;
  gap: 5px;
}
.profile {
  border-top: 1px solid #ffffff1a;
  padding: 15px 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: #dce5d1;
  color: var(--forest);
  font-size: 11px;
  font-weight: 650;
}
.profile-info {
  min-width: 0;
  display: grid;
  gap: 3px;
  flex: 1;
}
.profile-info strong {
  font-size: 12px;
  font-weight: 560;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.profile-info span {
  font-size: 10px;
  color: #b2b9ad;
}
.main {
  margin-left: 248px;
  min-height: 100vh;
}
.topbar {
  height: 75px;
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(250, 250, 247, 0.93);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb span {
  padding: 0 9px;
  color: #c4c8bf;
}
.breadcrumb strong {
  color: #33392f;
  font-weight: 550;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}
.store-select {
  display: grid;
  gap: 3px;
  min-width: 145px;
  padding-left: 15px;
  border-left: 1px solid var(--line);
}
.store-select > span {
  font-size: 9px;
  color: var(--muted);
  font-weight: 650;
  letter-spacing: 0.8px;
}
.store-select strong {
  font-size: 12px;
  font-weight: 570;
}
.store-select select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 560;
  max-width: 220px;
  padding: 2px 20px 2px 0;
}
.icon-button {
  border: 0;
  background: transparent;
  color: #72796c;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 20px;
  transition: background 0.15s;
}
.icon-button:hover {
  background: #ffffff1a;
  color: white;
}
.refresh {
  font-size: 22px;
  color: var(--muted);
}
.refresh:hover {
  background: var(--soft);
  color: var(--forest);
}
.mobile-brand,
.mobile-nav {
  display: none;
}
.content {
  max-width: 1450px;
  margin: 0 auto;
  padding: 38px 48px 60px;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}
.eyebrow {
  color: var(--olive);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.page-heading h1 {
  font-size: 30px;
  letter-spacing: -1.1px;
  line-height: 1.1;
  margin: 0;
  font-weight: 570;
  color: var(--forest);
}
.demo-badge {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--amber-bg);
  color: var(--amber);
  font-size: 10px;
  font-weight: 550;
}
.welcome-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 25px;
}
.welcome-row h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  font-weight: 570;
  margin: 0 0 5px;
}
.welcome-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.button {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 560;
  min-height: 39px;
  transition:
    transform 0.15s,
    background 0.15s,
    border 0.15s;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.button.primary {
  background: var(--forest);
  color: white;
}
.button.primary:hover:not(:disabled) {
  background: #2c3923;
}
.button.secondary {
  border-color: var(--line);
  background: white;
  color: #343a30;
}
.button.secondary:hover:not(:disabled) {
  border-color: #c7cdbf;
  background: #fbfcf9;
}
.button.ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}
.button.full {
  width: 100%;
}
.button.compact {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 10px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 22px;
}
.stat-card,
.panel {
  background: var(--white);
  border: 1px solid #e9ebe5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-card {
  padding: 18px 19px;
  min-height: 125px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #687064;
  font-size: 11px;
  font-weight: 530;
  gap: 8px;
}
.stat-icon {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: var(--soft);
  color: var(--olive);
  display: grid;
  place-items: center;
  flex: none;
}
.stat-icon.amber {
  background: var(--amber-bg);
  color: var(--amber);
}
.stat-icon.red {
  background: var(--red-bg);
  color: var(--red);
}
.stat-card > strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.9px;
  margin: 14px 0 3px;
  font-weight: 600;
  color: var(--forest);
}
.stat-card > small {
  font-size: 10px;
  color: #92988d;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.95fr);
  gap: 16px;
}
.panel {
  padding: 21px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.panel-heading h3 {
  margin: 0 0 4px;
  font-size: 14px;
  letter-spacing: -0.2px;
  font-weight: 590;
}
.panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--olive);
  font-size: 10px;
  font-weight: 570;
  background: none;
  border: 0;
  padding: 4px 0;
}
.text-link:hover {
  color: var(--forest);
}
.activity-list {
  display: grid;
}
.activity-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #eff0ec;
}
.activity-row:last-child {
  border-bottom: 0;
}
.activity-dot {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--amber-bg);
  color: var(--amber);
}
.activity-dot.good {
  background: var(--green-bg);
  color: var(--green);
}
.activity-dot.bad {
  background: var(--red-bg);
  color: var(--red);
}
.activity-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 4px;
}
.activity-copy strong {
  font-size: 11px;
  font-weight: 570;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.activity-copy span {
  font-size: 9px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-pill {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  border-radius: 99px;
  padding: 5px 8px;
  font-size: 9px;
  line-height: 1;
  font-weight: 570;
  background: var(--amber-bg);
  color: var(--amber);
}
.status-pill.good {
  background: var(--green-bg);
  color: var(--green);
}
.status-pill.bad {
  background: var(--red-bg);
  color: var(--red);
}
.status-pill.wait {
  background: var(--amber-bg);
  color: var(--amber);
}
.quick-panel {
  padding-bottom: 16px;
}
.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0f1ed;
  padding: 13px 2px;
}
.quick-icon {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: var(--soft);
  color: var(--olive);
  display: grid;
  place-items: center;
  flex: none;
}
.quick-link > span:nth-child(2) {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.quick-link strong {
  font-size: 11px;
  font-weight: 570;
}
.quick-link small {
  font-size: 9px;
  color: var(--muted);
}
.quick-link > svg:last-child {
  color: #9ba093;
}
.quiet-note {
  margin-top: 8px;
  border-radius: 10px;
  padding: 10px;
  background: #f6f7f2;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 9px;
  line-height: 1.5;
  color: #757e6c;
}
.quiet-note svg {
  flex: none;
  color: var(--olive);
}
.empty-state {
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 23px 18px;
  color: #697164;
}
.empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--olive);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.empty-state strong {
  font-size: 11px;
  font-weight: 570;
  color: #3a4037;
}
.empty-state p {
  max-width: 320px;
  font-size: 10px;
  line-height: 1.55;
  color: #858c81;
  margin: 5px 0 0;
}
.link-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
  align-items: start;
  gap: 17px;
}
.link-main {
  padding: 24px 26px;
}
.link-intro {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 23px;
}
.link-illustration {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #edf1e8;
  color: var(--olive);
  flex: none;
}
.link-intro h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
  margin: 0 0 4px;
  font-weight: 590;
}
.link-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.demo-inline {
  margin-left: auto;
  color: var(--amber);
  font-size: 9px;
  text-align: right;
}
.scan-steps {
  display: flex;
  align-items: center;
  margin: 0 0 26px;
}
.scan-step {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  opacity: 0.48;
}
.scan-step.current,
.scan-step.done {
  opacity: 1;
}
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f0f1ec;
  color: #737a70;
  font-size: 10px;
  font-weight: 600;
  flex: none;
}
.scan-step.current .step-num {
  background: var(--forest);
  color: white;
}
.scan-step.done .step-num {
  background: var(--green-bg);
  color: var(--green);
}
.scan-step > div {
  display: grid;
  gap: 2px;
}
.scan-step strong {
  font-size: 9px;
  font-weight: 570;
  white-space: nowrap;
}
.scan-step small {
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}
.step-line {
  height: 1px;
  background: #e9ebe5;
  flex: 1;
  margin: 0 10px;
  min-width: 8px;
}
.step-line.done {
  background: #9db28f;
}
.scan-form {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}
.scan-form > label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #343b31;
  font-size: 10px;
  font-weight: 590;
}
.scan-form > label svg {
  color: var(--olive);
}
.scan-input-row {
  display: flex;
  gap: 8px;
}
.scan-input-row input,
.admin-form input,
.admin-form select,
.admin-form textarea,
.search-box input,
.manual-box input,
.link-main > select,
.login-card input,
.table-tools select {
  width: 100%;
  min-width: 0;
  border: 1px solid #dfe3da;
  background: #fff;
  border-radius: 9px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 11px;
  transition:
    border 0.15s,
    box-shadow 0.15s;
}
.scan-input-row input {
  height: 42px;
  font-family:
    Geist Mono,
    monospace;
  font-size: 12px;
  letter-spacing: 0.1px;
}
.scan-input-row input:focus,
.admin-form input:focus,
.admin-form select:focus,
.search-box input:focus,
.manual-box input:focus,
.login-card input:focus {
  border-color: #899b7a;
  box-shadow: 0 0 0 3px #3d5a2a12;
  outline: none;
}
.scan-input-row input:disabled {
  background: #f8f9f6;
  color: #82887d;
}
.field-help {
  font-size: 9px;
  color: #8a9185;
  line-height: 1.5;
}
.resolved-card {
  position: relative;
  border: 1px solid #dfe8d9;
  background: #fbfcf9;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 7px 0 18px;
}
.resolved-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 8px;
  letter-spacing: 0.75px;
  font-weight: 680;
  margin-bottom: 10px;
}
.check-circle {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
  font-size: 10px;
  letter-spacing: 0;
}
.resolved-label .quiet-button {
  margin-left: auto;
}
.resolved-card > strong {
  font-size: 13px;
  font-weight: 600;
  display: block;
  padding-right: 65px;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 13px;
  color: #838b80;
  font-size: 9px;
  margin-top: 5px;
}
.resolved-price {
  position: absolute;
  right: 16px;
  top: 38px;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
}
.label-scan {
  margin-top: 19px;
}
.label-resolved {
  margin-top: 4px;
}
.label-found-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.label-found-line > div {
  flex: 1;
}
.label-found-line > div strong {
  font-family:
    Geist Mono,
    monospace;
  font-size: 12px;
  letter-spacing: 0.25px;
}
.label-found-line .status-pill {
  margin-left: auto;
}
.quiet-button {
  background: none;
  border: 0;
  color: var(--olive);
  font-size: 9px;
  font-weight: 560;
  padding: 4px;
}
.quiet-button:hover {
  text-decoration: underline;
}
.danger-text {
  color: var(--red);
}
.template-label {
  display: block;
  margin: 16px 0 7px;
  color: #394035;
  font-size: 10px;
  font-weight: 580;
}
.link-main > select {
  margin-bottom: 4px;
}
.template-empty {
  padding: 11px 12px;
  margin-top: 13px;
  background: #f7f8f4;
  border-radius: 9px;
  color: #737a70;
  font-size: 10px;
  line-height: 1.5;
}
.reassign-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 12px 0 8px;
  font-size: 10px;
  line-height: 1.5;
  color: #755d39;
}
.reassign-check input {
  accent-color: var(--olive);
  margin: 1px 0 0;
}
.pair-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.inline-error {
  font-size: 10px;
  line-height: 1.5;
  color: var(--red);
  margin-top: 10px;
}
.manual-fallback {
  margin-top: 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}
.manual-box {
  flex-basis: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fcfcfa;
}
.manual-box input {
  margin-bottom: 8px;
}
.manual-results {
  max-height: 210px;
  overflow: auto;
}
.manual-result {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 9px;
  padding: 9px 7px;
  border: 0;
  border-bottom: 1px solid #eff0ec;
  background: transparent;
  color: var(--ink);
}
.manual-result:hover {
  background: #f6f7f2;
}
.manual-result > span:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.manual-result strong {
  font-size: 10px;
  font-weight: 560;
}
.manual-result small {
  font-size: 9px;
  color: var(--muted);
}
.manual-result > span:last-child {
  font-size: 10px;
  white-space: nowrap;
}
.manual-none {
  padding: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
}
.demo-helper {
  color: #9b671f;
}
.link-aside {
  display: grid;
  gap: 14px;
}
.pair-preview,
.scan-tips,
.pending-panel {
  padding: 19px;
}
.pair-preview .panel-heading {
  margin-bottom: 7px;
}
.preview-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 0;
}
.preview-step {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f2f3ef;
  color: #8d9489;
  font:
    10px Geist Mono,
    monospace;
  flex: none;
}
.preview-row > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.preview-row small {
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.75px;
  color: #969d91;
}
.preview-row strong {
  font-size: 10px;
  font-weight: 560;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.preview-row > div > span {
  font-size: 9px;
  color: var(--muted);
}
.preview-check {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}
.preview-divider {
  height: 1px;
  background: #eef0eb;
}
.preview-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #838a7f;
  font-size: 9px;
  line-height: 1.5;
  background: #f7f8f4;
  border-radius: 9px;
  padding: 10px;
  margin-top: 7px;
}
.preview-note svg {
  flex: none;
  color: var(--olive);
}
.scan-tips > strong {
  font-size: 11px;
  font-weight: 580;
}
.scan-tips p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
  margin: 7px 0 11px;
}
.keyboard-key {
  border: 1px solid #e9ebe5;
  border-radius: 8px;
  padding: 8px 9px;
  font:
    10px Geist Mono,
    monospace;
  color: #535b4f;
}
.keyboard-key span {
  font:
    9px Geist,
    sans-serif;
  color: #8a9185;
  margin-left: 7px;
}
.pending-panel .panel-heading {
  margin-bottom: 4px;
}
.pending-panel .activity-row {
  gap: 8px;
}
.table-panel {
  padding: 22px 23px;
}
.table-panel > .panel-heading {
  margin-bottom: 16px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e0e4dc;
  border-radius: 9px;
  padding: 0 10px;
  color: #8a9185;
  background: white;
  min-width: 220px;
}
.search-box input {
  border: 0 !important;
  background: transparent;
  padding: 9px 0;
  box-shadow: none !important;
  outline: none !important;
}
.table-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.table-tools select {
  width: auto;
  min-width: 110px;
  padding: 9px;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
thead th {
  font-size: 8px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #8a9185;
  padding: 11px 12px;
  border-bottom: 1px solid #e9ebe5;
}
tbody td {
  font-size: 10px;
  color: #62695f;
  padding: 13px 12px;
  border-bottom: 1px solid #f0f1ed;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody td strong {
  display: block;
  font-weight: 570;
  color: #353c32;
}
tbody td small {
  display: block;
  margin-top: 4px;
  color: #878e82;
  font-size: 9px;
}
.mono {
  font-family:
    Geist Mono,
    monospace;
  font-size: 9px !important;
}
.large .activity-row {
  padding: 15px 1px;
}
.large .activity-copy strong {
  font-size: 11px;
}
.large .activity-copy span {
  font-size: 9px;
}
.footnote {
  font-size: 10px;
  color: #81887d;
  line-height: 1.55;
  margin: 12px 3px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  margin: 0 0 18px;
  border-radius: 10px;
  font-size: 10px;
  line-height: 1.45;
}
.error-notice {
  background: var(--red-bg);
  color: #8b3b34;
}
.error-notice button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 17px;
}
.loading-panel {
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}
.spinner {
  width: 19px;
  height: 19px;
  border: 2px solid #dfe5d9;
  border-top-color: var(--olive);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.spinner.small {
  width: 14px;
  height: 14px;
  border-width: 1.5px;
  display: inline-block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.admin-summary > div {
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  display: grid;
  gap: 6px;
}
.admin-summary span {
  font-size: 10px;
  color: var(--muted);
}
.admin-summary strong {
  font-size: 21px;
  color: var(--forest);
  font-weight: 600;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 15px;
}
.admin-panel {
  padding: 19px;
}
.admin-panel .panel-heading {
  margin-bottom: 15px;
}
.admin-panel .quick-icon {
  width: 31px;
  height: 31px;
}
.admin-form {
  display: grid;
  gap: 7px;
}
.admin-form label {
  font-size: 9px;
  font-weight: 570;
  color: #50584b;
  margin-top: 4px;
}
.admin-form input,
.admin-form select,
.admin-form textarea {
  font-size: 10px;
  padding: 9px 10px;
}
.admin-form input[type="password"] {
  font-family:
    Geist Mono,
    monospace;
}
.admin-form select[multiple] {
  min-height: 72px;
}
.admin-form textarea {
  resize: vertical;
  font-family:
    Geist Mono,
    monospace;
}
.admin-form .button {
  margin-top: 8px;
  justify-self: start;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.form-two > div {
  display: grid;
  gap: 7px;
}
.admin-list {
  padding: 19px;
  margin-bottom: 15px;
}
.supplier-form {
  max-width: 750px;
}
.supplier-form .button {
  margin-top: 5px;
}
.token-panel {
  margin: 0 0 15px;
  background: #f7faf4;
  border-color: #dce8d3;
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.token-mark {
  color: var(--olive);
}
.token-panel > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.token-panel strong {
  font-size: 12px;
  font-weight: 600;
}
.token-panel p {
  font-size: 10px;
  color: #77806f;
  margin: 5px 0 9px;
}
.token-panel code {
  display: block;
  overflow-wrap: anywhere;
  padding: 10px;
  border: 1px solid #dfe6d8;
  background: #fff;
  border-radius: 8px;
  color: #35422c;
  font:
    10px Geist Mono,
    monospace;
  user-select: all;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(430px, 1fr);
  background: var(--paper);
}
.login-brand {
  position: absolute;
  top: 27px;
  left: 6%;
  color: var(--forest);
}
.login-brand .brand-mark {
  background: var(--forest);
  color: #eff3e9;
}
.login-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 90px 40px 55px;
}
.login-card {
  width: min(100%, 390px);
  padding: 34px 35px;
  background: white;
  border: 1px solid #e9ebe5;
  border-radius: 20px;
  box-shadow: 0 18px 55px #1e28170b;
}
.login-kicker {
  font-size: 9px;
  color: var(--olive);
  font-weight: 650;
  letter-spacing: 1.4px;
}
.login-card h1 {
  font-size: 27px;
  letter-spacing: -0.9px;
  color: var(--forest);
  margin: 9px 0 5px;
  font-weight: 580;
}
.login-intro {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 25px;
}
.login-card form {
  display: grid;
  gap: 8px;
}
.field-label {
  font-size: 10px;
  font-weight: 570;
  color: #3c4438;
  margin-top: 7px;
}
.login-card input {
  height: 42px;
  font-size: 11px;
}
.login-card .button {
  margin-top: 9px;
  height: 42px;
}
.login-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a2a89e;
  font-size: 9px;
  margin: 19px 0;
}
.login-divider:before,
.login-divider:after {
  content: "";
  height: 1px;
  background: #eceee8;
  flex: 1;
}
.demo-login {
  display: grid;
  gap: 10px;
}
.demo-login > div {
  display: grid;
  gap: 4px;
}
.demo-login strong {
  font-size: 11px;
  font-weight: 570;
}
.demo-login span {
  font-size: 9px;
  color: var(--muted);
}
.demo-login select {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  padding: 10px;
  font-size: 10px;
}
.login-footer {
  font-size: 9px;
  color: #959b90;
  margin-top: 18px;
}
.login-visual {
  position: relative;
  margin: 14px 14px 14px 0;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 81% 20%, #475a37 0, transparent 38%),
    linear-gradient(145deg, #27351f, #152012 78%);
  color: #f2f4ed;
  display: flex;
  align-items: center;
  padding: 10%;
  min-height: calc(100vh - 28px);
}
.visual-content {
  position: relative;
  z-index: 1;
  max-width: 440px;
}
.visual-icon {
  width: 56px;
  height: 56px;
  border: 1px solid #ffffff25;
  background: #ffffff0d;
  border-radius: 17px;
  display: grid;
  place-items: center;
  margin-bottom: 37px;
  color: #cad8b7;
}
.visual-content > span {
  font-size: 9px;
  color: #c4d0b6;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.visual-content h2 {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.03;
  letter-spacing: -2px;
  font-weight: 490;
  margin: 17px 0;
}
.visual-content h2 em {
  font-style: normal;
  color: #cad8b7;
}
.visual-content p {
  font-size: 12px;
  line-height: 1.6;
  color: #bac3b2;
  max-width: 290px;
}
.visual-ornament {
  position: absolute;
  right: -95px;
  top: 80px;
  transform: rotate(-17deg);
  color: #ffffff09;
}
.visual-caption {
  position: absolute;
  bottom: 28px;
  left: 10%;
  font-size: 10px;
  color: #d0d6c9;
}
.visual-caption span {
  padding: 0 7px;
  color: #8c9a7c;
}
@media (max-width: 1150px) {
  .content {
    padding: 31px 30px 50px;
  }
  .topbar {
    padding: 0 30px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .link-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.8fr);
  }
  .scan-step {
    gap: 6px;
  }
  .step-line {
    margin: 0 6px;
  }
  .scan-step small {
    display: none;
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 210px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .main {
    margin-left: 210px;
  }
  .content {
    padding: 27px 22px 45px;
  }
  .topbar {
    padding: 0 22px;
  }
  .overview-grid,
  .link-layout {
    grid-template-columns: 1fr;
  }
  .link-aside {
    grid-template-columns: 1fr 1fr;
  }
  .pending-panel {
    grid-column: 1/-1;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-brand {
    left: 24px;
    top: 20px;
  }
  .login-wrap {
    min-height: 100vh;
    padding: 80px 22px 35px;
  }
  .login-visual {
    display: none;
  }
  .admin-grid {
    gap: 10px;
  }
  .table-panel {
    padding: 18px;
  }
}
@media (max-width: 620px) {
  .login-page {
    min-height: 100vh;
    min-height: 100svh;
  }
  .login-wrap {
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(24px + env(safe-area-inset-top)) 22px calc(24px + env(safe-area-inset-bottom));
  }
  .login-card input {
    font-size: 16px;
  }
  .sidebar {
    display: none;
  }
  .main {
    margin-left: 0;
    padding-bottom: 75px;
  }
  .topbar {
    height: 58px;
    padding: 0 17px;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: flex;
    font-size: 17px;
  }
  .mobile-brand .brand-mark {
    width: 29px;
    height: 29px;
    background: var(--forest);
    color: white;
    border-radius: 9px;
  }
  .top-actions {
    gap: 7px;
  }
  .store-select {
    min-width: 0;
    padding-left: 10px;
  }
  .store-select.static {
    max-width: 145px;
  }
  .store-select strong,
  .store-select select {
    max-width: 120px;
    font-size: 10px;
  }
  .store-select > span {
    font-size: 8px;
  }
  .content {
    padding: 24px 15px 35px;
  }
  .page-heading {
    margin-bottom: 21px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .demo-badge {
    font-size: 8px;
    padding: 6px 8px;
  }
  .welcome-row {
    align-items: flex-start;
    gap: 10px;
  }
  .welcome-row h2 {
    font-size: 17px;
  }
  .welcome-row p {
    font-size: 10px;
    line-height: 1.5;
  }
  .welcome-row .button {
    font-size: 10px;
    padding: 8px 10px;
    min-height: 35px;
    white-space: nowrap;
  }
  .stats-grid {
    gap: 9px;
    margin-bottom: 13px;
  }
  .stat-card {
    padding: 13px;
    min-height: 106px;
    border-radius: 14px;
  }
  .stat-top {
    font-size: 9px;
  }
  .stat-icon {
    width: 26px;
    height: 26px;
  }
  .stat-card > strong {
    font-size: 23px;
    margin-top: 12px;
  }
  .stat-card > small {
    font-size: 9px;
  }
  .overview-grid {
    gap: 12px;
  }
  .panel {
    border-radius: 14px;
  }
  .panel-heading {
    align-items: flex-start;
  }
  .panel-heading h3 {
    font-size: 13px;
  }
  .panel-heading p {
    font-size: 9px;
    line-height: 1.5;
  }
  .panel {
    padding: 16px;
  }
  .text-link {
    font-size: 9px;
  }
  .activity-row {
    gap: 8px;
  }
  .activity-dot {
    width: 27px;
    height: 27px;
  }
  .activity-copy strong {
    font-size: 10px;
  }
  .activity-copy span {
    font-size: 8px;
  }
  .status-pill {
    font-size: 8px;
    padding: 5px 7px;
  }
  .quick-link {
    gap: 9px;
  }
  .quick-icon {
    width: 33px;
    height: 33px;
  }
  .link-main {
    padding: 17px 15px;
  }
  .link-intro {
    align-items: flex-start;
    gap: 10px;
  }
  .link-illustration {
    width: 38px;
    height: 38px;
  }
  .link-intro h2 {
    font-size: 14px;
  }
  .link-intro p {
    font-size: 9px;
  }
  .demo-inline {
    font-size: 8px;
  }
  .scan-steps {
    margin-bottom: 21px;
  }
  .scan-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }
  .scan-step > div {
    display: grid;
  }
  .scan-step strong {
    font-size: 8px;
  }
  .scan-step small {
    display: none;
  }
  .step-num {
    width: 23px;
    height: 23px;
  }
  .step-line {
    margin: 0 6px;
  }
  .scan-input-row {
    gap: 6px;
  }
  .scan-input-row input {
    font-size: 10px;
    padding: 9px;
    height: 40px;
  }
  .scan-input-row .button {
    padding: 8px 10px;
    font-size: 10px;
    white-space: nowrap;
  }
  .resolved-card {
    padding: 12px;
  }
  .resolved-card > strong {
    font-size: 12px;
  }
  .resolved-price {
    right: 12px;
    top: 37px;
    font-size: 12px;
  }
  .product-meta {
    font-size: 8px;
  }
  .pair-actions {
    flex-wrap: wrap;
  }
  .pair-actions .button {
    flex: 1;
  }
  .link-aside {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pending-panel {
    grid-column: auto;
  }
  .table-panel {
    padding: 15px 12px;
  }
  .table-panel > .panel-heading {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    min-width: 0;
    width: 100%;
  }
  .table-tools {
    width: 100%;
    flex-wrap: wrap;
  }
  .table-tools select {
    flex: 1;
  }
  .table-wrap {
    margin: 0 -2px;
  }
  thead th {
    padding: 10px 8px;
    font-size: 7px;
  }
  tbody td {
    padding: 11px 8px;
    font-size: 9px;
  }
  .mobile-nav {
    height: 66px;
    display: flex;
    position: fixed;
    z-index: 6;
    inset: auto 0 0;
    background: #fffffff2;
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--line);
    justify-content: space-around;
    padding: 7px 5px max(7px, env(safe-area-inset-bottom));
  }
  .mobile-nav a {
    min-width: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #82897d;
    font-size: 8px;
  }
  .mobile-nav a.active {
    color: var(--forest);
    font-weight: 600;
  }
  .mobile-nav a.active:before {
    content: "";
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--olive);
    position: absolute;
    top: 0;
  }
  .admin-summary {
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-summary > div {
    padding: 12px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .admin-panel,
  .admin-list {
    padding: 15px;
  }
  .form-two {
    grid-template-columns: 1fr 1fr;
  }
  .token-panel {
    align-items: flex-start;
  }
  .token-panel .button {
    padding: 6px;
    font-size: 9px;
  }
  .login-card {
    padding: 27px 23px;
  }
  .login-card h1 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.brand-mark img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}
.mobile-brand .brand-mark img {
  width: 19px;
  height: 19px;
}
.success-notice {
  background: var(--green-bg);
  color: #356c42;
}
@media (max-width: 1100px) {
  .link-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .link-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pending-panel {
    grid-column: 1/-1;
  }
  .scan-input-row .button {
    flex: none;
    white-space: nowrap;
  }
  .sidebar {
    width: 218px;
  }
  .main {
    margin-left: 218px;
  }
}
@media (max-width: 850px) {
  .link-aside {
    grid-template-columns: 1fr;
  }
  .pending-panel {
    grid-column: auto;
  }
}
.label-detail {
  margin-bottom: 13px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
}
.detail-grid > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.detail-grid small {
  font-size: 8px;
  color: #858d81;
  letter-spacing: 0.65px;
  font-weight: 650;
}
.detail-grid strong {
  font-size: 10px;
  font-weight: 560;
  overflow-wrap: anywhere;
}
@media (max-width: 620px) {
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}
.sync-form {
  max-width: 750px;
  border-top: 1px solid #edf0e9;
  margin-top: 20px;
  padding-top: 16px;
  display: grid;
  gap: 8px;
}
.sync-form label {
  font-size: 10px;
  font-weight: 580;
  color: #50584b;
}
.sync-form select {
  width: 100%;
  max-width: 420px;
  border: 1px solid #dfe3da;
  background: #fff;
  border-radius: 9px;
  padding: 9px 10px;
  font-size: 10px;
}
.sync-form .button {
  justify-self: start;
}
.sync-result {
  border-radius: 9px;
  background: #f2f6ef;
  color: #496242;
  padding: 10px;
  font-size: 10px;
  line-height: 1.5;
}
.activation-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 600px;
  font-size: 10px;
  line-height: 1.55;
  color: #56614e;
}
.activation-check input {
  accent-color: var(--olive);
  margin: 2px 0 0;
  flex: none;
}
.csv-preview {
  padding: 9px 10px;
  border-radius: 8px;
  background: #f5f6f2;
  color: #737a70;
  font-size: 9px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.csv-mapping-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
}
.csv-mapping-grid > div {
  display: grid;
  gap: 5px;
}
.csv-mapping-grid label {
  font-size: 9px;
}
.csv-mapping-grid select {
  min-width: 0;
  width: 100%;
  border: 1px solid #dfe3da;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  font-size: 9px;
}
@media (max-width: 620px) {
  .csv-mapping-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.logout-mobile {
  display: none;
}
@media (max-width: 620px) {
  .portal {
    overflow-x: clip;
  }
  .main {
    margin-left: 0 !important;
    width: 100%;
    min-width: 0;
  }
  .topbar {
    width: 100%;
    padding: 0 10px;
  }
  .top-actions {
    gap: 4px;
  }
  .store-select.static {
    max-width: 105px;
  }
  .store-select strong,
  .store-select select {
    max-width: 95px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .logout-mobile {
    display: grid;
    width: 29px;
    height: 30px;
    font-size: 18px;
  }
  .mobile-nav {
    width: 100%;
    min-width: 0;
  }
  .mobile-nav a {
    min-width: 0;
    flex: 1;
    font-size: 7.5px;
  }
  .mobile-nav a span {
    white-space: nowrap;
  }
}
.field-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
}
.field-map-grid > div {
  display: grid;
  gap: 5px;
}
.field-map-grid label {
  font-size: 9px;
}
.field-map-grid input {
  width: 100%;
  min-width: 0;
}
