.lav-stack { display: grid; gap: 15px; }
.lav-form { max-width: 840px; }
.lav-span { grid-column: 1 / -1; }
.lav-table { overflow-x: auto; }
.lav-nowrap { white-space: nowrap; }
.lav-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lav-muted { color: var(--muted); }
.lav-inline { display: inline; }

.lav-nav-badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#submenus a { display: flex; align-items: center; gap: 8px; }

.lav-state {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    background: #e0f2fe;
    color: #0369a1;
}
.lav-state.recibida { background: #fef3c7; color: #92400e; }
.lav-state.lavado { background: #e0f2fe; color: #0369a1; }
.lav-state.planchado { background: #ede9fe; color: #5b21b6; }
.lav-state.lista { background: #dcfce7; color: #166534; }
.lav-state.retirada { background: #dbeafe; color: #1d4ed8; }

.lav-rows { margin: 14px 0 0; border: 1px solid var(--line); border-radius: 9px; min-width: 0; padding: 12px; }
.lav-rows legend { padding-inline: 6px; font-weight: 700; }
.lav-item-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; margin-bottom: 10px; }
.lav-item-row:last-child { margin-bottom: 0; }

.lav-balance {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    border-top: 1px solid var(--line);
    padding: 12px 0 0;
    margin-bottom: 0;
}
.lav-balance dt { color: var(--muted); font-size: 13px; }
.lav-balance dd { margin: 3px 0 0; font-weight: 600; }

.lav-form textarea {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 8px 10px;
    resize: vertical;
    font: inherit;
    color: var(--ink);
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
}

.lav-track-body { background: #eff6ff; }
.lav-track-wrap { max-width: 600px; margin: 0 auto; padding: 20px 14px 40px; display: grid; gap: 14px; }
.lav-track-head { display: flex; align-items: center; gap: 10px; }
.lav-track-head .brand-icon {
    width: 38px; height: 38px; border-radius: 11px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    display: grid; place-items: center; color: #fff;
}
.lav-track-head .brand-icon svg { width: 20px; height: 20px; color: #fff; }
.lav-track-head small { display: block; color: var(--muted); font-size: 12px; }
.lav-track-head a { margin-left: auto; }

.lav-stepper {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 0;
    margin: 16px 0 0;
}
.lav-stepper li { text-align: center; display: grid; justify-items: center; gap: 4px; color: var(--muted); }
.lav-stepper li span {
    width: 28px; height: 28px; border-radius: 50%;
    background: #e2e8f0; color: #475569; font-weight: 700; font-size: 13px;
    display: grid; place-items: center;
}
.lav-stepper li.done span { background: #2563eb; color: #fff; }
.lav-stepper li.current small { color: #1d4ed8; font-weight: 700; }

.lav-print main { max-width: 640px; margin: auto; padding: 20px; }
.lav-print-nav { margin-bottom: 16px; }
@media print {
    body.lav-print { background: white; color: #000; }
    .lav-print .panel { border: 0; box-shadow: none; padding: 0; }
    .lav-print-nav { display: none; }
}
