.stock-quick-count { display: none; }
.quick-app-clover { display: grid; grid-template-columns: repeat(2, 78px); gap: 5px; justify-content: center; padding: 4px 0 9px; }
.quick-app-leaf { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; width: 78px; height: 78px; padding: 4px; border: 1px solid #d4ebde; background: #e8f7ef; color: #236e57; font-size: 12px; cursor: pointer; }
.quick-app-leaf:nth-child(1) { border-radius: 54% 54% 14% 54%; }
.quick-app-leaf:nth-child(2) { border-radius: 54% 54% 54% 14%; background: #e3f4eb; }
.quick-app-leaf:nth-child(3) { border-radius: 54% 14% 54% 54%; background: #e3f4eb; }
.quick-app-leaf:nth-child(4) { border-radius: 14% 54% 54% 54%; }
.quick-app-leaf:focus-visible { outline: 2px solid #16876a; outline-offset: 2px; }
.quick-app-icon { display: grid; place-items: center; color: #16876a; }
@media (max-width: 720px) {
  .attend-modal .att-normal-tip { display: none; }
  .attend-modal .att-head { margin-bottom: 4px; }
  .attend-modal .att-clock-box { padding-top: 8px; padding-bottom: 8px; }
  .stock-list:not(.stock-list-archived) #stkClear { display: none; }
  .stock-list:not(.stock-list-archived) #stkMatch { display: none; }
  #page:has(#shippingTransit:not([hidden])) .ship-ai-head,
  #page:has(#shippingTransit:not([hidden])) .ship-ai-stats,
  #shippingTransit .ship-list-help,
  #shippingTransit .scrlinks,
  #shippingTransit #shBig { display: none; }
  #shippingTransit .shbar { gap: 8px; }
  #shippingTransit #shQ { width: auto !important; min-width: 0; flex: 1 1 150px; }
  .purchase-inbound-form .purchase-item, .purchase-inbound-form .purchase-paid-help { display: none; }
  .purchase-inbound-form .purchase-more { border: 1px solid #e1ebe7; border-radius: 10px; padding: 10px 12px; }
  .purchase-inbound-form .purchase-more summary { color: #54776a; font-size: 13px; cursor: pointer; }
  .purchase-inbound-form .purchase-more[open] summary { margin-bottom: 12px; }
  .purchase-inbound-form .purchase-more > div { margin-bottom: 10px; }
  .stock-list:not(.stock-list-archived) { background: transparent; border: 0; box-shadow: none; padding: 0; }
  .stock-list:not(.stock-list-archived) .card-h .sp { display: none; }
  .stock-list:not(.stock-list-archived) table,
  .stock-list:not(.stock-list-archived) tbody { display: block; width: 100%; }
  .stock-list:not(.stock-list-archived) thead { display: none; }
  .stock-list:not(.stock-list-archived) tr[data-stock-id] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; padding: 15px; margin: 0 2px 10px; border: 1px solid #e1ebe7; border-radius: 14px; background: #fff; box-shadow: 0 3px 12px rgba(36, 77, 61, .045); }
  .stock-list:not(.stock-list-archived) tr[data-stock-id][hidden] { display: none !important; }
  .stock-list:not(.stock-list-archived) tr[data-stock-id] td { border: 0; padding: 0; min-width: 0; white-space: normal; }
  .stock-list:not(.stock-list-archived) tr[data-stock-id] td:nth-child(1),
  .stock-list:not(.stock-list-archived) tr[data-stock-id] td:nth-child(5),
  .stock-list:not(.stock-list-archived) tr[data-stock-id] td:nth-child(6) { display: none; }
  .stock-list:not(.stock-list-archived) tr[data-stock-id] td:nth-child(2) { font-size: 16px; line-height: 1.4; font-weight: 700; color: #233d34; overflow-wrap: anywhere; }
  .stock-list:not(.stock-list-archived) tr[data-stock-id] td:nth-child(3) { grid-column: 1; grid-row: 2; font-size: 13px; color: #7d9088; overflow-wrap: anywhere; }
  .stock-list:not(.stock-list-archived) tr[data-stock-id] td:nth-child(4) { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 16px; font-weight: 700; color: #168b70; text-align: right; white-space: nowrap; }
  .stock-list:not(.stock-list-archived) tr[data-stock-id] td:nth-child(4)::before { content: '库存'; display: block; font-size: 11px; font-weight: 400; color: #99a9a2; }
  .stock-list:not(.stock-list-archived) tr[data-stock-id] td:nth-child(7) { grid-column: 1 / -1; display: flex; gap: 8px; padding-top: 10px; margin-top: 2px; border-top: 1px solid #edf2ef; }
  .stock-list:not(.stock-list-archived) tr[data-stock-id] td:nth-child(7) button { display: none; }
  .stock-list:not(.stock-list-archived) tr[data-stock-id] td:nth-child(7) [data-item-stock-action],
  .stock-list:not(.stock-list-archived) tr[data-stock-id] td:nth-child(7) [data-item-count] { display: block; flex: 1; min-height: 38px; }
  .stock-list:not(.stock-list-archived) #stkEmpty { display: block; text-align: center; }
  .stock-list:not(.stock-list-archived) #stkEmpty[hidden] { display: none; }
}

/* Keep the phone inventory navigation focused on active stock and movements. */
@media (max-width: 720px) {
  .rtabs > a[href="#stock/archived"],
  .rtabs > a[href="#stock/count"] { display: none; }
}
