:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #172025;
  background: #f5f6f7;
  font-synthesis: none;
  --muted: #69767f;
  --line: #e7ecef;
  --blue: #078cbc;
  --soft: #e8f6fc;
  --radius: 28px;
}
@font-face {
  font-family: Jakarta;
  src: url("/assets/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@media (max-width: 850px) {
  .content:has(> .insights) {
    display: flex;
    flex-direction: column;
  }
  .content:has(> .insights) > .overview {
    order: 2;
  }
  .content:has(> .insights) > .insights {
    order: 3;
  }
}
:root {
  font-family: Jakarta, Inter, system-ui, sans-serif;
  background: #f0f3f5;
  --muted: #61717a;
  --line: #e5ebef;
  --blue: #078db8;
}
.brand-mark {
  background: none;
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header {
  box-shadow: 0 4px 24px #1c394503;
  border: 1px solid #ffffff;
}
.panel {
  box-shadow: 0 4px 24px #243d4b04;
}
.page-heading h1 {
  font-weight: 650;
  letter-spacing: -1.6px;
}
.action-card {
  background: linear-gradient(120deg, #fff, #f8fcfd);
  border-color: #dfe9ee;
}
.insights {
  margin: 24px 0;
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.metric-card {
  background: #fff;
  border-radius: 24px;
  padding: 23px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.metric-card:after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -38px;
  width: 145px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #e8f6fc70, transparent 70%);
  pointer-events: none;
}
.metric-card > strong {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -1.2px;
}
.metric-card > strong small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.metric-foot {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.metric-icon {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #068cb9;
  background: #e6f5fb;
}
.metric-icon svg {
  width: 18px;
  height: 18px;
}
.metric-icon.amber {
  color: #a16b22;
  background: #fff4df;
}
.metric-icon.lavender {
  color: #8361be;
  background: #f1edfc;
}
.metric-icon.mint {
  color: #298464;
  background: #eaf8f0;
}
.metric-card > .sub {
  padding-right: 35px;
  font-size: 12px;
}
.chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.chart-grid .panel-title h2 {
  margin-top: 8px;
}
.chart-period {
  font-size: 11px;
  background: #f5f7f8;
  padding: 10px 14px;
  border-radius: 20px;
  white-space: nowrap;
  color: var(--muted);
}
.chart-legend {
  display: flex;
  gap: 22px;
  font-size: 11px;
  color: var(--muted);
}
.chart-legend span,
.coverage-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.receipt-dot,
.issue-dot,
.unknown-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #21a7d3;
}
.issue-dot {
  background: #9d7be4;
}
.unknown-dot {
  background: #e5eaf0;
}
.bar-chart {
  display: flex;
  gap: 12px;
  height: 178px;
  margin: 22px 0 18px;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(
    to top,
    transparent,
    transparent 38px,
    #edf2f5 39px,
    transparent 40px
  );
  padding: 0 8px;
}
.bar-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 12px;
  min-width: 0;
  font-size: 10px;
  color: var(--muted);
}
.bar-pair {
  display: flex;
  gap: 6px;
  align-items: end;
  height: 137px;
  width: 100%;
  justify-content: center;
}
.chart-bar {
  width: 19px;
  max-width: 35%;
  border-radius: 5px 5px 0 0;
  background: #25acd6;
  position: relative;
  min-height: 2px;
}
.result-limit {
  padding: 18px 0;
}
.item-placeholder,
.detail-photo {
  position: relative;
  overflow: hidden;
}
.inventory-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}
.photo-loaded > svg {
  visibility: hidden;
}
.detail-photo {
  display: grid;
  place-items: center;
  width: 160px;
  height: 145px;
  background: #f4f7f9;
  border-radius: 18px;
  margin: 22px 0 8px;
}
.detail-photo > svg {
  width: 38px;
  height: 38px;
  color: #83949e;
}
.photo-caption {
  max-width: 360px;
  margin-bottom: 18px;
}
.workspace-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  border-radius: 20px;
  background: #e8f5fb;
  margin: 0 0 18px;
}
.resolution-fields {
  margin: 24px 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.source-catalogue {
  margin-top: 24px;
  background: #f6f8fa;
  padding: 18px;
  border-radius: 16px;
}
.source-catalogue h3 {
  margin: 8px 0 12px;
}
.catalogue-values {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}
.source-catalogue .help {
  margin-top: 10px;
}
.mobile-lot-summary {
  display: none;
}
@media (max-width: 850px) {
  .desktop-lot-evidence {
    display: none;
  }
  .mobile-lot-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 16px;
    background: #eef7fb;
  }
  .mobile-lot-summary > div {
    display: grid;
    gap: 7px;
  }
  .mobile-lot-summary span {
    font-size: 11px;
    color: var(--muted);
  }
  .mobile-lot-summary strong {
    font-size: 15px;
  }
  .mobile-lot-summary p {
    grid-column: 1/-1;
    font-size: 11px;
    color: #536a77;
    line-height: 1.6;
  }
}
.resolution-fields > p {
  margin: 12px 0 18px;
}
.check-field {
  display: flex;
  align-items: start;
  gap: 12px;
  margin: 20px 0;
  line-height: 1.6;
}
.check-field input {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 0;
  accent-color: #078db8;
}
.check-field {
  min-height: 44px;
}
.workspace-banner.practice {
  background: #fff4df;
}
.workspace-banner > div:first-child {
  display: grid;
  gap: 5px;
}
.workspace-banner strong {
  font-size: 13px;
}
.workspace-banner span {
  font-size: 11px;
  color: #566873;
  line-height: 1.6;
}
.workspace-switch {
  padding: 8px 12px;
  background: #ffffff90;
  border-radius: 12px;
  font-size: 11px;
  white-space: nowrap;
  min-height: 44px;
}
.workspace-dialog {
  border: 0;
  border-radius: 28px;
  padding: 30px;
  max-width: 520px;
  width: calc(100% - 32px);
  color: #172025;
  box-shadow: 0 24px 100px #112c4650;
}
.workspace-dialog::backdrop {
  background: #18313e60;
  backdrop-filter: blur(4px);
}
.workspace-dialog > p {
  margin: 16px 0 24px;
  font-size: 14px;
  color: var(--muted);
}
.workspace-choices {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.workspace-choices > button {
  display: grid;
  text-align: left;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 18px;
}
.workspace-choices > button:hover {
  border-color: #0d95bd;
  background: #f6fcff;
}
.workspace-choices strong {
  font-size: 15px;
}
.workspace-choices span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.safety-note {
  margin: 18px 0;
  background: #fff0f2;
  color: #96394e;
  padding: 16px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.6;
}
.safety-note strong {
  font-size: 12px;
}
.safety-note ul {
  padding-left: 18px;
  margin: 10px 0;
}
.safety-note p {
  font-size: 11px;
}
@media (max-width: 540px) {
  .workspace-banner {
    align-items: start;
    flex-direction: column;
    padding: 16px;
  }
  .workspace-banner .button-row {
    width: 100%;
    gap: 8px;
  }
  .workspace-switch {
    flex: 1;
  }
  .workspace-dialog {
    padding: 24px;
  }
  .workspace-dialog .button-row > .primary,
  .workspace-dialog .button-row > .secondary {
    flex: 1;
  }
}
.chart-bar.issue {
  background: #a586e3;
}
.chart-bar span {
  position: absolute;
  top: -19px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  color: #61717a;
}
.coverage-chart > .panel-title > svg {
  width: 24px;
  height: 24px;
  color: #1ca1cc;
}
.coverage-body {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 26px 0;
}
.coverage-ring {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(#25acd6 var(--coverage), #edf2f5 0);
  padding: 13px;
  flex-shrink: 0;
}
.coverage-ring > div {
  height: 100%;
  border-radius: 50%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.coverage-ring strong {
  font-size: 28px;
  letter-spacing: -1px;
}
.coverage-ring span {
  font-size: 10px;
  color: var(--muted);
}
.coverage-legend {
  flex: 1;
  display: grid;
  gap: 17px;
  font-size: 11px;
  min-width: 0;
}
.coverage-legend > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.coverage-legend strong {
  font-weight: 600;
  font-size: 14px;
}
.data-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 14px 4px;
  font-size: 10px;
  color: var(--muted);
}
.login-fields {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}
.login-fields button {
  width: 100%;
}
.purchase-row > div {
  min-width: 0;
}
.purchase-meta .sub {
  overflow-wrap: anywhere;
  font-size: 10px;
}
.cost-evidence {
  overflow-wrap: anywhere;
}
.lot-head h3 {
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .metric-strip {
    gap: 14px;
  }
  .metric-card {
    padding: 20px;
  }
  .coverage-body {
    gap: 16px;
  }
  .coverage-ring {
    width: 125px;
    height: 125px;
  }
  .chart-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}
@media (max-width: 850px) {
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chart-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .coverage-body {
    flex-direction: column;
  }
  .chart-legend {
    gap: 12px;
  }
  .data-caption > span:last-child {
    display: none;
  }
}
@media (max-width: 540px) {
  .insights {
    margin: 18px 0;
  }
  .metric-strip {
    gap: 12px;
  }
  .metric-card {
    padding: 18px;
    border-radius: 22px;
  }
  .metric-card > .sub {
    font-size: 10px;
    padding-right: 24px;
  }
  .metric-icon {
    width: 26px;
    height: 26px;
    right: 12px;
    top: 15px;
    border-radius: 9px;
  }
  .metric-icon svg {
    width: 15px;
  }
  .metric-card > strong {
    font-size: 29px;
  }
  .metric-foot {
    font-size: 10px;
  }
  .chart-grid {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }
  .chart-grid .panel-title {
    gap: 10px;
  }
  .chart-grid .eyebrow {
    font-size: 9px;
  }
  .coverage-body {
    flex-direction: row;
    gap: 18px;
  }
  .coverage-ring {
    width: 128px;
    height: 128px;
  }
  .coverage-legend {
    font-size: 10px;
  }
  .bar-chart {
    height: 165px;
    gap: 7px;
  }
  .bar-pair {
    gap: 4px;
  }
  .chart-legend {
    font-size: 10px;
  }
  .data-caption {
    line-height: 1.6;
  }
  .item-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }
  .purchase-row .primary {
    flex-shrink: 0;
  }
  .coverage-body {
    flex-wrap: wrap;
  }
  .coverage-legend {
    min-width: 100px;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #1ca9e0;
  outline-offset: 3px;
}
a {
  color: var(--blue);
}
button {
  border: 0;
  background: none;
  color: inherit;
  min-height: 44px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dce4e8;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  color: #172025;
}
textarea {
  resize: vertical;
  min-height: 84px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 650;
  letter-spacing: -1.25px;
  line-height: 1.2;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  font-weight: 600;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
p {
  line-height: 1.6;
}
.muted,
.sub {
  color: var(--muted);
}
.sub {
  font-size: 13px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.header {
  height: 92px;
  margin: 20px 24px 0;
  background: #fff;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.6px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #25bbe7, #1288cf);
  display: grid;
  place-items: center;
  color: white;
}
.brand-mark svg {
  width: 26px;
  height: 26px;
}
.brand small {
  display: block;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-top: 3px;
  color: var(--muted);
}
.topnav {
  display: flex;
  gap: 8px;
}
.topnav button {
  padding: 12px 20px;
  border-radius: 16px;
  color: var(--muted);
  font-size: 14px;
}
.topnav button.active {
  background: #f2f5f7;
  color: #172025;
}
.identity {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e9f4fb;
  color: #167ca6;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.identity strong {
  font-size: 13px;
}
.identity small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 3px;
}
.identity button {
  padding: 6px;
  border-radius: 50%;
}
.shell {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  margin: 24px;
}
.rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 28px;
  padding: 16px 8px;
  align-self: start;
  position: sticky;
  top: 20px;
}
.rail button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #71818a;
}
.rail button.active {
  background: #1aa3d5;
  color: white;
}
.rail svg {
  width: 20px;
  height: 20px;
}
.content {
  width: 100%;
  max-width: 1440px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 20px 0 28px;
}
.page-heading p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 14px;
}
.primary,
.secondary,
.danger {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  min-height: 46px;
}
.primary {
  background: var(--blue);
  color: #fff;
}
.primary:hover {
  background: #007fab;
}
.secondary {
  background: #f1f5f7;
  color: #33464f;
}
.danger {
  background: #fff0f1;
  color: #a3354b;
}
.button-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 3px 20px #243d4b03;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.findbar {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  background: #fff;
}
.findbar svg {
  width: 20px;
  color: #71818a;
  flex-shrink: 0;
}
.findbar input {
  border: 0;
  padding: 18px 0;
  background: none;
  min-height: 60px;
  outline-offset: 0;
}
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.action-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.action-card:hover {
  border-color: #92d6f0;
  background: #fbfdff;
}
.icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #e9f7fd;
  color: #1293c7;
  flex-shrink: 0;
}
.icon-tile.mint {
  background: #e8f7ef;
  color: #2d9570;
}
.icon-tile svg {
  width: 23px;
  height: 23px;
}
.action-card strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}
.action-card span.sub {
  display: block;
}
.arrow {
  margin-left: auto;
  color: #809098;
}
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  margin-top: 24px;
}
.stack {
  display: grid;
  gap: 20px;
  align-content: start;
}
.item-list {
  display: grid;
}
.item-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #f0f3f5;
  text-align: left;
  width: 100%;
}
.item-row:last-child {
  border: 0;
}
.item-placeholder {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #f4f6f7;
  display: grid;
  place-items: center;
  color: #8c9ca5;
}
.item-placeholder svg {
  width: 25px;
  height: 25px;
}
.item-row h3 {
  margin-bottom: 5px;
}
.item-stats {
  text-align: right;
}
.item-stats strong {
  font-size: 20px;
  font-weight: 600;
}
.item-stats .sub {
  display: block;
  margin-top: 5px;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 9px;
  white-space: nowrap;
  background: #edf5fa;
  color: #357b9d;
}
.badge.mint {
  background: #e9f7ef;
  color: #287b5c;
}
.badge.amber {
  background: #fff4df;
  color: #a17020;
}
.badge.rose {
  background: #fdeef1;
  color: #ab4f65;
}
.badge.lavender {
  background: #f1edfc;
  color: #7960b4;
}
.quiet-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.quiet-entry {
  display: flex;
  gap: 12px;
  align-items: start;
  font-size: 13px;
}
.quiet-entry strong {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #19a3d7;
  flex-shrink: 0;
  margin-top: 6px;
}
.line-break {
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.empty {
  padding: 28px 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.demo-label {
  font-size: 11px;
  color: #7b8790;
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-label:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #d6a647;
  border-radius: 50%;
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.full {
  grid-column: 1/-1;
}
.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.help {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.facts dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.facts dd {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}
.purchase-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  width: 100%;
}
.purchase-row:last-child {
  border: 0;
}
.purchase-row h3 {
  margin: 8px 0;
}
.purchase-row p {
  font-size: 13px;
  color: var(--muted);
}
.journey {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.journey span {
  font-size: 11px;
  color: #8c979e;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f4f6f7;
}
.journey span.done {
  background: #e9f7ef;
  color: #397f60;
}
.journey span.current {
  background: #e9f5fb;
  color: #137b9f;
}
.error {
  background: #fff0f3;
  color: #a83350;
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
  margin-top: 18px;
}
.notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #183943;
  color: #fff;
  padding: 14px 22px;
  border-radius: 16px;
  box-shadow: 0 8px 30px #0002;
  z-index: 30;
  max-width: 90vw;
  font-size: 14px;
}
.detail-back {
  color: var(--muted);
  padding: 0 0 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lot-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 12px;
}
.lot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.lot-values {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.lot-values b {
  color: #253943;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th {
  color: var(--muted);
  font-weight: 500;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 16px 12px;
  border-bottom: 1px solid #f0f3f5;
  vertical-align: top;
}
td strong {
  font-weight: 600;
}
.login {
  max-width: 560px;
  margin: 8vh auto;
  padding: 36px;
}
.login .brand {
  margin-bottom: 40px;
}
.login h1 {
  margin-bottom: 12px;
}
.roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}
.role-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
}
.role-card:hover {
  border-color: #17a5d8;
  background: #f5fbff;
}
.role-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}
.role-card small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.mobile-nav {
  display: none;
}
.loading {
  padding: 60px;
  text-align: center;
  color: var(--muted);
}
.report-summary {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.status-note {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f5f8fa;
  font-size: 13px;
  color: #64757f;
  line-height: 1.7;
}
.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.small-action {
  color: #0b8ebb;
  font-size: 12px;
  padding: 4px 8px;
}
.cost-evidence {
  background: #f7f9fa;
  border-radius: 16px;
  padding: 18px;
  margin: 18px 0;
}
.cost-evidence p {
  font-size: 13px;
  margin-top: 6px;
}
.success-icon {
  color: #1b9c71;
}
.purchase-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.page-heading .eyebrow {
  margin-bottom: 8px;
}
.primary svg,
.secondary svg,
.danger svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.purchase-workspace .panel-title h2 {
  overflow-wrap: anywhere;
}
@media (max-width: 540px) {
  .purchase-workspace .facts {
    gap: 12px;
    margin: 16px 0;
  }
  .purchase-workspace .facts dd {
    font-size: 14px;
  }
  .purchase-workspace .journey {
    margin-bottom: 18px;
    gap: 6px;
  }
  .purchase-workspace .journey span {
    padding: 7px 10px;
  }
}
.identity button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.identity button svg {
  width: 20px;
  height: 20px;
}
.page-heading > .secondary {
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 1700px) {
  .header,
  .shell {
    max-width: 1620px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 1100px) {
  .topnav button {
    padding: 12px;
  }
  .overview,
  .section-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .header {
    padding: 0 20px;
  }
  .identity small {
    display: none;
  }
}
@media (max-width: 850px) {
  .overview,
  .section-grid {
    grid-template-columns: 1fr;
  }
  .rail {
    display: none;
  }
  .shell {
    grid-template-columns: 1fr;
    margin: 20px;
    gap: 0;
  }
  .header {
    margin: 14px 20px 0;
    height: 76px;
  }
  .topnav {
    display: none;
  }
  .page-heading {
    margin: 14px 0 24px;
  }
  .overview .stack {
    grid-template-columns: 1fr 1fr;
  }
  .content {
    max-width: 740px;
  }
  .identity .avatar {
    display: none;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: space-around;
    background: #ffffffed;
    border-top: 1px solid var(--line);
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    backdrop-filter: blur(15px);
    z-index: 10;
  }
  .mobile-nav button {
    display: grid;
    justify-items: center;
    gap: 4px;
    min-width: 60px;
    color: #798a92;
    font-size: 10px;
    padding: 6px;
    border-radius: 12px;
  }
  .mobile-nav button.active {
    color: #087fa9;
    background: #eef9fd;
  }
  .mobile-nav svg {
    width: 20px;
    height: 20px;
  }
  body {
    padding-bottom: 90px;
  }
  .notice {
    bottom: 90px;
  }
}
@media (max-width: 540px) {
  .header {
    margin: 12px 14px 0;
    padding: 0 16px;
    border-radius: 22px;
    height: 70px;
  }
  .brand {
    font-size: 17px;
    gap: 8px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .brand small {
    font-size: 8px;
  }
  .identity {
    gap: 5px;
  }
  .identity strong {
    font-size: 11px;
  }
  .identity button {
    font-size: 12px;
  }
  .shell {
    margin: 18px 14px;
  }
  .page-heading {
    align-items: start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .page-heading p {
    font-size: 13px;
    max-width: 300px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .panel {
    padding: 22px;
    border-radius: 24px;
  }
  .actions {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }
  .action-card {
    padding: 16px;
    border-radius: 16px;
  }
  .overview {
    gap: 16px;
    margin-top: 16px;
  }
  .overview .stack {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .form-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .form-foot .primary {
    width: 100%;
  }
  .item-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 18px 0;
  }
  .item-placeholder {
    width: 42px;
    height: 46px;
  }
  .item-row h3 {
    font-size: 14px;
  }
  .item-row .sub {
    font-size: 11px;
  }
  .item-stats strong {
    font-size: 18px;
  }
  .panel-title {
    margin-bottom: 18px;
  }
  .panel-title h2 {
    font-size: 18px;
  }
  .login {
    margin: 32px 14px;
    padding: 26px;
  }
  .roles {
    gap: 10px;
  }
  .role-card {
    padding: 16px;
  }
  .facts {
    gap: 18px;
  }
  .facts dd {
    font-size: 15px;
  }
  .purchase-row {
    align-items: start;
  }
  .purchase-row h3 {
    font-size: 14px;
  }
  .purchase-row .primary {
    font-size: 12px;
    padding: 10px 12px;
  }
  .findbar input {
    min-height: 54px;
    padding: 16px 0;
  }
  .lot-head {
    align-items: start;
  }
  .form-foot .help {
    max-width: 100%;
  }
  .button-row {
    gap: 8px;
  }
  .button-row .primary,
  .button-row .secondary {
    font-size: 12px;
    padding: 10px 14px;
  }
  .demo-label {
    font-size: 10px;
  }
}
.brand-mark {
  background: none;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.assisted-entry {
  margin-top: 24px;
}
.assisted-entry > .panel-title > svg {
  width: 24px;
  height: 24px;
  color: #1198bd;
}
.upload-form {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}
.upload-form input {
  font-size: 12px;
  padding: 12px;
}
.upload-form .secondary {
  justify-self: start;
}
.draft-choice {
  margin: 20px 0;
}
.source-link {
  display: inline-block;
  font-size: 12px;
  margin-top: 18px;
  min-height: 44px;
  padding: 12px 0;
}
.assisted-entry .error {
  overflow-wrap: anywhere;
}
.overview > .panel {
  align-self: start;
}
.overview .stack .panel:last-child {
  display: none;
}
.chart-empty {
  height: 170px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  background: #f8fafb;
  border-radius: 16px;
  margin: 20px 0;
  padding: 20px;
}
.chart-bar {
  min-height: 0;
}
body.is-searching .insights {
  display: none;
}
