.pecta-tracking-account{
  margin:18px 0 24px;
  padding:18px;
  border:1px solid #dfe5ec;
  border-radius:12px;
  background:#fff;
  box-shadow:0 3px 12px rgba(13,35,64,.035);
}
.pecta-tracking-account__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}
.pecta-tracking-account__head h2{
  margin:2px 0 0!important;
  color:#0d2340;
  font-size:20px!important;
  line-height:1.2!important;
}
.pecta-tracking-account__eyebrow{
  display:block;
  color:#667085;
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.07em;
  line-height:1.2;
  text-transform:uppercase;
}
.pecta-tracking-account__summary{
  margin:5px 0 0!important;
  color:#617188;
  font-size:11.5px;
  line-height:1.45;
}
.pecta-tracking-account__count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  height:30px;
  padding:0 9px;
  border-radius:999px;
  background:#ffbd00;
  color:#0d2340;
  font-size:12px;
  font-weight:850;
}
.pecta-tracking-account.is-delivered .pecta-tracking-account__count{
  background:#e7f5eb;
  color:#267642;
}
.pecta-tracking-account__list{
  overflow:hidden;
  border:1px solid #e2e7ed;
  border-radius:9px;
  background:#fff;
}
.pecta-tracking-account__row{
  display:grid;
  grid-template-columns:minmax(105px,.75fr) minmax(190px,1.35fr) minmax(105px,.8fr) auto auto;
  align-items:center;
  gap:14px;
  min-height:74px;
  padding:11px 13px;
  border-bottom:1px solid #edf0f4;
  background:#fbfcfd;
}
.pecta-tracking-account__row:last-child{border-bottom:0}
.pecta-tracking-account__row:hover{background:#f8fafc}
.pecta-tracking-account__identity,
.pecta-tracking-account__number,
.pecta-tracking-account__date{
  min-width:0;
}
.pecta-tracking-account__identity>span,
.pecta-tracking-account__number>span,
.pecta-tracking-account__date>span{
  display:block;
  margin:0 0 3px;
  color:#7a8798;
  font-size:10px;
  font-weight:650;
  line-height:1.3;
}
.pecta-tracking-account__identity strong,
.pecta-tracking-account__date strong{
  display:block;
  color:#0d2340;
  font-size:12.5px;
  font-weight:800;
  line-height:1.35;
}
.pecta-tracking-account__number code{
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  color:#0d2340;
  font-size:12.5px;
  font-weight:700;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.pecta-tracking-account__number small{
  display:block;
  margin-top:3px;
  color:#68778a;
  font-size:10.5px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.pecta-tracking-account__status{
  display:flex;
  justify-content:flex-start;
}
.pecta-tracking-account__status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:4px 9px;
  border-radius:999px;
  background:#fff3d2;
  color:#7b5d08;
  font-size:10px;
  font-weight:800;
  line-height:1.2;
  white-space:nowrap;
}
.pecta-tracking-account__row.is-delivered .pecta-tracking-account__status-badge{
  background:#e7f5eb;
  color:#267642;
}
.pecta-tracking-account__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  margin:0;
  white-space:nowrap;
}
.pecta-tracking-account__actions .button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-height:32px!important;
  margin:0!important;
  padding:6px 10px!important;
  border-radius:6px!important;
  font-size:10.5px!important;
  font-weight:750!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.pecta-tracking-list{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  min-width:0;
  font-size:11px;
  line-height:1.25;
}
.pecta-tracking-list__summary{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  max-width:100%;
}
.pecta-tracking-list__summary strong{
  min-width:0;
  color:#0d2340;
  font-size:11.5px;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.pecta-tracking-list__state{
  display:inline-flex;
  align-items:center;
  min-height:20px;
  padding:2px 6px;
  border-radius:999px;
  background:#fff3d2;
  color:#7b5d08;
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
}
.pecta-tracking-list__state.is-delivered{
  background:#e7f5eb;
  color:#267642;
}
.pecta-tracking-list__number{
  display:block;
  max-width:100%;
  padding:0;
  border:0;
  background:transparent;
  color:#52657c;
  font-size:10.5px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.pecta-tracking-list__count{
  color:#667085;
  font-size:10.5px;
  white-space:nowrap;
}
.pecta-tracking-list__link{
  color:#0d2340!important;
  font-size:10.5px;
  font-weight:750;
  line-height:1.2;
  text-decoration:none!important;
  white-space:nowrap;
}
.pecta-tracking-list__link:hover{text-decoration:underline!important}
.pecta-tracking-list-empty{color:#98a2b3}

@media(max-width:900px){
  .pecta-tracking-account__row{
    grid-template-columns:minmax(100px,.75fr) minmax(170px,1.3fr) auto auto;
  }
  .pecta-tracking-account__date{display:none}
}
@media(max-width:680px){
  .pecta-tracking-account{margin:16px 0 20px;padding:14px}
  .pecta-tracking-account__row{
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px 12px;
    min-height:0;
    padding:12px;
  }
  .pecta-tracking-account__identity{grid-column:1}
  .pecta-tracking-account__status{grid-column:2;grid-row:1;justify-content:flex-end}
  .pecta-tracking-account__number{grid-column:1 / -1}
  .pecta-tracking-account__actions{grid-column:1 / -1;justify-content:flex-start}
  .pecta-tracking-account__actions .button{min-height:34px!important}
}

/* v1.2.2 — compact actions inside account shipment rows. */
.pecta-tracking-account__actions{
  gap:5px;
}
.pecta-tracking-account__actions .button{
  min-height:28px!important;
  padding:4px 8px!important;
  border-radius:5px!important;
  font-size:9.75px!important;
  font-weight:750!important;
  line-height:1.1!important;
}
@media(max-width:680px){
  .pecta-tracking-account__actions .button{
    min-height:30px!important;
    padding:5px 9px!important;
    font-size:10px!important;
  }
}
