/* Inventory page styles */
.inventory {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 24px;
}

.calc-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.calc-btn:hover { filter: brightness(1.05); }

.subdivision {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.subdivision-head {
  padding: 12px 16px;
  background: #f6f8fb;
  border-bottom: 1px solid var(--line);
}
.subdivision-head h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}
.subdivision-head .meta {
  font-size: .85rem;
  color: var(--ink);
}
.subdivision-head .meta .lbl {
  color: var(--muted);
  font-weight: 600;
  margin-right: 4px;
}
.subdivision-head .status-soldout {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--bad);
  background: var(--warn-bg);
  border-radius: 4px;
}

table.plans {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
table.plans th,
table.plans td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
table.plans th {
  font-weight: 700;
  color: var(--ink);
  background: #fafbfc;
}
table.plans tr:last-child td { border-bottom: 0; }
table.plans a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
table.plans a:hover { text-decoration: underline; }

.footnote { margin-top: 24px; }
