/* 買い出し中に残数とチェックをまとめて見渡す、コンパクトな一覧。 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#app[data-view="inventory"] main { max-width: 1100px; }
#app[data-view="inventory"] .page-heading { margin-bottom: 20px; }
.inventory-filter { margin: 18px 0 10px; gap: 12px; }
.inventory-filter > select { width: 170px; font-size: 13px; min-height: 42px; padding: 9px 12px; }
.inventory-filter .search-box { flex: 1; max-width: 350px; }
.stock-guidance { background: transparent; padding: 2px 0; font-size: 11px; gap: 7px; }
.stock-guidance > .icon { height: 15px; width: 15px; }
.stock-group { margin-top: 21px; }
.stock-group-heading { margin-bottom: 9px; }
.stock-table-wrap { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: white; }
.stock-table { border-collapse: collapse; table-layout: fixed; width: 100%; }
.stock-table .count-col { width: 110px; }
.stock-table .check-col { width: 100px; }
.stock-table th { padding: 7px 10px; font-size: 10px; color: #768575; background: #eff1e9; font-weight: 500; text-align: center; line-height: 1.5; }
.stock-table th:first-child { text-align: left; padding-left: 20px; }
.stock-table th br { display: none; }
.stock-table td { border-top: 1px solid #e9ede3; padding: 6px 10px; text-align: center; vertical-align: top; }
.stock-table .stock-name { text-align: left; padding: 9px 12px 7px 20px; }
.stock-name > strong { display: block; font-size: 14px; font-weight: 550; color: #365444; overflow-wrap: anywhere; line-height: 1.6; }
.stock-row.purchased { background: #f4f7ef; }
.catalog-note { color: #89917f; font-size: 10px; margin-top: 8px; }
.stock-table .stock-section-note td { text-align: left; padding: 8px 12px; background: #f4eedf; color: #8c7346; font-size: 11px; }
.stock-count { display: inline-flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px; min-height: 44px; width: 100%; border: 1px solid #e1e7da; border-radius: 7px; background: #fafbf7; padding: 5px; color: #365d45; }
.stock-count > span { font-size: 19px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.stock-count > small { font-size: 10px; font-weight: 400; color: #829074; }
.stock-count.unknown > span { font-size: 12px; color: #8b977f; }
.stock-count.unknown > span:empty { display: inline-block; width: 18px; min-height: 1em; }
.row-check { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.row-check .checkbox { width: 23px; height: 23px; border-radius: 6px; }
.row-check .checkbox > .icon { width: 16px; height: 16px; }
.row-details { font-size: 10px; color: #89967d; }
.row-details > summary { cursor: pointer; width: fit-content; min-width: 46px; padding: 3px 0 2px; font-size: 9px; }
.old-dot { display: inline-block; width: 5px; height: 5px; margin: 0 0 1px 5px; border-radius: 50%; background: #c3a46d; }
.row-detail-body { font-size: 11px; line-height: 1.8; padding: 6px 0 9px; color: #76846d; overflow-wrap: anywhere; }
.row-detail-body > p { margin-bottom: 9px; white-space: pre-wrap; }
.row-detail-body .small-button { min-height: 36px; }
#app[data-view="inventory"] .ending-note { margin-top: 14px; font-size: 10px; }
@media (max-width: 700px) {
  #app[data-view="inventory"] .topbar { height: 60px; }
  #app[data-view="inventory"] .prototype-bar { margin-top: 10px; }
  #app[data-view="inventory"] main { padding-top: 18px; }
  #app[data-view="inventory"] .page-heading { align-items: center; flex-wrap: nowrap; gap: 9px; margin-bottom: 15px; }
  #app[data-view="inventory"] .page-heading .eyebrow { display: none; }
  #app[data-view="inventory"] h1 { font-size: 23px; }
  #app[data-view="inventory"] .page-description { font-size: 10px; margin-top: 4px; }
  #app[data-view="inventory"] .page-heading > .button { font-size: 10px; padding: 8px 10px; min-height: 40px; }
  #app[data-view="inventory"] .page-heading > .button > .icon { width: 14px; height: 14px; }
  #app[data-view="inventory"] .cycle-icon { display: none; }
  #app[data-view="inventory"] .inventory-tools { flex-wrap: nowrap; }
  #app[data-view="inventory"] .cycle-control label { gap: 8px; }
  #app[data-view="inventory"] .cycle-control input { min-height: 38px; padding: 7px; width: 137px!important; }
  #app[data-view="inventory"] .inventory-tools > .button { min-height: 38px; font-size: 10px; padding: 7px 9px; }
  #app[data-view="inventory"] #cycle-help { margin-top: 6px; font-size: 9px; line-height: 1.6; }
  .inventory-filter { display: flex; margin: 13px 0 8px; gap: 9px; }
  .inventory-filter > select { width: 137px; flex-shrink: 0; min-height: 38px; font-size: 12px; padding: 7px 8px; }
  .inventory-filter .search-box { width: auto; padding: 0 9px; }
  .inventory-filter .search-box input { min-height: 36px; padding: 7px 0; font-size: 16px; }
  .stock-guidance { font-size: 9px; padding: 0; line-height: 1.5; }
  .stock-guidance > .icon { width: 13px; height: 13px; }
  .stock-group { margin-top: 16px; }
  .stock-group-heading { margin-bottom: 7px; }
  .stock-group-heading h2 { font-size: 14px; }
  .stock-table .count-col { width: 70px; }
  .stock-table .check-col { width: 52px; }
  .stock-table th { padding: 5px 3px; font-size: 9px; height: 29px; }
  .stock-table th br { display: inline; }
  .stock-table th:first-child { padding-left: 12px; }
  .stock-table td { padding: 5px 3px; }
  .stock-table .stock-name { padding: 7px 4px 5px 12px; }
  .stock-name > strong { font-size: 13px; }
  .stock-count { min-height: 42px; gap: 3px; padding: 5px 2px; }
  .stock-count > span { font-size: 18px; }
  .stock-count > small { font-size: 9px; }
  .stock-count.unknown > span { font-size: 10px; }
  .row-check { min-width: 44px; min-height: 44px; padding: 4px; }
  .row-check .checkbox { width: 21px; height: 21px; }
  .row-details > summary { font-size: 8px; padding: 2px 0; min-height: 21px; }
  .row-detail-body { font-size: 10px; }
}
@media (max-width: 370px) {
  .stock-table .count-col { width: 64px; }
  .stock-table .check-col { width: 47px; }
  .stock-table .stock-name { padding-left: 9px; }
  .stock-name > strong { font-size: 12px; }
  #app[data-view="inventory"] h1 { font-size: 21px; }
  #app[data-view="inventory"] .page-description { font-size: 9px; }
}
