
.iasos-preptime-product{
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:4px 8px;
  margin-top:5px;
  border-radius:999px;
  background:#eef4f5;
  color:#31555e;
  font-size:12px;
  font-weight:800;
}
.iasos-preptime-queue{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:8px 10px;
  margin:6px 0 9px;
  border-radius:10px;
  background:#eef4f5;
  color:#31555e;
}
.iasos-preptime-queue>div{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.iasos-preptime-queue>div:last-child{
  text-align:right;
}
.iasos-preptime-queue span{
  font-size:11px;
  font-weight:700;
}
.iasos-preptime-queue strong{
  font-size:15px;
}
.iasos-preptime-queue[data-state="running"]{
  background:#eef4f5;
  color:#31555e;
}
.iasos-preptime-queue[data-state="over"]{
  background:#fff2df;
  color:#995300;
}
.iasos-preptime-queue[data-state="ready"]{
  background:#e8f7ee;
  color:#176a3a;
}

.iasos-preptime-queue{
  position:relative;
  grid-template-columns:1fr 1fr;
}
.iasos-delay-message{
  grid-column:1/-1;
  margin-top:2px;
  padding-top:6px;
  border-top:1px solid currentColor;
  border-top-color:color-mix(in srgb,currentColor 18%,transparent);
  font-size:12px;
  font-weight:900;
}
.iasos-preptime-queue[data-state="normal"]{
  background:#edf6f1;
  color:#245c44;
}
.iasos-preptime-queue[data-state="approaching"]{
  background:#fff8dc;
  color:#7b5a00;
}
.iasos-preptime-queue[data-state="late"]{
  background:#fff0dc;
  color:#995300;
}
.iasos-preptime-queue[data-state="very-late"]{
  background:#ffe4d3;
  color:#9f3f00;
}
.iasos-preptime-queue[data-state="critical"]{
  background:#ffe0e0;
  color:#a51f1f;
  animation:iasos-critical-pulse 1.25s infinite;
}
.iasos-preptime-queue[data-state="undefined"]{
  background:#eef1f3;
  color:#63717a;
}
.iasos-preptime-queue[data-state="ready"]{
  background:#e7f6ed;
  color:#176a3a;
}
.iasos-preptime-queue[data-state="ready-late"]{
  background:#fff0dc;
  color:#995300;
}
.iasos-preptime-queue[data-state="ready-very-late"]{
  background:#ffe4d3;
  color:#9f3f00;
}
.iasos-preptime-queue[data-state="ready-critical"]{
  background:#ffe0e0;
  color:#a51f1f;
}
.prep-card:has(.iasos-preptime-queue[data-state="late"]),
.prep-card:has(.iasos-preptime-queue[data-state="very-late"]),
.prep-card:has(.iasos-preptime-queue[data-state="critical"]){
  border-left-width:8px;
}
.prep-card:has(.iasos-preptime-queue[data-state="late"]){
  border-left-color:#e39a1c;
}
.prep-card:has(.iasos-preptime-queue[data-state="very-late"]){
  border-left-color:#e06a1b;
}
.prep-card:has(.iasos-preptime-queue[data-state="critical"]){
  border-left-color:#c72c2c;
}
@keyframes iasos-critical-pulse{
  50%{box-shadow:0 0 0 5px rgba(199,44,44,.13)}
}

.iasos-delay-summary{
  margin-left:auto;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.iasos-delay-summary span{
  background:#eef1f3;
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  font-weight:800;
}
.iasos-delay-summary strong{font-size:14px}
@media(max-width:700px){
  .iasos-delay-summary{
    width:100%;
    margin-left:0;
  }
}

.iasos-preptime-product[data-learned="1"]{
  background:#e8f4ff;
  color:#245d84;
  border:1px solid #b8d8ee;
}
.iasos-preptime-queue small{
  display:block;
  margin-top:2px;
  font-size:10px;
  opacity:.82;
}
