
.pt-st { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #e5e7eb; color: #374151; white-space: nowrap; }
.pt-st.WAITING, .pt-st.PARTIAL { background: #fef3c7; color: #92400e; }
.pt-st.CHECK { background: #ffedd5; color: #9a3412; }
.pt-st.OUT { background: #dbeafe; color: #1e40af; }
.pt-st.SHIP { background: #ede9fe; color: #5b21b6; }
.pt-st.DONE { background: #dcfce7; color: #166534; }
.pt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pt-card { border: 1px solid var(--line, #e5e7eb); border-radius: 12px; padding: 12px 14px; background: var(--card, #fff); cursor: pointer; }
.pt-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.pt-card .no { font-weight: 700; font-size: 15px; }
/* v3.13.247: nomor surat (PL-STM-C5-11-26-0009) tidak dipatah di tanda hubung; bila sempit, status turun ke baris bawah */
.pt-card .pt-hd { display: flex; justify-content: space-between; align-items: center; gap: 4px 8px; flex-wrap: wrap; }
.pt-card .no { white-space: nowrap; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pt-card .pt-src { font-size: 13.5px; color: #475569; margin-top: 2px; }
.pt-card .pt-src .nb { white-space: nowrap; }
@media (max-width: 700px) { .pt-card { padding: 10px 12px; } .pt-card .no { font-size: 14px; } .pt-card .pt-src { font-size: 13px; } }
.pt-bar { height: 8px; border-radius: 6px; background: #e5e7eb; overflow: hidden; margin: 8px 0 4px; }
.pt-bar > i { display: block; height: 100%; background: #2563eb; }
.pt-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; font-size: 12px; }
.pt-steps span { padding: 3px 9px; border-radius: 999px; background: #f3f4f6; color: #6b7280; }
.pt-steps span.on { background: #2563eb; color: #fff; font-weight: 700; }
.pt-steps span.ok { background: #dcfce7; color: #166534; }
.pt-line { border: 1px solid var(--line, #e5e7eb); border-radius: 10px; margin: 10px 0; overflow: hidden; }
.pt-line > .hd { background: #f3f4f6; padding: 8px 12px; font-weight: 700; font-size: 14px; }
.pt-pick { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line, #e5e7eb); }
.pt-pick.done { background: #f0fdf4; }
.pt-pick .code { font-weight: 700; font-size: 15px; min-width: 110px; }
.pt-pick .meta { flex: 1 1 200px; font-size: 13px; color: #4b5563; }
.pt-pick .tag { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: #e0e7ff; color: #3730a3; }
.pt-pick .tag.titip { background: #ffedd5; color: #9a3412; }
@media (max-width: 640px) { .pt-pick .code { min-width: 0; } .pt-pick .btn { width: 100%; } }
.pt-next { border: 2px solid var(--primary); background: var(--primary-soft); border-radius: 12px; padding: 10px 12px; margin: 10px 0 8px; }
.pt-next small { color: var(--muted); font-size: 12px; } .pt-next > div:nth-child(2) { font-size: 17px; margin: 2px 0; }
.pt-scan { margin-bottom: 10px; } .pt-scan .input { min-height: 48px; font-size: 17px; }
