/* ============================================================
   uline-landed-cost / landed-cost.css
   Supplements shared styles.css
   ============================================================ */

/* Full-width results panel overrides the 2-col grid */
#main-results {
  display: grid;
  grid-template-columns: 1fr;
}

#main-results .panel {
  padding: 1.5rem 2rem;
}

/* Table tweaks for wide landed-cost table */
.table-wrap {
  max-height: none;
  overflow-x: auto;
}

#lineTable th.num,
#lineTable td.num {
  text-align: right;
}

#lineTable th.ctr,
#lineTable td.ctr {
  text-align: center;
}

#lineTable td.sku {
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}

#lineTable td.desc {
  font-family: var(--sans);
  font-size: 0.78rem;
  white-space: normal;
  min-width: 220px;
  max-width: 320px;
}

/* Tax badge */
.tax-t {
  display: inline-block;
  font-size: 0.65rem;
  font-family: var(--mono);
  font-weight: 500;
  padding: 1px 5px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 2px;
  letter-spacing: 0.06em;
}

/* tfoot totals row */
#lineTable tfoot td {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.42rem 0.65rem;
  border-bottom: none;
}

#lineTable tfoot td.num { text-align: right; }

/* Check rows */
.check-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--rule);
}

.check-row:last-child { border-bottom: none; }

.check-label {
  color: var(--mid);
  width: 150px;
  flex-shrink: 0;
}

.check-val { font-weight: 500; }
.check-val.ok  { color: var(--green); }
.check-val.warn { color: #b8860b; }

/* Meta display (read-only values) */
.meta-input[style] {
  /* override input styles for read-only span */
  border: none;
  background: transparent;
  padding: 0;
  font-size: 0.77rem;
  font-family: var(--mono);
  color: var(--ink);
  font-weight: 500;
}