.inventory-status-count { display: inline-flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 8px; background: #f5f8ff; font-size: 12px; }
.inventory-status-count strong { font-size: 20px; }
.inventory-card.stock-sold, .stock-sold { background: #fee2e2; color: #991b1b; }
.inventory-card.stock-returned, .stock-returned { background: #fef3c7; color: #92400e; }
.stock-available { background: #dcfce7; color: #166534; }
.inventory-status { display: block; margin-top: 10px; font-weight: 600; }
.master-actions .qr-download { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: #ccfbf1; }
.qr-download img { width: 20px; height: 20px; }
.stock-check-summary { grid-template-columns: repeat(4,minmax(0,1fr)); }
.stock-check-summary strong { overflow-wrap: anywhere; }
.tracking-direction-rx { overflow-x: auto; }
.tracking-direction-rx > div { min-width: 440px; grid-template-columns: 80px repeat(6,minmax(0,1fr)); }
.tracking-direction-rx .heading span { white-space: nowrap; }
.ready-search-form { max-width: 620px; margin: 16px auto; padding: 16px; border: 1px solid #ece8f9; border-radius: 18px; background: #fff; }
.ready-search-form h2 { font-size: 15px; margin: 0 0 14px; }
.ready-search-form .order-field { margin-bottom: 12px; }
.ready-search-form input, .ready-search-form select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; }
.ready-search-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ready-search-actions > * { text-align: center; padding: 10px; border: 0; border-radius: 8px; }
.ready-clear { background: #e5e7eb; color: #1f2937; text-decoration: none; }
.old-order-search-page { max-width: 620px; margin: 0 auto; padding: 12px; }
.old-order-search-page > header h1 { font-size: 22px; text-align: center; margin: 8px 0 16px; }
.old-order-search-page .ready-search-form { margin: 0 0 16px; }
.archive-order-card { margin: 12px 0; padding: 14px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; overflow-wrap: anywhere; }
.archive-order-card header { display: flex; justify-content: space-between; gap: 12px; }
.archive-order-card header > div { min-width: 0; }
.archive-order-card header span, .archive-order-card dt { font-size: 12px; color: #64748b; }
.archive-order-card h2 { font-size: 16px; margin: 4px 0; }
.archive-order-card dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 12px 0; }
.archive-order-card dd { font-size: 14px; margin: 2px 0 0; }
.archive-order-card table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12px; }
.archive-order-card th, .archive-order-card td { padding: 8px 4px; text-align: center; border: 1px solid #e2e8f0; }
.archive-order-card thead { background: #eef2ff; }
.archive-pagination { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 12px; }
.archive-pagination a { display: grid; place-items: center; width: 40px; height: 40px; font-size: 20px; }
@media (max-width: 600px) { .stock-check-summary { grid-template-columns: repeat(2,minmax(0,1fr)); } }
